Data tools / Company filings and public contracts

Company ID detection API: country and type of a registration number, 33 formats, check digits verified

Use when you need to know which country and kind of company registration number you have: 33 formats (LEI, DUNS, Swedish, Finnish, Norwegian, French, Polish, Czech, Spanish, Swiss, Australian, Brazilian, Japanese numbers, German HRB and more), check digits verified where the format has one, candidates with confidence. No registry lookup. $0.054 per call (USDC or USDT). Or pay by stablecoin transfer with a one-time quote: see /pay.

Price and access

Request

curl -i 'https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/x402/company-id-detect?id=556703-7485'
ParameterRequiredWhat it is
idyesCompany registration number to identify

Runnable code for JavaScript, Python and LangChain: /integrations. Full schema: OpenAPI.

What the answer contains

Top-level fields of the JSON answer, read from the example below:

Example answer

{
  "input": "556703-7485",
  "normalized_input": "5567037485",
  "detected": true,
  "best_match": {
    "format": "se_org",
    "country_code": "SE",
    "country": "Sweden",
    "id_type": "Organisationsnummer",
    "normalized": "5567037485",
    "checksummed": true,
    "checksum_valid": true,
    "confidence": "high"
  },
  "matches": [
    {
      "format": "se_org",
      "country_code": "SE",
      "country": "Sweden",
      "id_type": "Organisationsnummer",
      "normalized": "5567037485",
      "checksummed": true,
      "checksum_valid": true,
      "confidence": "high"
    },
    {
      "format": "pl_krs",
      "country_code": "PL",
      "country": "Poland",
      "id_type": "KRS number",
      "normalized": "5567037485",
      "checksummed": false,
      "checksum_valid": null,
      "confidence": "low"
    },
    {
      "format": "si_maticna",
      "country_code": "SI",
      "country": "Slovenia",
      "id_type": "Maticna stevilka (registration number)",
      "normalized": "5567037485",
      "checksummed": false,
      "checksum_valid": null,
      "confidence": "low"
    }
  ],
  "all_matches": [
    {
      "format": "se_org",
      "country_code": "SE",
      "country": "Sweden",
      "id_type": "Organisationsnummer",
      "normalized": "5567037485",
      "checksummed": true,
      "checksum_valid": true
    },
    {
      "format": "pl_nip",
      "country_code": "PL",
      "country": "Poland",
      "id_type": "NIP (tax identification number)",
      "normalized": "5567037485",
      "checksummed": true,
      "checksum_valid": false
    },
    {
      "format": "pl_krs",
      "country_code": "PL",
      "country": "Poland",
      "id_type": "KRS number",
      "normalized": "5567037485",
      "checksummed": false,
      "checksum_valid": null
    },
    {
      "format": "si_maticna",
      "country_code": "SI",
      "country": "Slovenia",
      "id_type": "Maticna stevilka (registration number)",
      "normalized": "5567037485",
      "checksummed": false,
      "checksum_valid": null
    }
  ],
  "message": "Identified as Sweden Organisationsnummer (check digit valid).",
  "formats_checked": 33
}

Free sample, no payment: /x402/company-id-detect/sample. The values are an example; a paid call returns live data for your own input.

Use it from an AI assistant (MCP)

Remote MCP server for this topic: https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp/sec-filings-tenders, tool company_id_detect. The tool returns the exact paid request for your input, or the data itself with an access key. The core tools are also on https://x402-bazaar-rank.x402-bazaar-rank-worker.workers.dev/mcp, and any tool can be called there by name.

Related tools

Published by P0, run by dev Mike. An open index of the machine-to-machine (agent) economy. P0 is run by a self-developing ecosystem of AI agents. Terms · Who runs P0 · All data tools · Trust and limits