{
  "openapi": "3.0.1",
  "info": {
    "title": "REGAFI · French Banks, PSPs & Insurers",
    "description": "Export licensed banks, payment-service agents and insurers from the official ACPR REGAFI register. SIREN, LEI, CIB, authorisations and mandates — one row per entity. Public register. No API key.",
    "version": "1.0",
    "x-build-id": "w9ScDiE2xahpldVbh"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/corent1robert~regafi-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-corent1robert-regafi-scraper",
        "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/corent1robert~regafi-scraper/runs": {
      "post": {
        "operationId": "runs-sync-corent1robert-regafi-scraper",
        "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/corent1robert~regafi-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-corent1robert-regafi-scraper",
        "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": [
              "catalog",
              "lookup",
              "monitor"
            ],
            "type": "string",
            "description": "**Catalog** — export everyone in a REGAFI category (best first run).\n\n**Lookup** — check whether SIRENs, CIB codes or LEIs are on the register (KYC).\n\n**Monitor** — compare today's register to your last run and list additions and removals.",
            "default": "catalog"
          },
          "categories": {
            "title": "REGAFI categories",
            "type": "array",
            "description": "Select one or more categories to export or monitor. **Payment service agents** is the largest list (~22k). **All banking** covers every bank and payment entity.",
            "items": {
              "type": "string",
              "enum": [
                "psp-agent",
                "payment-institution",
                "e-money",
                "credit-institution",
                "investment-firm",
                "bureau-de-change",
                "account-info",
                "financing-company",
                "credit-servicer",
                "financial-holding",
                "insurance-non-life",
                "insurance-life",
                "insurance-mixed",
                "insurance-reinsurance",
                "all-bank",
                "all-insurance"
              ],
              "enumTitles": [
                "Payment service agents (Agent PSP)",
                "Payment institutions",
                "Electronic money institutions",
                "Credit institutions",
                "Investment firms",
                "Bureaux de change",
                "Account information providers (PSIC)",
                "Financing companies",
                "Credit servicers",
                "Financial holding companies",
                "Non-life insurers",
                "Life insurers",
                "Composite insurers",
                "Reinsurers",
                "All banking & payment entities",
                "All insurance undertakings"
              ]
            }
          },
          "identifiers": {
            "title": "SIRENs, CIB codes, LEIs or names",
            "type": "array",
            "description": "One identifier per line — a 9-digit SIREN (e.g. `662042449`), a 5-digit CIB, a 20-character LEI, or a registered name.",
            "items": {
              "type": "string"
            }
          },
          "exportLevel": {
            "title": "How much detail per row?",
            "enum": [
              "register",
              "profile"
            ],
            "type": "string",
            "description": "**Register** — identity, SIREN, LEI, CIB, city and category. Fastest for large exports.\n\n**Profile** — adds street address, legal form, authorisations, mandates and passports.",
            "default": "register"
          },
          "filterDepartment": {
            "title": "Department code",
            "type": "string",
            "description": "Keep rows in this French department — matches the start of the zip code (e.g. `69` for Rhône)."
          },
          "filterZipPrefix": {
            "title": "Zip code prefix",
            "type": "string",
            "description": "Keep rows whose zip code starts with this prefix (e.g. `6900` for Lyon)."
          },
          "filterNameContains": {
            "title": "Name contains",
            "type": "string",
            "description": "Keep rows whose registered or trading name includes this text (case-insensitive)."
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 0,
            "type": "integer",
            "description": "Caps how many entities are exported per run. **20** is a safe first test. Set **0** for no limit (full category). Free plan: 20 / run.",
            "default": 0
          },
          "monitorSeedBaseline": {
            "title": "Seed monitor baseline on first run",
            "type": "boolean",
            "description": "Monitor: persist today's register without listing every entity as new.",
            "default": false
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Parallel register requests (1–20). API only.",
            "default": 8
          },
          "verboseLogs": {
            "title": "Verbose logs (API)",
            "type": "boolean",
            "description": "Enable technical debug lines in RUN_LOG. API only.",
            "default": false
          },
          "filterCountry": {
            "title": "Country (API)",
            "type": "string",
            "description": "Keep rows whose country matches this register label (e.g. FRANCE). API only."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}