{
  "openapi": "3.0.1",
  "info": {
    "title": "B2B Vendor KYB, LEI & OFAC Sanctions Screener",
    "description": "Screen B2B vendors, corporate LEIs, and executives across US Treasury OFAC SDN, Federal Export Watchlists, GLEIF LEI, and SEC EDGAR. Built for MCP AI agents and scheduled Make, n8n, and Zapier KYB onboarding, procurement, and sanctions compliance workflows.",
    "version": "0.0",
    "x-build-id": "OVjQBRcwuf8nBAHnY"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nathel-enterprise~b2b-vendor-kyb-sanctions-screener/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nathel-enterprise-b2b-vendor-kyb-sanctions-screener",
        "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/nathel-enterprise~b2b-vendor-kyb-sanctions-screener/runs": {
      "post": {
        "operationId": "runs-sync-nathel-enterprise-b2b-vendor-kyb-sanctions-screener",
        "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/nathel-enterprise~b2b-vendor-kyb-sanctions-screener/run-sync": {
      "post": {
        "operationId": "run-sync-nathel-enterprise-b2b-vendor-kyb-sanctions-screener",
        "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": {
          "entityQueries": {
            "title": "Vendor Names, 20-Char LEIs, Tickers or SEC CIKs (Batch KYB Mode)",
            "maxItems": 500,
            "type": "array",
            "description": "Optional list of B2B vendor legal names (for example 'Apple Inc.', 'Siemens AG'), 20-character ISO 17442 LEI codes ('HWUPKR0MPOU8FGXBT394'), US stock tickers, or 10-digit SEC CIKs to screen across OFAC SDN, 13 Federal Export/Debarment lists, GLEIF LEI, and SEC EDGAR. Up to 500 per run on paid plans; 25-record preview on Free plans. Leave empty to use Watchlist & Corporate Discovery Mode below.",
            "items": {
              "type": "string"
            }
          },
          "discoveryMode": {
            "title": "Watchlist or Corporate Registry Feed (Discovery Mode)",
            "enum": [
              "SANCTIONS_FEED_ALL",
              "OFAC_SDN_ONLY",
              "BIS_EXPORT_DEBARMENT",
              "GLEIF_ACTIVE_ENTITIES",
              "GLEIF_LAPSED_ENTITIES"
            ],
            "type": "string",
            "description": "Select which live federal sanctions watchlist or global GLEIF corporate registry feed to query when entityQueries is empty.",
            "default": "SANCTIONS_FEED_ALL"
          },
          "searchQuery": {
            "title": "Entity, Vessel, Executive or Industry Keyword (Discovery Mode)",
            "type": "string",
            "description": "Optional company name, executive surname, vessel/aircraft name, or keyword filter in Discovery Mode."
          },
          "countryFilter": {
            "title": "2-Letter ISO Country Code or Country Name (Discovery Mode)",
            "type": "string",
            "description": "Optional country filter (for example 'US', 'GB', 'DE', 'SG', 'AE', 'CN', 'IR', 'RU')."
          },
          "stateOrRegion": {
            "title": "US State or Sub-National Region Code (Discovery Mode)",
            "type": "string",
            "description": "Optional 2-letter US state or ISO region filter for GLEIF corporate discovery (for example 'CA', 'NY', 'TX', 'DE', 'FL')."
          },
          "programFilter": {
            "title": "Sanctions Program or List Keyword (Discovery Mode)",
            "type": "string",
            "description": "Optional sanctions program filter (for example 'CYBER2', 'SDGT', 'NPWMD', 'ENTITY LIST', 'RUSSIA', 'IRAN', 'FTO')."
          },
          "fuzzyMatchThreshold": {
            "title": "Sanctions Name-Match Sensitivity (70 to 100)",
            "minimum": 70,
            "maximum": 100,
            "type": "integer",
            "description": "Minimum normalized similarity score (70 to 100) required to flag a potential watchlist hit during vendor name screening. Default 88 balances high recall with low false positives.",
            "default": 88
          },
          "maxResults": {
            "title": "Maximum Screened Records",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum verified KYB or watchlist records to return per run (1 to 500 on paid plans; capped at 25 on Free plans).",
            "default": 25
          },
          "includeDeepEnrichment": {
            "title": "Include Parent Ownership Tree, BIC/SWIFT & SEC Profile (Add-On Event)",
            "type": "boolean",
            "description": "When true, enriches records with GLEIF Direct & Ultimate Parent corporate ownership hierarchy, SWIFT/BIC code mappings, SEC EDGAR SIC/ticker corporate filings, and full federal watchlist remarks/aliases (triggers deep-enrichment event).",
            "default": false
          },
          "alertWebhookUrl": {
            "title": "KYB / Sanctions Alert Webhook URL (Optional)",
            "type": "string",
            "description": "Optional HTTPS webhook URL (Slack, Microsoft Teams, Make, n8n, or Zapier) notified automatically when sanctions hits, lapsed LEIs, or status deltas occur."
          },
          "alertOnChangesOnly": {
            "title": "Webhook Alert on Sanctions Flags, Reviews or Deltas Only",
            "type": "boolean",
            "description": "When true (default), dispatches webhook notifications only when an entity is FLAGGED, REVIEW_REQUIRED, or changes status from the previous scheduled run.",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}