Skip to content
We regularly add fields and features to the Belscope API. This documentation always shows the current version.

Branches

Only for foreign companies: their branch in Belgium, with its name and address.

BranchEvery branch in Belgium of a foreign company. Its number, name and start date.
AddressWhere the branch is.

Request

GEThttps://api.belscope.be/v1/companies/{number}/branches
curl https://api.belscope.be/v1/companies/0400051358/branches \
-H "Authorization: Bearer YOUR_KEY"
const response = await fetch('https://api.belscope.be/v1/companies/0400051358/branches', {
headers: { Authorization: 'Bearer YOUR_KEY' },
});
const data = await response.json();
import requests
response = requests.get(
'https://api.belscope.be/v1/companies/0400051358/branches',
headers={'Authorization': 'Bearer YOUR_KEY'},
)
data = response.json()
$context = stream_context_create([
'http' => ['header' => 'Authorization: Bearer YOUR_KEY', 'ignore_errors' => true],
]);
$response = file_get_contents('https://api.belscope.be/v1/companies/0400051358/branches', false, $context);
$data = json_decode($response, true);
using var client = new HttpClient();
client.DefaultRequestHeaders.Add("Authorization", "Bearer YOUR_KEY");
var response = await client.GetAsync("https://api.belscope.be/v1/companies/0400051358/branches");
var data = await response.Content.ReadAsStringAsync();

Answer

Counts as 1 requestJSON
{
"enterprise_number": "0123.456.749",
"branches": [
{
"branch_number": "9.123.456.744",
"name": "Belscope Antwerpen",
"start_date": "2020-06-01",
"address": {
"full": "Voorbeeldlaan 5 bus 2, 2000 Antwerpen",
"street": "Voorbeeldlaan",
"house_number": "5",
"box": "2",
"postal_code": "2000",
"municipality": "Antwerpen",
"country": "België",
"struck_off_date": null
}
}
]
}
Fields 14What every field in the answer means
FieldTypeDescriptionNullable
enterprise_numbertextThe enterprise number of the foreign company the branches belong to.
brancheslistThe foreign company's branches in Belgium. The newest first; one without a known start date last.Empty list when the company has none (only foreign companies have branches).
branch_numbertextThe branch's own number, always as 9.123.456.744.
nametextThe branch's name.Null for most branches.
start_datedateThe day the branch started.Null when it is not known.
addressblockThe branch's address.
fulltextThe whole address on one line, ready to show. The country is only added abroad.Null when the address is not known.
streettextThe street.Null when it is not known.
house_numbertextThe house number.Null when there is none.
boxtextThe box number.Null when there is none.
postal_codetextThe postal code.Null when it is not known.
municipalitytextThe municipality.Null when it is not given.
countrytextBelgië in Belgium, otherwise the country.Null when it is not known.
struck_off_datedateThe day the address was officially struck off.Null when not struck off.