Jsonpage API API

Company data API. It serves 14 countries (FR, BE, CH, GB, NO, FI, LV, IE, SE, EE, LT, AU, SG, JP) with one format, completes and checks form input (/v2/autocomplete, /v2/validate), verifies EORI customs numbers (/v2/eori), checks IBANs (/v2/iban/check), sums up the checks on a company in a KYB repor

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 16

GET /health/live Liveness check #
GET /health/ready Readiness check #
GET /health/sources State of the data #
GET /companies/{id} Look up a company by global identifier #
GET /companies/{id}/establishments List the establishments of a company #
GET /companies Search companies by name, or find a registry number in every country served #
POST /companies/batch Look up up to 100 companies in one call #
GET /monitors List the monitored companies #
PUT /monitors/{id} Start monitoring a company #
DELETE /monitors/{id} Stop monitoring a company #
GET /events List the detected events #
GET /autocomplete Suggest companies while the user types #
GET /validate Check a company identifier, a SIRET and a VAT number in one call #
GET /eori/{number} Check an EORI number #
POST /iban/check Check an IBAN #
POST /kyb KYB report on a company #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/jsonpage-com:jsonpage-api-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

jsonpage-com-api-openapi.json Raw ↑
{
  "openapi": "3.0.3",
  "info": {
    "title": "Jsonpage API",
    "version": "2.0.0",
    "description": "Company data API. It serves 14 countries (FR, BE, CH, GB, NO, FI, LV, IE, SE, EE, LT, AU, SG, JP) with one format, completes and checks form input (/v2/autocomplete, /v2/validate), verifies EORI customs numbers (/v2/eori), checks IBANs (/v2/iban/check), sums up the checks on a company in a KYB report (/v2/kyb), monitors companies (/v2/monitors, /v2/events) and delivers their changes as signed webhooks, described under x-webhooks since OpenAPI 3.0 has no webhooks section.",
    "x-description-fr": "API de données entreprises à prix fixe. L'API sert 14 pays (France, Belgique, Suisse, Royaume-Uni, Norvège, Finlande, Lettonie, Irlande, Suède, Estonie, Lituanie, Australie, Singapour, Japon) dans un seul format, avec l'autocomplétion et le contrôle de formulaires (/v2/autocomplete, /v2/validate), la surveillance d'entreprises (/v2/monitors, /v2/events) et des webhooks signés (x-webhooks). Authentification : en-tête X-API-Key. Les descriptions sont en anglais ; chaque route porte un résumé en français (x-summary-fr).",
    "termsOfService": "https://jsonpage.com/cgv",
    "contact": {
      "name": "Jsonpage",
      "url": "https://jsonpage.com/contact"
    },
    "license": {
      "name": "Proprietary",
      "url": "https://jsonpage.com/cgv"
    }
  },
  "servers": [
    {
      "url": "https://api.jsonpage.com/v2",
      "description": "Production"
    }
  ],
  "security": [
    {
      "ApiKey": []
    }
  ],
  "externalDocs": {
    "description": "Documentation (EN) / Documentation (FR)",
    "url": "https://jsonpage.com/docs"
  },
  "paths": {
    "/health/live": {
      "servers": [
        {
          "url": "https://api.jsonpage.com",
          "description": "Production (service health is served outside /v2)"
        }
      ],
      "get": {
        "summary": "Liveness check",
        "x-summary-fr": "Test de disponibilité du service.",
        "description": "Answers as soon as the service runs. No API key.",
        "operationId": "healthLive",
        "security": [],
        "responses": {
          "200": {
            "description": "The service answers",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "ok"
                      ]
                    }
                  }
                },
                "example": {
                  "status": "ok"
                }
              }
            }
          }
        }
      }
    },
    "/health/ready": {
      "servers": [
        {
          "url": "https://api.jsonpage.com",
          "description": "Production (service health is served outside /v2)"
        }
      ],
      "get": {
        "summary": "Readiness check",
        "x-summary-fr": "Test de disponibilité complète du service.",
        "description": "Tells whether the service is ready to serve data. No API key.",
        "operationId": "healthReady",
        "security": [],
        "responses": {
          "200": {
            "description": "Ready",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "ready"
                      ]
                    }
                  }
                },
                "example": {
                  "status": "ready"
                }
              }
            }
          },
          "503": {
            "description": "Not ready",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "enum": [
                        "data_unavailable",
                        "data_stale"
                      ]
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/health/sources": {
      "servers": [
        {
          "url": "https://api.jsonpage.com",
          "description": "Production (service health is served outside /v2)"
        }
      ],
      "get": {
        "summary": "State of the data",
        "x-summary-fr": "État des données et date de dernière mise à jour.",
        "description": "State of the data for each country served (ok, stale or refreshing), as shown on the status page. No API key. It names no provider and gives no date.",
        "operationId": "healthSources",
        "security": [],
        "responses": {
          "200": {
            "description": "State of the data of every country served",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "string",
                      "enum": [
                        "ok",
                        "degraded"
                      ]
                    },
                    "checked_at": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "sources": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "country": {
                            "type": "string"
                          },
                          "status": {
                            "type": "string",
                            "enum": [
                              "ok",
                              "stale",
                              "refreshing"
                            ]
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "status": "ok",
                  "checked_at": "2026-10-03T08:00:00Z",
                  "sources": [
                    {
                      "country": "FR",
                      "status": "ok"
                    },
                    {
                      "country": "BE",
                      "status": "ok"
                    },
                    {
                      "country": "GB",
                      "status": "refreshing"
                    }
                  ]
                }
              }
            }
          }
        }
      }
    },
    "/companies/{id}": {
      "get": {
        "summary": "Look up a company by global identifier",
        "x-summary-fr": "Fiche d'une entreprise à partir de son identifiant global (code pays, tiret, numéro national), avec blocs à la demande : adresse, TVA, signaux, annonces légales, sanctions, établissements.",
        "description": "Returns the base record, identical in every country, plus the blocks requested with include. France (FR), Belgium (BE), Switzerland (CH), Norway (NO), Finland (FI), Latvia (LV), Ireland (IE), Sweden (SE), Estonia (EE), Lithuania (LT), Australia (AU), Singapore (SG), Japan (JP) and the United Kingdom (GB) are available. Belgian enterprise numbers have 10 digits with a modulo-97 check (BE-0417497106); 0417.497.106, BE0417497106 and the old 9-digit form are accepted. Swiss identifiers are CH- and the 9 digits of the UID without the CHE prefix (CH-101374515 for CHE-101.374.515), whose last digit is a modulo-11 check (eCH-0097); CH-CHE-101.374.515 and CH-CHE-101.374.515 MWST are accepted. In Switzerland, activity and incorporated_on are null (not provided for Switzerland) and closed_on stays null for a closed entity. Norwegian identifiers are NO- and the 9 digits of the organisation number, whose last digit is a modulo-11 check (NO-923609016); 923 609 016 and NO923609016MVA are accepted after the prefix. Finnish identifiers are FI- and the 8 characters of the Business ID without the hyphen, with a modulo-11 check (FI-01120389 for 0112038-9); FI-0112038-9 is accepted. Latvian identifiers are LV- and the 11 digits of the registration number (LV-40003245752), which has no published check digit. In Latvia, activity is null; in Norway and Finland, closed_on stays null for an entity that left the register. Irish identifiers are IE- and the company number without leading zeros (IE-104547), which has no published check digit; the vat block is not available in Ireland. Swedish identifiers are SE- and the 10 digits of the organisation number, whose last digit is a Luhn check (SE-5560427220); 556042-7220, SE5560427220 and SE556042722001 are accepted. In Sweden, the activity code has no label and nace is null. Estonian identifiers are EE- and the 8 digits of the registry code, whose last digit is a check digit (EE-10137025); EE10137025 and the VAT number EE100210460 are accepted. In Estonia, nace is given for EMTAK 2008 codes only. Lithuanian identifiers are LT- and the 9 digits of the legal entity code, whose last digit is a check digit (LT-110053842); LT110053842 (the VAT number) is accepted. In Lithuania, activity is null and the address block is not available. Australian identifiers are AU- and the 11 digits of the ABN (AU-51824753556), with a modulo-89 check; 51 824 753 556 and ABN 51824753556 are accepted. In Australia, activity is null, there is no street address (state and postcode only) and a sole trader is served under its trading name. Singapore identifiers are SG- and the UEN (SG-196800306E for a company, SG-53012345A style for a business, SG-T05LL0003J style for another entity), whose last letter is a check letter; closed_on stays null. In Singapore, activity is the SSIC code and nace is null. Japanese identifiers are JP- and the 13 digits of the corporate number (JP-1180301018771), whose first digit is a check digit. In Japan, names and addresses are in Japanese, activity is null and incorporated_on is null.",
        "operationId": "getCompanyV2",
        "parameters": [
          {
            "$ref": "#/components/parameters/CompanyId"
          },
          {
            "$ref": "#/components/parameters/Include"
          },
          {
            "$ref": "#/components/parameters/Fields"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Company found",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              },
              "X-RateLimit-Remaining": {
                "$ref": "#/components/headers/RateLimitRemaining"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/V2Company"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                },
                "example": {
                  "data": {
                    "id": "FR-552032534",
                    "country": "FR",
                    "registry_id": "552032534",
                    "name": "DANONE",
                    "status": "active",
                    "legal_form": {
                      "code": "5599",
                      "label": "SA a conseil d'administration",
                      "scheme": "FR-CJ"
                    },
                    "activity": {
                      "nace": "70.10",
                      "code": "70.10Z",
                      "label": "Activites des sieges sociaux",
                      "scheme": "FR-NAF-REV2"
                    },
                    "naf_2027": {
                      "code": "70.10Y",
                      "label": "Activites des sieges sociaux",
                      "scheme": "FR-NAF-2025"
                    },
                    "incorporated_on": "1955-01-01",
                    "closed_on": null,
                    "updated_at": "2026-10-03T04:00:00Z",
                    "address": {
                      "line": "17 BOULEVARD HAUSSMANN",
                      "postal_code": "75009",
                      "city": "PARIS",
                      "country": "FR",
                      "formatted": "17 BOULEVARD HAUSSMANN 75009 PARIS"
                    },
                    "vat": {
                      "number": "FR27552032534",
                      "status": "valid",
                      "checked_at": "2026-09-20T10:12:00Z",
                      "source": "EU VAT check"
                    },
                    "e_invoicing": {
                      "applicable": true,
                      "reason": null,
                      "category": "GE",
                      "reception": {
                        "mandatory_from": "2026-09-01",
                        "in_force": true
                      },
                      "issuance": {
                        "mandatory_from": "2026-09-01",
                        "in_force": true
                      },
                      "directory_url": "https://facturation.chorus-pro.gouv.fr/annuaire"
                    }
                  },
                  "meta": {
                    "sources": [
                      {
                        "name": "Official company register: France",
                        "country": "FR",
                        "kind": "register",
                        "data_date": "2026-10-03"
                      }
                    ],
                    "includes": {
                      "address": "ok",
                      "vat": "ok",
                      "e_invoicing": "ok"
                    }
                  }
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/V2NotModified"
          },
          "400": {
            "$ref": "#/components/responses/V2BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/V2Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/V2Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/V2NotFound"
          },
          "429": {
            "$ref": "#/components/responses/V2TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/V2DataUnavailable"
          },
          "503": {
            "$ref": "#/components/responses/V2Busy"
          }
        },
        "x-codeSamples": [
          {
            "lang": "Shell",
            "label": "curl",
            "source": "curl -X GET \"https://api.jsonpage.com/v2/companies/FR-552032534\" \\\n  -H \"X-API-Key: $JSONPAGE_API_KEY\""
          },
          {
            "lang": "JavaScript",
            "label": "JavaScript",
            "source": "const res = await fetch(\"https://api.jsonpage.com/v2/companies/FR-552032534\", {\n  method: \"GET\",\n  headers: { \"X-API-Key\": process.env.JSONPAGE_API_KEY }\n});\nconsole.log(await res.json());"
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\n\nres = requests.request(\"GET\", \"https://api.jsonpage.com/v2/companies/FR-552032534\",\n    headers={\"X-API-Key\": os.environ[\"JSONPAGE_API_KEY\"]})\nprint(res.json())"
          },
          {
            "lang": "PHP",
            "label": "PHP",
            "source": "<?php\n$ch = curl_init(\"https://api.jsonpage.com/v2/companies/FR-552032534\");\ncurl_setopt_array($ch, [\n    CURLOPT_CUSTOMREQUEST => \"GET\",\n    CURLOPT_RETURNTRANSFER => true,\n    CURLOPT_HTTPHEADER => [\"X-API-Key: \" . getenv(\"JSONPAGE_API_KEY\")],\n]);\n$data = json_decode(curl_exec($ch), true);"
          },
          {
            "lang": "Ruby",
            "label": "Ruby",
            "source": "require \"net/http\"\nrequire \"json\"\n\nuri = URI(\"https://api.jsonpage.com/v2/companies/FR-552032534\")\nreq = Net::HTTP::Get.new(uri, \"X-API-Key\" => ENV[\"JSONPAGE_API_KEY\"])\nres = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(req) }\nputs JSON.parse(res.body)"
          }
        ]
      }
    },
    "/companies/{id}/establishments": {
      "get": {
        "summary": "List the establishments of a company",
        "x-summary-fr": "Liste des établissements d'une entreprise, page par page.",
        "description": "Pages through the establishments of a company. Pass the next value of a page as after to get the following page; next is null on the last page. Returns 404 not_available_in_country when the register has no establishments.",
        "operationId": "listEstablishmentsV2",
        "parameters": [
          {
            "$ref": "#/components/parameters/CompanyId"
          },
          {
            "$ref": "#/components/parameters/Limit"
          },
          {
            "$ref": "#/components/parameters/After"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "One page of establishments",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "$ref": "#/components/schemas/EstablishmentPage"
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                },
                "example": {
                  "data": {
                    "items": [
                      {
                        "registry_id": "55203253400646",
                        "name": "DANONE",
                        "head_office": true,
                        "status": "active",
                        "activity": {
                          "nace": "70.10",
                          "code": "70.10Z",
                          "label": "Activites des sieges sociaux",
                          "scheme": "FR-NAF-REV2"
                        },
                        "opened_on": "2008-01-01",
                        "address": {
                          "line": "17 BOULEVARD HAUSSMANN",
                          "postal_code": "75009",
                          "city": "PARIS",
                          "country": "FR",
                          "formatted": "17 BOULEVARD HAUSSMANN 75009 PARIS"
                        }
                      }
                    ],
                    "next": null
                  },
                  "meta": {
                    "sources": [
                      {
                        "name": "Official company register: France",
                        "country": "FR",
                        "kind": "register",
                        "data_date": "2026-10-03"
                      }
                    ]
                  }
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/V2NotModified"
          },
          "400": {
            "$ref": "#/components/responses/V2BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/V2Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/V2Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/V2NotFound"
          },
          "429": {
            "$ref": "#/components/responses/V2TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/V2DataUnavailable"
          },
          "503": {
            "$ref": "#/components/responses/V2Busy"
          }
        },
        "x-codeSamples": [
          {
            "lang": "Shell",
            "label": "curl",
            "source": "curl -X GET \"https://api.jsonpage.com/v2/companies/FR-552032534/establishments\" \\\n  -H \"X-API-Key: $JSONPAGE_API_KEY\""
          },
          {
            "lang": "JavaScript",
            "label": "JavaScript",
            "source": "const res = await fetch(\"https://api.jsonpage.com/v2/companies/FR-552032534/establishments\", {\n  method: \"GET\",\n  headers: { \"X-API-Key\": process.env.JSONPAGE_API_KEY }\n});\nconsole.log(await res.json());"
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\n\nres = requests.request(\"GET\", \"https://api.jsonpage.com/v2/companies/FR-552032534/establishments\",\n    headers={\"X-API-Key\": os.environ[\"JSONPAGE_API_KEY\"]})\nprint(res.json())"
          },
          {
            "lang": "PHP",
            "label": "PHP",
            "source": "<?php\n$ch = curl_init(\"https://api.jsonpage.com/v2/companies/FR-552032534/establishments\");\ncurl_setopt_array($ch, [\n    CURLOPT_CUSTOMREQUEST => \"GET\",\n    CURLOPT_RETURNTRANSFER => true,\n    CURLOPT_HTTPHEADER => [\"X-API-Key: \" . getenv(\"JSONPAGE_API_KEY\")],\n]);\n$data = json_decode(curl_exec($ch), true);"
          },
          {
            "lang": "Ruby",
            "label": "Ruby",
            "source": "require \"net/http\"\nrequire \"json\"\n\nuri = URI(\"https://api.jsonpage.com/v2/companies/FR-552032534/establishments\")\nreq = Net::HTTP::Get.new(uri, \"X-API-Key\" => ENV[\"JSONPAGE_API_KEY\"])\nres = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(req) }\nputs JSON.parse(res.body)"
          }
        ]
      }
    },
    "/companies": {
      "get": {
        "summary": "Search companies by name, or find a registry number in every country served",
        "x-summary-fr": "Recherche d'entreprises par nom, ou par numéro national dans tous les pays servis.",
        "description": "Give either q or registry_id; q takes precedence when both are given.\n\nWith q (name search), every word of 2 characters or more must appear in the company name, the last word as a prefix of 3 letters or more (\"dano\" finds DANONE). Case, accents and punctuation are ignored. Results come in this order: exact names first (legal forms such as SA, SAS, SARL, LTD or PLC are ignored when comparing, so \"danone\" finds DANONE first), then active companies, then companies before sole traders, then relevance. Very common words are served without relevance ranking after 400 ms, so that results stay fast. Without country, every country with a name index is searched. Results are base records, as returned by GET /v2/companies/{id}; include is not applied. The whole search counts as one request. Units whose publication is restricted (diffusion status P) have no name and cannot be found by name.\n\nWith registry_id, for clients that only know the national number: lists the companies of every country served that carry this number, usually one; an empty list if none, sorted by identifier.",
        "operationId": "searchCompaniesV2",
        "parameters": [
          {
            "$ref": "#/components/parameters/NameQuery"
          },
          {
            "$ref": "#/components/parameters/SearchCountry"
          },
          {
            "$ref": "#/components/parameters/SearchStatus"
          },
          {
            "$ref": "#/components/parameters/SearchLimit"
          },
          {
            "$ref": "#/components/parameters/RegistryId"
          },
          {
            "$ref": "#/components/parameters/IfNoneMatch"
          }
        ],
        "responses": {
          "200": {
            "description": "Matching companies (name search, best match first; registry_id, sorted by identifier)",
            "headers": {
              "ETag": {
                "$ref": "#/components/headers/ETag"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/V2Company"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                },
                "example": {
                  "data": [
                    {
                      "id": "FR-552032534",
                      "country": "FR",
                      "registry_id": "552032534",
                      "name": "DANONE",
                      "status": "active",
                      "legal_form": {
                        "code": "5599",
                        "label": "SA a conseil d'administration",
                        "scheme": "FR-CJ"
                      },
                      "activity": {
                        "nace": "70.10",
                        "code": "70.10Z",
                        "label": "Activites des sieges sociaux",
                        "scheme": "FR-NAF-REV2"
                      },
                      "incorporated_on": "1955-01-01",
                      "closed_on": null,
                      "updated_at": "2026-10-03T04:00:00Z"
                    }
                  ],
                  "meta": {
                    "sources": [
                      {
                        "name": "Official company register: France",
                        "country": "FR",
                        "kind": "register",
                        "data_date": "2026-10-03"
                      }
                    ]
                  }
                }
              }
            }
          },
          "304": {
            "$ref": "#/components/responses/V2NotModified"
          },
          "400": {
            "description": "query_too_short (no word of 2 characters or more in q) or invalid_parameter (neither q nor registry_id, or limit, status out of range)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V2Error"
                }
              }
            }
          },
          "401": {
            "$ref": "#/components/responses/V2Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/V2Forbidden"
          },
          "404": {
            "description": "country_not_supported (a country in country has no name index)",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V2Error"
                }
              }
            }
          },
          "429": {
            "$ref": "#/components/responses/V2TooManyRequests"
          },
          "500": {
            "$ref": "#/components/responses/V2DataUnavailable"
          },
          "503": {
            "description": "server_busy, or search_unavailable when no name index is loaded yet",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/V2Error"
                }
              }
            }
          }
        },
        "x-codeSamples": [
          {
            "lang": "Shell",
            "label": "curl",
            "source": "curl -X GET \"https://api.jsonpage.com/v2/companies?q=danone\" \\\n  -H \"X-API-Key: $JSONPAGE_API_KEY\""
          },
          {
            "lang": "JavaScript",
            "label": "JavaScript",
            "source": "const res = await fetch(\"https://api.jsonpage.com/v2/companies?q=danone\", {\n  method: \"GET\",\n  headers: { \"X-API-Key\": process.env.JSONPAGE_API_KEY }\n});\nconsole.log(await res.json());"
          },
          {
            "lang": "Python",
            "label": "Python",
            "source": "import os, requests\n\nres = requests.request(\"GET\", \"https://api.jsonpage.com/v2/companies?q=danone\",\n    headers={\"X-API-Key\": os.environ[\"JSONPAGE_API_KEY\"]})\nprint(res.json())"
          },
          {
            "lang": "PHP",
            "label": "PHP",
            "source": "<?php\n$ch = curl_init(\"https://api.jsonpage.com/v2/companies?q=danone\");\ncurl_setopt_array($ch, [\n    CURLOPT_CUSTOMREQUEST => \"GET\",\n    CURLOPT_RETURNTRANSFER => true,\n    CURLOPT_HTTPHEADER => [\"X-API-Key: \" . getenv(\"JSONPAGE_API_KEY\")],\n]);\n$data = json_decode(curl_exec($ch), true);"
          },
          {
            "lang": "Ruby",
            "label": "Ruby",
            "source": "require \"net/http\"\nrequire \"json\"\n\nuri = URI(\"https://api.jsonpage.com/v2/companies?q=danone\")\nreq = Net::HTTP::Get.new(uri, \"X-API-Key\" => ENV[\"JSONPAGE_API_KEY\"])\nres = Net::HTTP.start(uri.host, uri.port, use_ssl: true) { |http| http.request(req) }\nputs JSON.parse(res.body)"
          }
        ]
      }
    },
    "/companies/batch": {
      "post": {
        "summary": "Look up up to 100 companies in one call",
        "x-summary-fr": "Fiches de 100 entreprises au plus en un seul appel.",
        "description": "Each company counts as one request against the plan rate limit. The response keeps the requested order; each item has data, or error when the identifier is invalid or the company is not found. The body is a JSON object of at most 64 KB with ids and include only; any other field, or an unreadable body, returns 400 invalid_json.",
        "operationId": "batchCompaniesV2",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/BatchRequest"
              },
              "example": {
                "ids": [
                  "FR-552032534",
                  "FR-000000001"
                ],
                "include": [
                  "vat"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "One item per requested identifier, in order",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data",
                    "meta"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/BatchItem"
                      }
                    },
                    "meta": {
                      "$ref": "#/components/schemas/Meta"
                    }
                  }
                },
                "example": {
                  "data": [
                    {
                      "id": "FR-552032534",
                      "data": {
                        "id": "FR-552032534",
                        "country": "FR",
                        "registry_id": "552032534",
                        "name": "DANONE",
                        "status": "active",
                        "legal_form": {
                          "code": "5599",
                          "label": "SA a conseil d'administration",
                          "scheme": "FR-CJ"
                        },
                        "activity": {
                          "nace": "70.10",
                          "code": "70.10Z",
                          "label": "Activites des sieges sociaux",
                          "scheme": "FR-NAF-REV2"
                        },
                        "incorporated_on": "1955-01-01",
                        "c

# --- truncated at 32 KB (179 KB total) ---
# Full source: https://artifacts.apis.io/jsonpage-com/openapi/_original/jsonpage-com-api-openapi.json