Menu

Get Danish company data (CVR) as JSON — and why the CVR number is the VAT number
📰

Get Danish company data (CVR) as JSON — and why the CVR number is the VAT number

DEV Community: api·MortenIms1982·about 1 hour ago
#rmRbmwyG
#devtoapi#devto#dev#country#number
Reading 0:00
15s threshold

If you work with Danish companies, you'll meet the CVR number fast — and one quirk saves a lot of confusion:

In Denmark, a company's 8-digit CVR number is also its VAT (moms) number , just prefixed with DK . So CVR 24256790 → VAT DK24256790 . One identifier, two jobs.

Danish company data comes from CVR (Det Centrale Virksomhedsregister) via Virk , run by the Danish Business Authority. Here's how to pull it as clean JSON.

One call

curl "https://www.globalentityapi.com/api/registry/search?country=Denmark&q=Novo%20Nordisk" \ -H "x-api-key: gea_live_…"

Enter fullscreen mode

Exit fullscreen mode

{ "mode" : "live" , "country" : "Denmark" , "source" : "cvr-virk" , "results" : [ { "name" : "NOVO NORDISK A/S" , "orgNr" : "24256790" , "status" : "Aktiv" , "orgForm" : "Aktieselskab" , "industry" : "Fremstilling af farmaceutiske præparater" , "city" : "Bagsværd" } ] }

Enter fullscreen mode

Exit fullscreen mode

Look up directly by CVR number the same way — just pass it as q :

curl…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.