Getting started
Make a key in the application under Developers. A key made in the simulator starts with test_: it answers with the sample companies and sample post, and never asks the register. A key made on real data starts with live_. A key is shown once.
Send the key with every call. Everything is JSON over https; the base address is https://app.namens.be/api/v1.
curl https://app.namens.be/api/v1/account \
-H "Authorization: Bearer test_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
| Limit | Value |
|---|---|
| Requests per key | 60 a minute |
| New register lookups per key | 100 a day. An answer is kept for 12 hours and passed on again without counting. |
| Watches per organisation | 250 |
Register data comes from the Crossroads Bank for Enterprises (KBO, FPS Economy). Every answer with register data names that source and the moment the data was fetched; show both when you show the data. Personal data in it, such as names of function holders, may not be used for direct marketing.
Account
Whose key this is
The organisation of the key, whether it is a test or a live key, its limits and what it used today. The first call to try a key with.
{
"data": {
"organisation": "Kantoor Vermeulen",
"key": {
"name": "Dossier system",
"mode": "test",
"created_at": "2026-11-29T08:00:00+00:00"
},
"limits": {
"requests_per_minute": 60,
"register_lookups_per_day": 100,
"watches": 250
},
"today": {
"requests": 12,
"register_lookups": 3
},
"watches": 1
}
}
Company register
Look an enterprise up
Name, status, legal form, registered seat and the people who hold a function in the enterprise: a legal representative among them is who validates a mandate. An answer is kept for some hours; "source.retrieved_at" says how old it is. A lookup that has to ask the register counts for the daily number of the key.
| Parameter | Where | What |
|---|---|---|
number * | path | A Belgian enterprise number: ten digits, with or without dots or "BE". |
{
"data": {
"enterprise_number": "0100000169",
"formatted_number": "0100.000.169",
"name": "Bakkerij De Korenaar",
"active": true,
"status": "Actief",
"legal_form": "Besloten vennootschap",
"address": "Graanmarkt 12, 9000 Gent",
"function_holders": [
{
"role": "Bestuurder",
"holder": "Vermeulen, An",
"since": "3 maart 2015"
}
],
"register_url": null
},
"source": {
"name": "KBO, FOD Economie",
"retrieved_at": "2026-11-29T08:15:00+00:00"
},
"terms": "Personal data in this answer, such as names of function holders and all data of a natural-person enterprise, may not be used for direct marketing (royal decree of 18 July 2008, article 2)."
}
Search enterprises by name
Enterprises whose name contains the words given, best matches first. Answered from the daily files of the register, so it costs no lookup; it says "search_unavailable" while those files are not loaded.
| Parameter | Where | What |
|---|---|---|
name * | query | At least three characters of the name. |
limit | query | How many results, 20 by default and 50 at most. |
{
"data": [
{
"enterprise_number": "0100000169",
"formatted_number": "0100.000.169",
"name": "Bakkerij De Korenaar",
"legal_form": "Besloten vennootschap",
"address": "Graanmarkt 12, 9000 Gent",
"status": "Actief"
}
],
"source": {
"name": "KBO, FOD Economie",
"retrieved_at": "2026-11-29T08:15:00+00:00"
},
"terms": "Personal data in this answer, such as names of function holders and all data of a natural-person enterprise, may not be used for direct marketing (royal decree of 18 July 2008, article 2)."
}
Watches
Watch an enterprise number
From now on the register is asked again about this number, and every change is kept and sent to your webhooks as "register.changed". Asking twice for the same number returns the watch that is there (200 instead of 201). Send JSON.
| Parameter | Where | What |
|---|---|---|
enterprise_number * | body | The number to watch. |
reference | body | Your own name or number for this enterprise, at most 100 characters; it comes back in every event. |
{
"data": {
"enterprise_number": "0100000169",
"reference": "client-381",
"name": "Bakkerij De Korenaar",
"status": "Actief",
"legal_form": "Besloten vennootschap",
"address": "Graanmarkt 12, 9000 Gent",
"function_holders": [
{
"role": "Bestuurder",
"holder": "Vermeulen, An",
"since": "3 maart 2015"
}
],
"checked_at": "2026-11-29T08:15:00+00:00",
"created_at": "2026-11-29T08:15:00+00:00"
}
}
List the watches
Every number the organisation watches, with what the register said the last time.
| Parameter | Where | What |
|---|---|---|
page | query | The page, from 1. |
per_page | query | Rows per page, 50 by default and 100 at most. |
{
"data": [
{
"enterprise_number": "0100000169",
"reference": "client-381",
"name": "Bakkerij De Korenaar",
"status": "Actief",
"legal_form": "Besloten vennootschap",
"address": "Graanmarkt 12, 9000 Gent",
"function_holders": [
{
"role": "Bestuurder",
"holder": "Vermeulen, An",
"since": "3 maart 2015"
}
],
"checked_at": "2026-11-29T08:15:00+00:00",
"created_at": "2026-11-29T08:15:00+00:00"
}
],
"meta": {
"page": 1,
"per_page": 50,
"total": 1
}
}
One watch
What is known about one watched number.
| Parameter | Where | What |
|---|---|---|
number * | path | A Belgian enterprise number: ten digits, with or without dots or "BE". |
Stop watching
Removes the watch and what it recorded. Answers 204 without a body.
| Parameter | Where | What |
|---|---|---|
number * | path | A Belgian enterprise number: ten digits, with or without dots or "BE". |
What changed
The changes the watches recorded, newest first: for those who would rather ask than receive a webhook. One row is everything one answer of the register changed. For "function_holders", "before" lists who went and "after" who came.
| Parameter | Where | What |
|---|---|---|
since | query | Only changes detected after this date or moment. |
enterprise_number | query | Only changes of this number. |
page | query | The page, from 1. |
per_page | query | Rows per page, 50 by default and 100 at most. |
{
"data": [
{
"id": 18,
"enterprise_number": "0100000169",
"reference": "client-381",
"changes": [
{
"kind": "address",
"before": "Graanmarkt 12, 9000 Gent",
"after": "Korenlei 3, 9000 Gent"
}
],
"detected_at": "2026-11-30T02:41:07+00:00"
}
],
"meta": {
"page": 1,
"per_page": 50,
"total": 1
}
}
Post
The companies you follow
The companies whose post the organisation follows in the application, with the state of each mandate: none, requested, waiting, active or refused.
| Parameter | Where | What |
|---|---|---|
page | query | The page, from 1. |
per_page | query | Rows per page, 50 by default and 100 at most. |
{
"data": [
{
"enterprise_number": "0100000169",
"formatted_number": "0100.000.169",
"name": "Bakkerij De Korenaar",
"legal_form": "Besloten vennootschap",
"address": "Graanmarkt 12, 9000 Gent",
"register_status": "Actief",
"function_holders": [
{
"role": "Bestuurder",
"holder": "Vermeulen, An",
"since": "3 maart 2015"
}
],
"register_checked_at": "2026-11-29T02:41:00+00:00",
"mandates": {
"ebox": "active",
"fps": "waiting"
},
"created_at": "2026-11-20T10:00:00+00:00"
}
],
"meta": {
"page": 1,
"per_page": 50,
"total": 1
}
}
One company you follow
The same, for one company. 404 when the organisation does not follow this number.
| Parameter | Where | What |
|---|---|---|
number * | path | A Belgian enterprise number: ten digits, with or without dots or "BE". |
The inbox
The items of post of all followed companies, newest first: e-Box messages ("ebox"), documents of FPS Finance ("fps") and changes in the company register ("kbo"). An item is described: who it is for, who sent it, what kind it is, and its deadline. The content is never in this list.
| Parameter | Where | What |
|---|---|---|
enterprise_number | query | Only items of this company. |
source | query | ebox, fps or kbo. |
unread | query | 1 for items nobody opened yet. |
q | query | Words that have to occur in the item or in the name of its company. |
page | query | The page, from 1. |
per_page | query | Rows per page, 50 by default and 100 at most. |
{
"data": [
{
"id": "ebox-1042",
"source": "ebox",
"title": "Aanslagbiljet vennootschapsbelasting",
"company": {
"enterprise_number": "0100000169",
"name": "Bakkerij De Korenaar"
},
"sender": "FOD Financiën",
"sender_number": "0308357159",
"type": "Aanslagbiljet",
"received_at": "2026-11-27T06:12:00+00:00",
"registered_mail": false,
"unread": true,
"deadline": {
"due_on": "2027-01-27",
"kind": "payment",
"origin": "sender",
"basis": null
},
"handled_at": null
}
],
"meta": {
"page": 1,
"per_page": 50,
"total": 1
}
}
One item
The item, and under "content" what of it can be fetched. "marks_read" says whether fetching that part marks the message as read in the e-Box of the company itself.
| Parameter | Where | What |
|---|---|---|
id * | path | The id of the item, such as ebox-1042. |
{
"data": {
"id": "ebox-1042",
"source": "ebox",
"title": "Aanslagbiljet vennootschapsbelasting",
"company": {
"enterprise_number": "0100000169",
"name": "Bakkerij De Korenaar"
},
"sender": "FOD Financiën",
"sender_number": "0308357159",
"type": "Aanslagbiljet",
"received_at": "2026-11-27T06:12:00+00:00",
"registered_mail": false,
"unread": true,
"deadline": {
"due_on": "2027-01-27",
"kind": "payment",
"origin": "sender",
"basis": null
},
"handled_at": null,
"content": {
"body": {
"marks_read": false
},
"attachments": [
{
"id": "att-1",
"file_name": "aanslagbiljet.pdf",
"media_type": "application/pdf",
"marks_read": true
}
]
}
}
}
The body of an e-Box message
Opens the body, exactly as a click on "Open" in the application does: the opening is written in the log of the organisation under the name of the key. When opening marks the message as read in the e-Box of the company, the call is refused with "mark_read_required" unless mark_read=true is given.
| Parameter | Where | What |
|---|---|---|
id * | path | The id of an e-Box message. |
mark_read | query | true to accept that the message is marked as read for the company too. |
An attachment of an e-Box message
The file itself. The same rule for mark_read holds, and the opening is logged.
| Parameter | Where | What |
|---|---|---|
id * | path | The id of an e-Box message. |
attachment * | path | The id of the attachment, from "content.attachments". |
mark_read | query | true to accept that the message is marked as read for the company too. |
The document of an item of FPS Finance
The file itself. Fetching it marks nothing as read at FPS Finance; the opening is logged.
| Parameter | Where | What |
|---|---|---|
id * | path | The id of an item of FPS Finance, such as fps-77. |
The deadlines
The deadlines of items nobody handled yet, soonest first, from today on.
| Parameter | Where | What |
|---|---|---|
enterprise_number | query | Only deadlines of this company. |
include_passed | query | 1 to add deadlines that passed without the item being handled. |
page | query | The page, from 1. |
per_page | query | Rows per page, 50 by default and 100 at most. |
{
"data": [
{
"id": 9,
"due_on": "2027-01-27",
"kind": "payment",
"origin": "sender",
"basis": null,
"company": {
"enterprise_number": "0100000169",
"name": "Bakkerij De Korenaar"
},
"message": "ebox-1042"
}
],
"meta": {
"page": 1,
"per_page": 50,
"total": 1
}
}
Webhooks
Give an https address in the application under Developers, and it receives a POST for every event of your organisation. Answer with any status from 200 to 299 within ten seconds. Anything else is tried again, 6 times in all over about fifteen hours; an address that only failed for days is switched off. An event describes what happened; it never carries the content of post.
Every delivery is signed the way the Standard Webhooks specification describes, so an existing library can check it. The headers are webhook-id, webhook-timestamp and webhook-signature. The signature is v1, followed by the base64 of an HMAC-SHA256 over id.timestamp.body, with as key the base64-decoded part of your secret after whsec_. The same event can arrive twice: keep the id to recognise it.
{
"id": "evt_01jdzx3k8v4q2m7h5w9c6r0t1b",
"type": "register.changed",
"created_at": "2026-11-30T02:41:07+00:00",
"mode": "live",
"data": {
"origin": "watch",
"enterprise_number": "0100000169",
"reference": "client-381",
"name": "Bakkerij De Korenaar",
"changes": [
{
"kind": "address",
"before": "Graanmarkt 12, 9000 Gent",
"after": "Korenlei 3, 9000 Gent"
}
],
"source": {
"name": "KBO, FOD Economie",
"retrieved_at": "2026-11-30T02:41:07+00:00"
}
}
}
The company register changed about a number you watch ("origin": "watch") or about a company you follow in the application ("origin": "company").
{
"data": {
"origin": "watch",
"enterprise_number": "0100000169",
"reference": "client-381",
"name": "Bakkerij De Korenaar",
"changes": [
{
"kind": "address",
"before": "Graanmarkt 12, 9000 Gent",
"after": "Korenlei 3, 9000 Gent"
}
],
"source": {
"name": "KBO, FOD Economie",
"retrieved_at": "2026-11-30T02:41:07+00:00"
}
}
}
A new item of post arrived for a followed company. The item is described, as in GET /messages; its content is not sent.
{
"data": {
"message": {
"id": "ebox-1042",
"source": "ebox",
"title": "Aanslagbiljet vennootschapsbelasting",
"company": {
"enterprise_number": "0100000169",
"name": "Bakkerij De Korenaar"
},
"sender": "FOD Financiën",
"type": "Aanslagbiljet",
"received_at": "2026-11-27T06:12:00+00:00",
"registered_mail": false
}
}
}
Someone marked an item as handled in the application.
{
"data": {
"message": {
"id": "ebox-1042",
"handled_at": "2026-12-02T09:30:00+00:00"
}
}
}
An item got a deadline, or its deadline changed.
{
"data": {
"deadline": {
"id": 9,
"due_on": "2027-01-27",
"kind": "payment",
"origin": "sender",
"basis": null,
"company": {
"enterprise_number": "0100000169",
"name": "Bakkerij De Korenaar"
},
"message": "ebox-1042"
}
}
}
The state of a mandate of a followed company changed: none, requested, waiting, active or refused.
{
"data": {
"company": {
"enterprise_number": "0100000169",
"name": "Bakkerij De Korenaar"
},
"source": "ebox",
"before": "waiting",
"after": "active"
}
}
Errors
A refusal is JSON with a code for your program and a sentence for you:
{
"error": {
"code": "invalid_number",
"message": "This is not a valid Belgian enterprise number: ten digits, with or without dots or \"BE\"."
}
}
| Code | What it means |
|---|---|
unauthorized | 401: the key is missing, wrong or revoked. |
too_many_requests | 429: more requests in one minute than the key may make. |
daily_limit_reached | 429: the key used its new register lookups for today. |
register_busy | 429: the register lookups of all keys for today are used up. |
register_unavailable | 503: the company register does not answer. |
search_unavailable | 503: searching by name is not available yet. |
invalid_number | 422: not a valid Belgian enterprise number. |
unknown_number | 404: the register does not know the number (with a test key: not one of the sample companies). |
watch_limit_reached | 409: the organisation has its number of watches. |
mark_read_required | 409: fetching this marks the message as read for the company; add mark_read=true. |
source_error | 502: the e-Box or FPS Finance could not give the content. |
not_found | 404: it does not exist for this organisation. |