{
  "openapi": "3.0.1",
  "info": {
    "title": "KYB Check: Company Verification, LEI & Sanctions Screening",
    "description": "KYB check and company verification in one call: official register record (IE, FR, NO, FI, CA), GLEIF LEI with parents and subsidiaries, and entity-only OFAC SDN, UK and EU sanctions screening with match confidence. Not legal advice.",
    "version": "1.0",
    "x-build-id": "UZlMccEqH73vdSj4w"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wooden_scanner_c1n~kyb-company-due-diligence/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wooden_scanner_c1n-kyb-company-due-diligence",
        "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/wooden_scanner_c1n~kyb-company-due-diligence/runs": {
      "post": {
        "operationId": "runs-sync-wooden_scanner_c1n-kyb-company-due-diligence",
        "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/wooden_scanner_c1n~kyb-company-due-diligence/run-sync": {
      "post": {
        "operationId": "run-sync-wooden_scanner_c1n-kyb-company-due-diligence",
        "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": {
          "companies": {
            "title": "Companies",
            "type": "array",
            "description": "One company per line. Use a name ('Ryanair Holdings plc'), a name with a country hint ('Danone | FR'), a register number as CC:number ('NO:923609016', 'FI:0112038-9', 'IE:249885', 'FR:552032534', 'CA:4261607', or any country via GLEIF, e.g. 'GB:00445790'), or a 20-character LEI. You get one report per line. If left empty, the three example companies are used.",
            "items": {
              "type": "string"
            }
          },
          "registerCountries": {
            "title": "Registers to search for names",
            "type": "array",
            "description": "Which official registers a name is searched in when it has no country hint and no LEI pointing to a register. Canada downloads a 100 MB file, so it is off by default; a '| CA' hint or 'CA:number' always works.",
            "items": {
              "type": "string",
              "enum": [
                "IE",
                "FR",
                "NO",
                "FI",
                "CA"
              ],
              "enumTitles": [
                "Ireland (CRO)",
                "France (Sirene / RNE)",
                "Norway (Brønnøysund)",
                "Finland (PRH / YTJ)",
                "Canada (Corporations Canada, federal)"
              ]
            },
            "default": [
              "IE",
              "FR",
              "NO",
              "FI"
            ]
          },
          "sanctionsLists": {
            "title": "Sanctions lists",
            "type": "array",
            "description": "Lists to screen against. Entity entries only; individuals are never screened or returned.",
            "items": {
              "type": "string",
              "enum": [
                "OFAC_SDN",
                "UK_SANCTIONS_LIST",
                "EU_FSF"
              ],
              "enumTitles": [
                "US OFAC SDN list",
                "UK Sanctions List (FCDO)",
                "EU consolidated financial sanctions list"
              ]
            },
            "default": [
              "OFAC_SDN",
              "UK_SANCTIONS_LIST",
              "EU_FSF"
            ]
          },
          "minMatchScore": {
            "title": "Minimum name-match score",
            "minimum": 70,
            "maximum": 100,
            "type": "integer",
            "description": "Name similarity (0-100) a list entry needs to be reported as a possible match. Lower finds more spelling variants but more false positives.",
            "default": 88
          },
          "screenParents": {
            "title": "Also screen direct and ultimate parent",
            "type": "boolean",
            "description": "Screens the GLEIF direct and ultimate parent companies too, and flags PARENT_SANCTIONS_MATCH.",
            "default": true
          },
          "includeChildren": {
            "title": "Include subsidiaries (GLEIF children)",
            "type": "boolean",
            "description": "Adds the count and a sample of direct subsidiaries and the count of all subsidiaries reported to GLEIF.",
            "default": true
          },
          "maxChildren": {
            "title": "Subsidiaries to list",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many direct subsidiaries to list in each report.",
            "default": 10
          },
          "includeInactive": {
            "title": "Match dissolved companies by name",
            "type": "boolean",
            "description": "Off: name searches only pick active companies. Register-number and LEI inputs always find dissolved companies (and flag them).",
            "default": false
          },
          "sanctionsCacheHours": {
            "title": "Reuse downloaded lists for (hours)",
            "minimum": 0,
            "maximum": 24,
            "type": "integer",
            "description": "The lists are downloaded from the official sources and cached in your account for this many hours. 0 always downloads fresh copies.",
            "default": 6
          },
          "maxCompanies": {
            "title": "Max companies per run",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Safety cap. You pay per report.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}