{
  "openapi": "3.0.1",
  "info": {
    "title": "OFAC Sanctions Screening API: SDN Sanctions List Search, EU, UN",
    "description": "OFAC SDN, EU and UN sanctions screening in one feed: 26,633 entries, not the 19,388 US-only ones. Cross-list flags show who is listed by two or more. OFAC sanctions screening tool with OFAC SDN list search, EU sanctions list and UN sanctions list download, sanctions database for AML.",
    "version": "0.1",
    "x-build-id": "5yqrdvxhvMJxwI03i"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/snow_leo_data~sanctions-screening-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-snow_leo_data-sanctions-screening-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/snow_leo_data~sanctions-screening-api/runs": {
      "post": {
        "operationId": "runs-sync-snow_leo_data-sanctions-screening-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/snow_leo_data~sanctions-screening-api/run-sync": {
      "post": {
        "operationId": "run-sync-snow_leo_data-sanctions-screening-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchNames": {
            "title": "Screen these names",
            "type": "array",
            "description": "Paste the names you need to check, one per line: people or companies. Matching ignores case, accents, punctuation, titles, word order and legal suffixes (LLC, Ltd, OOO, PJSC, GmbH), reads Cyrillic as Latin and forgives common transliteration variants and typos - `Putin`, `Poutine` and the Cyrillic spelling all find `Vladimir PUTIN`; `OOO Rosneft` finds `ROSNEFT OIL COMPANY`. Every alias is checked too. Each hit says which name it matched, how well (`match_score`) and how (`match_type`). A name with no hit is simply absent from the dataset and costs nothing - the run log and the REPORT record list it as CLEAR.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "matchThreshold": {
            "title": "Match strictness",
            "minimum": 0,
            "maximum": 100,
            "type": "number",
            "description": "Minimum match score from 0 to 1 (85 or 85% also work) for a listed record to be returned for a name. 1 = only identical names after normalisation; 0.85 (default) also returns close spellings and records whose name contains yours; lower it to catch weaker partial matches. Records are returned best score first.",
            "default": 0.85
          },
          "maxMatchesPerName": {
            "title": "Max records per screened name",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Upper bound on how many listed records one screened name may return, best score first - a very common surname cannot flood the dataset. Default 25.",
            "default": 25
          },
          "lists": {
            "title": "Which authorities",
            "type": "array",
            "description": "Leave empty for all three - that is the point of this Actor. Pick from the list or type it: OFAC, EU, UN, or in words (ofac sdn, European Union, UN Security Council, all).",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "OFAC",
                "EU",
                "UN"
              ]
            },
            "default": []
          },
          "multiListOnly": {
            "title": "Only sanctioned by more than one authority",
            "type": "boolean",
            "description": "4,370 of the 26,633 entries appear on at least two lists. An entity sanctioned by several governments is a different risk from one flagged by a single agency.",
            "default": false
          },
          "allThreeOnly": {
            "title": "Only sanctioned by all three",
            "type": "boolean",
            "description": "1,693 entries are on the US, EU and UN lists at once.",
            "default": false
          },
          "minLists": {
            "title": "On at least this many lists",
            "minimum": 0,
            "maximum": 3,
            "type": "integer",
            "description": "1, 2 or 3.",
            "default": 0
          },
          "entityTypes": {
            "title": "Entity type",
            "type": "array",
            "description": "As each list spells it: `Individual`, `Entity`, `Vessel`, `Aircraft`, `person`, `enterprise`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Matched against citizenship and country fields, e.g. `Iran`, `Russia`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "programs": {
            "title": "Sanctions programmes",
            "type": "array",
            "description": "Matched against the programme or regulation name, e.g. `UKRAINE-EO13662`, `SDGT`, `Al-Qaida`.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Must contain any of",
            "type": "array",
            "description": "Free-text match across name, aliases, programmes and remarks.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Must not contain",
            "type": "array",
            "description": "Drops a record if any of these appears in its name, aliases, programmes or remarks.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "withBirthDateOnly": {
            "title": "Only records with a date of birth",
            "type": "boolean",
            "description": "Useful when you need a second identifier to avoid false positives on common names.",
            "default": false
          },
          "withIdOnly": {
            "title": "Only records with a document number",
            "type": "boolean",
            "description": "Passport, tax or registration numbers, where the list publishes them.",
            "default": false
          },
          "includeAliases": {
            "title": "Include aliases",
            "type": "boolean",
            "description": "Alternative spellings as published. The largest field on many records.",
            "default": true
          },
          "includeRemarks": {
            "title": "Include remarks",
            "type": "boolean",
            "description": "The free-text note each authority attaches.",
            "default": true
          },
          "compactOutput": {
            "title": "Compact output",
            "type": "boolean",
            "description": "9 core fields only — for screening pipelines and AI agents.",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "Drop empty fields",
            "type": "boolean",
            "description": "Leave out what the authority did not publish.",
            "default": false
          },
          "onlyNew": {
            "title": "Only records not seen before",
            "type": "boolean",
            "description": "For schedules. Delivered entries are remembered in a named store that survives runs, so a daily run returns — and charges for — only additions and changes.",
            "default": false
          },
          "emitUnchanged": {
            "title": "Also return unchanged records",
            "type": "boolean",
            "description": "Off by default: an unchanged record is something you already paid for.",
            "default": false
          },
          "maxItems": {
            "title": "Max records",
            "minimum": 0,
            "type": "integer",
            "description": "0 = no limit — but a run with 0 AND no filters at all is treated as a trial and stops at 500 records, with that stated in the run log. Set any filter, or a number here, to go past it. The form starts at a small number so a first run is quick and cheap.",
            "default": 0
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}