DEV Community

Cover image for One API for every European company register (instead of sixty-six integrations)
MortenIms1982
MortenIms1982

Posted on Edited on

One API for every European company register (instead of sixty-six integrations)

If you've ever had to pull official company data for more than one country, you know the pain: every national business register is its own little world.

  • πŸ‡³πŸ‡΄ Norway β†’ BrΓΈnnΓΈysund (BRREG) β€” great open API, Norwegian field names.
  • πŸ‡¬πŸ‡§ UK β†’ Companies House β€” REST, but its own auth and shapes.
  • πŸ‡©πŸ‡° Denmark β†’ CVR / Virk β€” where the CVR number is also the VAT number.
  • πŸ‡©πŸ‡ͺ Germany β†’ Handelsregister β€” HRB numbers, registering courts, open data via OffeneRegister.
  • …and 30+ more, each different.

Integrating each one means a new endpoint, a new data model, new auth, new edge cases β€” and ongoing maintenance every time a register changes. For a KYC/KYB or onboarding flow that needs pan-European coverage, that's dozens of separate integrations before you've shipped a feature.

The "one schema" approach

The fix is to put a normalization layer in front of all of them, so every register returns the same JSON. That's what GlobalEntity API does β€” one REST endpoint, 66 registers across 30+ countries, one schema.

curl "https://www.globalentityapi.com/api/registry/search?country=Norway&q=Equinor" \
  -H "x-api-key: gea_live_…"
Enter fullscreen mode Exit fullscreen mode
{
  "mode": "live",
  "country": "Norway",
  "source": "brreg",
  "results": [
    {
      "name": "EQUINOR ASA",
      "orgNr": "923609016",
      "status": "Active",
      "orgForm": "ASA",
      "city": "STAVANGER",
      "vat": true
    }
  ]
}
Enter fullscreen mode Exit fullscreen mode

Want Germany instead? Change one query parameter:

curl "https://www.globalentityapi.com/api/registry/search?country=Germany&q=SAP%20SE" \
  -H "x-api-key: gea_live_…"
Enter fullscreen mode Exit fullscreen mode

Same request shape, same response shape. Your parser doesn't care which country it is.

A tiny multi-country client

const COUNTRIES = ["Norway", "United Kingdom", "Denmark", "Germany"];

async function searchEverywhere(query, key) {
  const calls = COUNTRIES.map(async (country) => {
    const url = new URL("https://www.globalentityapi.com/api/registry/search");
    url.searchParams.set("country", country);
    url.searchParams.set("q", query);
    const res = await fetch(url, { headers: { "x-api-key": key } });
    const data = await res.json();
    return { country, results: data.results ?? [] };
  });
  return Promise.all(calls);
}
Enter fullscreen mode Exit fullscreen mode

Because every country returns the same fields, you can merge, rank and display results without per-country branches.

Where the data comes from

Directly from official national registers and open-data sources (plus the GLEIF LEI index), each under its own licence, with attribution retained on every record. It's not a scrape β€” it's the authoritative source, normalized.

When this is worth it

  • KYC / KYB & onboarding across multiple EU/EEA markets.
  • Supplier / counterparty screening where you don't control which country a company is in.
  • CRM / data enrichment β€” turn a company name into a verified legal entity with status, VAT and LEI.

Try it

Each register has a live demo (no signup) β€” start on the hub page and switch countries in the search box, or read the per-register guides for the UK, Denmark and Germany. There's a 7-day free trial, no card required.

Top comments (0)