{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Financial License Check: ESMA, EBA, MiCA, Warning Lists",
    "description": "Is this firm authorised in the EU, for what, since when, or on a regulator warning list? Checks banks, payment and e-money firms, investment firms, MiCA crypto providers and warning lists by name, LEI, registration number or domain. ALLOW / REVIEW / BLOCK verdict for KYB and AI payment agents.",
    "version": "0.1",
    "x-build-id": "u38IetIKSwO7F04od"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lerider~eu-licence-check/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lerider-eu-licence-check",
        "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/lerider~eu-licence-check/runs": {
      "post": {
        "operationId": "runs-sync-lerider-eu-licence-check",
        "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/lerider~eu-licence-check/run-sync": {
      "post": {
        "operationId": "run-sync-lerider-eu-licence-check",
        "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": {
          "name": {
            "title": "Firm name",
            "type": "string",
            "description": "Legal or trading name, e.g. 'Mollie B.V.'. Legal forms (B.V., GmbH, Ltd...) and accents are normalised."
          },
          "lei": {
            "title": "LEI",
            "type": "string",
            "description": "20-character Legal Entity Identifier. Strongest match key; the legal name is also looked up at GLEIF (CC0) unless resolve_lei is off."
          },
          "reg_number": {
            "title": "Registration number",
            "type": "string",
            "description": "The regulator's or business register's number as published in the register (e.g. DNB 'F0038', ECB RIAD code, SIREN for AMF PSAN)."
          },
          "country": {
            "title": "Home country",
            "type": "string",
            "description": "ISO 3166 alpha-2 (NL, DE, FR...). Lowers name-match confidence for firms from other countries (passported firms excepted)."
          },
          "domain": {
            "title": "Website, domain or e-mail",
            "type": "string",
            "description": "The domain you are dealing with (https://example.com, example.com or someone@example.com). Matched against warning lists and register websites; look-alike domains are flagged."
          },
          "claimed_licence": {
            "title": "Claimed licence",
            "type": "string",
            "description": "What the firm says it is, e.g. 'payment institution NL', 'e-money', 'bank', 'MiCA CASP', 'investment firm DE'. Types we do not cover (insurance, consumer credit...) return not_covered."
          },
          "as_of": {
            "title": "As of date",
            "type": "string",
            "description": "YYYY-MM-DD. Status on that date, from the registers' own authorisation/withdrawal dates and our recorded history. Default: today."
          },
          "entities": {
            "title": "Batch: entities",
            "type": "array",
            "description": "A list of {name, lei, reg_number, country, domain, claimed_licence, as_of}. Max 500. Top-level as_of applies to all items that do not set one."
          },
          "refresh": {
            "title": "Refresh sources live",
            "enum": [
              "auto",
              "never",
              "always"
            ],
            "type": "string",
            "description": "The bundled data is rebuilt every day at about 11:15 Amsterdam time from our daily copies of each register. 'auto' (default) also fetches any source older than max_age_hours live from the official file at run start (adds 5-60 s when needed); 'never' uses the bundled data only; 'always' fetches every source live.",
            "default": "auto"
          },
          "max_age_hours": {
            "title": "Max data age (hours)",
            "minimum": 1,
            "type": "integer",
            "description": "With refresh 'auto': sources whose data_as_of is older than this many hours are fetched live (default 48).",
            "default": 48
          },
          "resolve_lei": {
            "title": "Resolve LEI at GLEIF",
            "type": "boolean",
            "description": "Look up the LEI's legal name at GLEIF so registers that list the firm without its LEI still match.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}