{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Sanctions Screening — Fuzzy Name Check (EU, UN, UK)",
    "description": "Screen company and person names against the official EU Consolidated Financial Sanctions List, plus optional UN and UK lists. Fuzzy scores, aliases, programme and legal act. Schedule export mode with only-changes to pay only for deltas.",
    "version": "0.1",
    "x-build-id": "7NFaA0iZjEMEYWWNC"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/icarodata~eu-sanctions-screening/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-icarodata-eu-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/icarodata~eu-sanctions-screening/runs": {
      "post": {
        "operationId": "runs-sync-icarodata-eu-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/icarodata~eu-sanctions-screening/run-sync": {
      "post": {
        "operationId": "run-sync-icarodata-eu-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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "screen",
              "export"
            ],
            "type": "string",
            "description": "'screen' checks your names and returns one row per name. 'export' returns the sanctions records themselves (full list or only changes since the previous export).",
            "default": "screen"
          },
          "names": {
            "title": "Names to screen",
            "type": "array",
            "description": "Company or person names, one per line. Latin, Cyrillic, Arabic and other scripts are transliterated before matching.",
            "items": {
              "type": "string"
            }
          },
          "entities": {
            "title": "Entities with details (optional)",
            "type": "array",
            "description": "Optional richer records: [{\"id\": \"cust-1\", \"name\": \"...\", \"type\": \"person|entity\", \"birthDate\": \"1970-01-31\", \"country\": \"RU\", \"identifier\": \"IMO 9123456 or registration number\"}]. Birth year and country refine the score; an exact identifier (passport, registration, IMO number) is a 100 match.",
            "default": []
          },
          "lists": {
            "title": "Sanctions lists",
            "type": "array",
            "description": "EU is always the core list. UN (Security Council Consolidated List) and UK (FCDO UK Sanctions List) are optional official sources.",
            "items": {
              "type": "string",
              "enum": [
                "EU",
                "UN",
                "UK"
              ],
              "enumTitles": [
                "EU Consolidated Financial Sanctions List",
                "UN Security Council Consolidated List",
                "UK Sanctions List (FCDO)"
              ]
            },
            "default": [
              "EU"
            ]
          },
          "threshold": {
            "title": "Match threshold (0-100)",
            "minimum": 50,
            "maximum": 100,
            "type": "integer",
            "description": "Minimum fuzzy score to report a potential match. 85 is a balanced default; lower it (80) for more recall, raise it (90+) for fewer false positives.",
            "default": 85
          },
          "strongMatchThreshold": {
            "title": "Strong match threshold",
            "minimum": 50,
            "maximum": 100,
            "type": "integer",
            "description": "Score from which a match is labelled 'strong_match' instead of 'potential_match'.",
            "default": 95
          },
          "maxMatchesPerName": {
            "title": "Max matches per name",
            "minimum": 1,
            "maximum": 25,
            "type": "integer",
            "description": "How many candidate designations to return for each screened name (best first).",
            "default": 5
          },
          "entityType": {
            "title": "Entity type",
            "enum": [
              "any",
              "person",
              "entity"
            ],
            "type": "string",
            "description": "Restrict matches (or the export) to persons or to entities (companies, organisations, vessels).",
            "default": "any"
          },
          "onlyMatches": {
            "title": "Only output names with matches",
            "type": "boolean",
            "description": "If on, clean names are not written to the dataset (they are still screened and billed).",
            "default": false
          },
          "onlyChanges": {
            "title": "Export: only changes since last export",
            "type": "boolean",
            "description": "Export mode only. Returns added, modified and removed designations compared with the previous export with the same settings (state kept in a named key-value store in your account). The first run returns a baseline.",
            "default": false
          },
          "programmes": {
            "title": "Export: programmes / regimes",
            "type": "array",
            "description": "Export mode only. Optional EU programme codes (RUS, UKR, BLR, IRN, SYR, PRK, TERR...), UN list types or words from a UK regime name.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "maxRecords": {
            "title": "Export: maximum records",
            "minimum": 0,
            "type": "integer",
            "description": "Export mode only. 0 means no limit.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}