API BCE ondernemingen: fiche, adres en NACE-activiteiten
Ondernemings-endpoints van API BCE: fiche per KBO-nummer, zetel, NACE-activiteiten, contacten, benamingen, vestigingen, jaarrekeningen en bestuurders.
Endpoints voor de resource Onderneming. Alle calls vereisen authenticatie en geven de standaard JSON-envelope terug.
Basis-URL: https://companybelgium.be/api/v2 · Authenticatie
Retrieve enterprise details#
Full record for a single enterprise: name, status, VAT number, juridical form, start date, registered office, contacts, activities, establishments and denominations. Fields without a value are omitted.
Parameters
| Naam | In/Type | Verplicht | Omschrijving |
|---|---|---|---|
num | path string | Verplicht | Enterprise number (BCE/KBO), e.g. 1033.022.383 or BE1033022383. Dots optional. |
Verzoek
curl https://companybelgium.be/api/v2/enterprise/1033.022.383 \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Antwoord
{
"success": true,
"data": {
"enterpriseNumber": "1033.022.383",
"vatNumber": "BE 1033.022.383",
"isVatLiable": true,
"name": "ESPERO-SOFT INFORMATIQUES",
"status": "Active",
"statusCode": "AC",
"juridicalSituationCode": "...",
"inDistress": "...",
"type": "Personne morale",
"typeCode": "2",
"juridicalForm": "Société à responsabilité limitée",
"juridicalFormCode": "610",
"startDate": "...",
"address": "Rue de la Colonne 1A, 1080 Molenbeek-Saint-Jean",
"addressDetail": {
"street": "Rue de la Colonne",
"houseNumber": "1A",
"zipcode": "1080",
"city": "Molenbeek-Saint-Jean",
"country": "BE",
"municipalityFr": "Molenbeek-Saint-Jean",
"abroad": false
},
"phone": "...",
"email": "...",
"website": "...",
"contactSources": {
"email": "...",
"phone": "...",
"mobile": "...",
"website": "..."
},
"activities": [
{
"naceCode": "...",
"description": "...",
"classification": "MAIN",
"naceVersion": "..."
}
],
"establishments": [
{
"establishmentNumber": "...",
"name": "...",
"address": "...",
"city": "...",
"startDate": "..."
}
],
"denominations": [
{
"type": "Denomination officielle",
"language": "...",
"value": "ESPERO-SOFT INFORMATIQUES"
}
],
"lastUpdate": "..."
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Dit verzoek proberen
List all enterprise activities#
NACE activities registered for the enterprise: main activities, then secondary ones (up to 20), with the NACE version of each code.
Parameters
| Naam | In/Type | Verplicht | Omschrijving |
|---|---|---|---|
num | path string | Verplicht | Enterprise number. |
Verzoek
curl https://companybelgium.be/api/v2/enterprise/1033.022.383/activities \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Antwoord
{
"success": true,
"data": {
"main": [
{
"naceCode": "...",
"description": "...",
"classification": "MAIN",
"naceVersion": "..."
}
],
"secondary": [
{
"naceCode": "...",
"description": "...",
"classification": "...",
"naceVersion": "..."
}
],
"total": "..."
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Dit verzoek proberen
Retrieve the registered office address#
The current registered office (siège social) of the enterprise.
Parameters
| Naam | In/Type | Verplicht | Omschrijving |
|---|---|---|---|
num | path string | Verplicht | Enterprise number. |
Verzoek
curl https://companybelgium.be/api/v2/enterprise/1033.022.383/address \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Antwoord
{
"success": true,
"data": {
"formatted": "Rue de la Colonne 1A, 1080 Molenbeek-Saint-Jean",
"detail": {
"street": "Rue de la Colonne",
"houseNumber": "1A",
"zipcode": "1080",
"city": "Molenbeek-Saint-Jean",
"country": "BE",
"municipalityFr": "Molenbeek-Saint-Jean",
"abroad": false
}
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Dit verzoek proberen
Retrieve contact information#
Phone, mobile, email, fax and website for the enterprise; null when unknown. Requires the enterprise:contact scope for OAuth applications.
Parameters
| Naam | In/Type | Verplicht | Omschrijving |
|---|---|---|---|
num | path string | Verplicht | Enterprise number. |
Verzoek
curl https://companybelgium.be/api/v2/enterprise/1033.022.383/contact \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Antwoord
{
"success": true,
"data": {
"phone": "...",
"mobile": "...",
"email": "...",
"fax": "...",
"website": "..."
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Dit verzoek proberen
List all enterprise denominations#
Every registered name: legal name, abbreviation and commercial names, in all languages.
Parameters
| Naam | In/Type | Verplicht | Omschrijving |
|---|---|---|---|
num | path string | Verplicht | Enterprise number. |
Verzoek
curl https://companybelgium.be/api/v2/enterprise/1033.022.383/denominations \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Antwoord
{
"success": true,
"data": [
{
"type": "Denomination officielle",
"language": "...",
"value": "ESPERO-SOFT INFORMATIQUES"
}
],
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Dit verzoek proberen
Retrieve a specific denomination#
A single denomination filtered by language (FR, NL, DE, EN) and type. The type is matched, case-insensitively, against the type label of each denomination.
Parameters
| Naam | In/Type | Verplicht | Omschrijving |
|---|---|---|---|
num | path string | Verplicht | Enterprise number. |
language | path string | Verplicht | FR | NL | DE | EN |
type | path string | Verplicht | short | commercial, or a fragment of the type label (e.g. officielle). |
Verzoek
curl https://companybelgium.be/api/v2/enterprise/1033.022.383/denomination/FR/officielle \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Antwoord
{
"success": true,
"data": {
"type": "Denomination officielle",
"language": "...",
"value": "ESPERO-SOFT INFORMATIQUES"
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Dit verzoek proberen
List attached establishments#
All establishment units (unités d’établissement) linked to the enterprise.
Parameters
| Naam | In/Type | Verplicht | Omschrijving |
|---|---|---|---|
num | path string | Verplicht | Enterprise number. |
Verzoek
curl https://companybelgium.be/api/v2/enterprise/1033.022.383/establishments \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Antwoord
{
"success": true,
"data": {
"total": "...",
"items": [
{
"establishmentNumber": "...",
"name": "...",
"address": "...",
"city": "...",
"startDate": "..."
}
]
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Dit verzoek proberen
Short financial summary#
Annual accounts from the NBB Central Balance Sheet Office (CBSO): company size and age, the multi-year series, per-year ratios, and deposits only available as PDF.
Parameters
| Naam | In/Type | Verplicht | Omschrijving |
|---|---|---|---|
num | path string | Verplicht | Enterprise number. |
years | query integer | optioneel | Number of fiscal years (1 to 10, default 5). |
Verzoek
curl https://companybelgium.be/api/v2/enterprise/1033.022.383/financial \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Antwoord
{
"success": true,
"data": {
"enterpriseNumber": "...",
"enterpriseName": "...",
"currency": "...",
"companySize": {
"size": "...",
"criteria": {
"totalAssets": "...",
"turnover": "...",
"employees": "..."
},
"microCriteriaCount": "...",
"smallCriteriaCount": "..."
},
"companyAgeYears": "...",
"yearsRequested": 5,
"yearsAvailable": "...",
"yearsWithXbrl": "...",
"latest": {
"year": "...",
"profitLoss": "...",
"turnover": "...",
"equity": "...",
"grossMargin": "...",
"totalAssets": "...",
"debts": "...",
"employees": "...",
"solvencyRatio": "..."
},
"series": [
{
"year": "...",
"exerciseStart": "...",
"exerciseEnd": "...",
"source": "...",
"profitLoss": "...",
"turnover": "...",
"equity": "...",
"grossMargin": "...",
"totalAssets": "...",
"debts": "...",
"employees": "..."
}
],
"ratios": [
{
"year": "...",
"solvencyRatio": "...",
"debtToEquityRatio": "...",
"netMarginRatio": "...",
"returnOnEquityRatio": "..."
}
],
"latestRatio": {
"year": "...",
"solvencyRatio": "...",
"debtToEquityRatio": "...",
"netMarginRatio": "...",
"returnOnEquityRatio": "..."
},
"pdfOnlyDeposits": [
{
"year": "...",
"reference": "...",
"pdfDownloadPath": "..."
}
]
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Dit verzoek proberen
Beneficial owners and officers#
Directors, legal representatives and UBO (beneficial owners) extracted from the Moniteur Belge / Belgisch Staatsblad.
Parameters
| Naam | In/Type | Verplicht | Omschrijving |
|---|---|---|---|
num | path string | Verplicht | Enterprise number. |
Verzoek
curl https://companybelgium.be/api/v2/enterprise/1033.022.383/roles \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Antwoord
{
"success": true,
"data": {
"enterpriseNumber": "1033022383",
"status": "...",
"source": {
"refNumber": "...",
"publicationDate": "...",
"publicationTitle": "...",
"publicationType": "..."
},
"roles": [
{
"fullName": "...",
"entityType": "...",
"roles": [
"..."
],
"ownershipPercentage": "...",
"dateOfBirth": "...",
"nationality": "...",
"address": "...",
"enterpriseNumber": "..."
}
],
"updatedAt": "..."
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Dit verzoek proberen
De ondernemingsfiche van API BCE in je processen#
De endpoints onder /enterprise/{num} vormen het hart van de meeste integraties. De volledige fiche geeft in één oproep naam, status, btw-nummer, rechtsvorm, zetel, activiteiten en vestigingen. Voor veel toepassingen heb je dus niet meer nodig. De subresources zijn vooral handig als je alleen één onderdeel wilt bijwerken.
Per use case kies je zo de juiste combinatie:
- Leverancierscontrole: de fiche, met aandacht voor
status,juridicalSituationCodeeninDistress. - KYB: de fiche plus
/rolesvoor bestuurders en uiteindelijke begunstigden uit het Belgisch Staatsblad. - Kredietbeoordeling:
/financialmet tot 10 boekjaren uit de NBB-Balanscentrale, inclusief ratio's. - CRM-verrijking: de fiche en
/contactvoor telefoon, e-mail en website. - Facturatie:
/addressen/denominationsvoor de juiste officiële naam en zetel.
Valkuilen bij het interpreteren#
Een status Active betekent niet automatisch dat alles in orde is. Een onderneming kan actief zijn en toch een faillissement hebben lopen. Kijk daarom ook naar inDistress en de rechtstoestand. Code 050 staat bijvoorbeeld voor de opening van een faillissement.
Let ook op de financiële gegevens. Niet elke neerlegging is beschikbaar als gestructureerde data. Sommige jaren staan alleen in pdfOnlyDeposits. Een natuurlijk persoon heeft bovendien geen jaarrekeningen. Je interface moet dus met ontbrekende jaren kunnen omgaan.
Contactgegevens kunnen null zijn. Voor OAuth-apps vragen ze daarnaast de scope enterprise:contact. Vraag met years ten slotte alleen het aantal boekjaren op dat je echt toont; de standaard is 5.
Gegevens bewaren en verversen#
Bewaar het ondernemingsnummer als sleutel en de opgehaalde fiche met een datum. Het veld lastUpdate helpt je om te zien hoe recent de gegevens zijn. Ververs vervolgens periodiek, of beter, volg belangrijke ondernemingen met webhooks.
Bepaal daarnaast vooraf welke velden een beslissing sturen. Een leverancierscontrole heeft bijvoorbeeld genoeg aan status, rechtstoestand en inDistress. Leg die regels vast in één functie met duidelijke uitkomsten, zoals "goedgekeurd", "nakijken" of "geblokkeerd". Zo is elke beslissing achteraf uitlegbaar. Bovendien kun je de regels testen met de testnummers voor een actieve, een failliete en een stopgezette onderneming.
Veelgestelde vragen over API BCE en ondernemingen#
In welk formaat geef ik het ondernemingsnummer door?
Met of zonder punten, en ook met het prefix BE. Zowel 1033.022.383 als BE1033022383 werkt.
Waarom krijg ik een 403 op /roles?
Bestuurders en jaarrekeningen zitten in de formule API Pro. Met een andere formule krijg je daarom een 403 op /roles en /financial.
Hoeveel activiteiten geeft API BCE terug?
Het endpoint voor activiteiten geeft eerst de hoofdactiviteiten en daarna maximaal 20 nevenactiviteiten, telkens met de NACE-versie van de code.