{
  "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": "8lZ6BoZP3oP3dJoYe"
  },
  "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. Matching ignores case, accents, punctuation, titles and word order — `PETROV, Ivan` finds `Iván Petrov`. Aliases are checked too.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "lists": {
            "title": "Which authorities",
            "type": "array",
            "description": "Leave empty for all three — that is the point of this Actor.",
            "items": {
              "type": "string",
              "enum": [
                "OFAC",
                "EU",
                "UN"
              ],
              "enumTitles": [
                "US Treasury OFAC",
                "European Union",
                "UN Security Council"
              ]
            },
            "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}