API BCE establishment endpoints: units, address, activities
API BCE establishment endpoints: record of an establishment unit (2.xxx.xxx.xxx), its address, NACE activities, contact details and names.
Endpoints for the Establishment resource. All calls require authentication and return the standard JSON envelope.
Base URL: https://companybelgium.be/api/v2 · Authentication
Retrieve establishment details#
Full record for a single establishment unit attached to an enterprise.
Parameters
| Name | In/Type | Required | Description |
|---|---|---|---|
num | path string | Required | Establishment number, e.g. 2.123.456.789 |
Request
curl https://companybelgium.be/api/v2/establishment/1033.022.383 \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Response
{
"success": true,
"data": {
"establishmentNumber": "...",
"enterpriseNumber": "...",
"enterpriseName": "...",
"name": "...",
"address": "...",
"addressDetail": {
"street": "...",
"houseNumber": "...",
"box": "...",
"zipcode": "...",
"city": "...",
"country": "..."
},
"startDate": "...",
"phone": "...",
"email": "...",
"website": "...",
"activities": [
{
"naceCode": "...",
"description": "...",
"classification": "...",
"naceVersion": "..."
}
],
"denominations": [
{
"type": "...",
"language": "...",
"value": "..."
}
]
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Try this request
List establishment activities#
NACE activities registered at the establishment level.
Parameters
| Name | In/Type | Required | Description |
|---|---|---|---|
num | path string | Required | Establishment number. |
Request
curl https://companybelgium.be/api/v2/establishment/1033.022.383/activities \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Response
{
"success": true,
"data": {
"items": [
{
"naceCode": "...",
"description": "...",
"classification": "...",
"naceVersion": "..."
}
],
"total": "..."
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Try this request
Retrieve establishment address#
Physical address of the establishment unit.
Parameters
| Name | In/Type | Required | Description |
|---|---|---|---|
num | path string | Required | Establishment number. |
Request
curl https://companybelgium.be/api/v2/establishment/1033.022.383/address \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Response
{
"success": true,
"data": {
"formatted": "...",
"detail": {
"street": "...",
"houseNumber": "...",
"box": "...",
"zipcode": "...",
"city": "...",
"country": "..."
}
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Try this request
Retrieve establishment contact info#
Phone, mobile, email, fax and website at the establishment level; null when unknown. Requires the enterprise:contact scope for OAuth applications.
Parameters
| Name | In/Type | Required | Description |
|---|---|---|---|
num | path string | Required | Establishment number. |
Request
curl https://companybelgium.be/api/v2/establishment/1033.022.383/contact \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Response
{
"success": true,
"data": {
"phone": "...",
"mobile": "...",
"email": "...",
"fax": "...",
"website": "..."
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Try this request
List establishment denominations#
Commercial names registered at the establishment level.
Parameters
| Name | In/Type | Required | Description |
|---|---|---|---|
num | path string | Required | Establishment number. |
Request
curl https://companybelgium.be/api/v2/establishment/1033.022.383/denominations \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Response
{
"success": true,
"data": [
{
"type": "...",
"language": "...",
"value": "..."
}
],
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Try this request
Retrieve a specific establishment denomination#
A single establishment denomination filtered by language.
Parameters
| Name | In/Type | Required | Description |
|---|---|---|---|
num | path string | Required | Establishment number. |
language | path string | Required | FR | NL | DE | EN |
Request
curl https://companybelgium.be/api/v2/establishment/1033.022.383/denomination/FR \
-H "X-API-Key: $API_BCE_KEY" \
-H "X-API-Secret: $API_BCE_SECRET"Response
{
"success": true,
"data": {
"type": "...",
"language": "...",
"value": "..."
},
"timestamp": "...",
"meta": {
"responseTime": "..."
}
}â–¶ Try this request
Enterprise versus establishment in API BCE#
An enterprise is the legal entity. An establishment unit, by contrast, is a physical place where it operates, such as a shop, a branch or a workshop. Its number has the form 2.xxx.xxx.xxx. Many real cases depend on this distinction.
- Retail and franchise networks: list the sites of a company with
/enterprise/{num}/establishments, then load each one. - Delivery and field service: use the physical address of the site instead of the registered office.
- Local activity checks: read the NACE activities registered at site level.
- Local contact: reach the phone or email of a branch rather than the head office.
Integration advice#
First, store both numbers. The establishment record contains enterpriseNumber and enterpriseName, so you can always link a site back to its company. Next, route numbers carefully, because an establishment number sent to the enterprise endpoint will not find the right record. In addition, use /establishment/{num}/denomination/{language} to show the commercial name in FR, NL, DE or EN.
Also, OAuth applications need the enterprise:contact scope to read establishment contact details, exactly as for enterprises.
Pitfalls with establishment units#
The establishment record in the reference carries no VAT number. Therefore, read VAT data from the parent enterprise when you invoice. Moreover, an enterprise can have no establishment at all. For instance, the stopped test company has an empty list, so your screens should handle that case. Finally, site names are often commercial names, which can differ from the legal name.
Keeping a site list up to date#
Branch networks change: sites open, move and close. Therefore, refresh the establishment list of key accounts on a schedule that matches your business, for example monthly. Then, compare the numbers you hold with the items returned, and flag new or missing sites for review. In addition, webhooks accept establishment numbers, so you can watch a strategic site directly on the Pro plan. Finally, keep the startDate of each unit, because it helps sales teams tell a new branch from an old one.
Also, each site record includes addressDetail with street, house number, box, postcode and city, which suits delivery and routing tools.
API BCE establishment FAQ#
How do I find all establishments of a company?
Call /enterprise/{num}/establishments. It returns a total and the list of items with number, name, address and start date.
Which test numbers exist for establishments?
In test mode, 2.999.999.172 is the head office of the active company and 2.999.999.271 is a branch in Ghent. Also, 2.999.999.370 belongs to the bankrupt company.
Does API BCE return activities per site?
Yes. /establishment/{num}/activities lists the NACE activities registered at the establishment level.