{
  "openapi": "3.0.1",
  "info": {
    "title": "Sanctions Screening — OFAC, EU & UK Lists Bulk Name Check",
    "description": "Screen company and person names in bulk against the official OFAC SDN and Consolidated, EU and UK sanctions lists, downloaded fresh each run. Fuzzy match score, matched listed name, programme, entry ID and list date. List, CSV/Excel or dataset input. $1 per 1,000 names.",
    "version": "0.1",
    "x-build-id": "5f4e5d1bxRo5IIETp"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/actor-forge~sanctions-screening/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-actor-forge-sanctions-screening",
        "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/actor-forge~sanctions-screening/runs": {
      "post": {
        "operationId": "runs-sync-actor-forge-sanctions-screening",
        "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/actor-forge~sanctions-screening/run-sync": {
      "post": {
        "operationId": "run-sync-actor-forge-sanctions-screening",
        "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": {
          "names": {
            "title": "Names to screen",
            "type": "array",
            "description": "Company, organisation, vessel or person names, one per line. Latin, Cyrillic or Greek script. Or use a dataset / file below for large batches.",
            "items": {
              "type": "string"
            }
          },
          "lists": {
            "title": "Sanctions lists",
            "type": "array",
            "description": "Official lists to screen against, downloaded fresh from the publisher on every run. UN Security Council designations are included in the EU and UK lists (see the UN reference on each match).",
            "items": {
              "type": "string",
              "enum": [
                "OFAC_SDN",
                "OFAC_CONSOLIDATED",
                "EU",
                "UK"
              ],
              "enumTitles": [
                "OFAC SDN list (US Treasury)",
                "OFAC Consolidated non-SDN lists (US Treasury)",
                "EU Consolidated Financial Sanctions list",
                "UK Sanctions List (FCDO)"
              ]
            },
            "default": [
              "OFAC_SDN",
              "OFAC_CONSOLIDATED",
              "EU",
              "UK"
            ]
          },
          "minScore": {
            "title": "Minimum match score (50–100)",
            "minimum": 50,
            "maximum": 100,
            "type": "integer",
            "description": "Matches scoring below this are dropped. 100 = identical after normalisation, 99 = identical apart from legal forms (LLC, OOO, GmbH…), 95+ = strong match. Lower it (e.g. 80) for more recall on transliterated names; raise it (e.g. 92) for fewer false positives.",
            "default": 85
          },
          "entityType": {
            "title": "Screen against",
            "enum": [
              "any",
              "individual",
              "organisation"
            ],
            "type": "string",
            "description": "Only compare with listed individuals, or only with organisations (entities, vessels, aircraft), or everything.",
            "default": "any"
          },
          "maxMatchesPerName": {
            "title": "Max matches per name",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "Best-scoring matches to return for each name (matchCount still counts all above the minimum score).",
            "default": 5
          },
          "stripLegalForms": {
            "title": "Ignore company legal forms",
            "type": "boolean",
            "description": "Compare names without legal forms and filler words (LLC, Ltd, OOO, PJSC, GmbH, \"joint stock company\", holding, group…), so \"Rosneft Oil Co.\" matches \"OPEN JOINT-STOCK COMPANY ROSNEFT OIL COMPANY\".",
            "default": true
          },
          "datasetId": {
            "title": "Dataset",
            "type": "string",
            "description": "Optional. Screen a column of an Apify dataset (e.g. a supplier or customer list). Picking it here gives this run read access to it. Set the name column below."
          },
          "fileUrl": {
            "title": "File URL (CSV, JSON, Excel)",
            "type": "string",
            "description": "Optional. A public CSV/TSV, JSON, JSON Lines or XLSX file (first row = column names, up to 50 MB). Set the name column below."
          },
          "nameField": {
            "title": "Name column",
            "type": "string",
            "description": "For a dataset or file: the field / column holding the names to screen (dot paths like company.name work)."
          },
          "keepSourceFields": {
            "title": "Keep the source row",
            "type": "boolean",
            "description": "For a dataset or file: copy the whole original row into sourceRow, so results can be joined back to your records.",
            "default": false
          },
          "dedupe": {
            "title": "Skip duplicate names",
            "type": "boolean",
            "description": "Screen (and charge) each distinct name once; duplicates after normalisation are skipped for free.",
            "default": true
          },
          "maxNames": {
            "title": "Max names",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after screening this many names.",
            "default": 100000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}