Getting Started
End-to-end guide to integrating the Kausate API, worked through Germany
This guide walks through one integration: find a company, prefill a form, order a full report, and monitor the company for changes. The examples use a German company; the calls are the same in every jurisdiction.
Getting an API Key
- Self-serve: create an account at kausate.com/signup and generate a key in the dashboard.
- Enterprise: contact us.
Send the key in the X-API-Key header on every request.
Data Flow Overview
| Step | Endpoint | Use case |
|---|---|---|
| Search | POST /v2/companies/search/sync | Find a company and its kausateId |
| Prefill | POST /v2/companies/prefill | Fill a form quickly |
| Report | POST /v2/companies/report | Full company data from the register |
| Monitor | POST /v2/monitors | Track changes over time |
Complete Example
Search for a Company
curl -X POST https://api.kausate.com/v2/companies/search/sync \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"companyName": "N26",
"jurisdictionCode": "de"
}'Response (abbreviated):
{
"orderId": "live-search-de-n26-org_01ABC-20260115103000",
"status": "completed",
"requestTime": "2026-01-15T10:30:00Z",
"responseTime": "2026-01-15T10:30:02Z",
"result": {
"type": "liveSearch",
"searchResults": [
{
"kausateId": "co_de_7aH2IUvdvC6XGzbUbSyhOU",
"jurisdictionCode": "de",
"name": "N26 SE",
"identifiers": [
{ "type": "de_registernumber_weak", "value": "HRB 271693" },
{ "type": "de_registernumber_full", "value": "F1103R_HRB271693" }
],
"addresses": [
{
"type": "registered",
"original": "Berlin",
"normalized": { "city": "Berlin", "countryCode": "DE" }
}
],
"status": { "original": "aktiv", "normalized": "active", "isActive": true }
}
]
}
}Keep the kausateId. Every other call takes it.
Quick Data with Prefill
Prefill returns the company's core data in one synchronous call. When the company is already indexed it answers in under 200ms; otherwise it reads the register, which takes seconds.
curl -X POST https://api.kausate.com/v2/companies/prefill \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"kausateId": "co_de_7aH2IUvdvC6XGzbUbSyhOU",
"customerReference": "onboarding-123"
}'Response (abbreviated):
{
"orderId": "ord_abc123",
"kausateId": "co_de_7aH2IUvdvC6XGzbUbSyhOU",
"companyName": "N26 SE",
"customerReference": "onboarding-123",
"status": "completed",
"result": {
"type": "companyReport",
"companyReport": {
"basicInformation": {
"legalName": "N26 SE",
"legalForm": { "original": "SE", "iso20275LegalFormCode": "SGST" },
"status": { "original": "aktiv", "normalized": "active", "isActive": true },
"addresses": [...],
"identifiers": [...]
}
}
}
}For legal representatives and shareholders, order a report.
Full Company Report
Order the report asynchronously. The call returns an orderId immediately:
curl -X POST https://api.kausate.com/v2/companies/report \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"kausateId": "co_de_7aH2IUvdvC6XGzbUbSyhOU",
"customerReference": "kyc-check-456"
}'{
"orderId": "ord_xyz789",
"kausateId": "co_de_7aH2IUvdvC6XGzbUbSyhOU",
"customerReference": "kyc-check-456",
"cachedOrder": false,
"resultUrl": "/v2/companies/report/ord_xyz789"
}Option A (recommended): receive the result by webhook. Register an endpoint once; every completed order is delivered to it.
curl -X POST https://api.kausate.com/v2/webhooks \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "Order Results",
"url": "https://your-server.com/webhooks/kausate"
}'The response includes a signingSecret. See Webhooks for signature verification, retries and the outbound IP addresses to allowlist.
Option B: poll the order.
curl https://api.kausate.com/v2/companies/report/ord_xyz789 \
-H "X-API-Key: your_api_key"Completed response (abbreviated):
{
"orderId": "ord_xyz789",
"kausateId": "co_de_7aH2IUvdvC6XGzbUbSyhOU",
"status": "completed",
"result": {
"type": "companyReport",
"companyReport": {
"sources": {
"registrar": {
"name": "Handelsregister Structured Information",
"jurisdictionCode": "de",
"retrievalTime": "2025-09-04T23:29:53.627093"
}
},
"basicInformation": {
"legalName": "N26 SE",
"legalForm": { "original": "SE", "iso20275LegalFormCode": "SGST" },
"capital": {
"currency": { "amount": "147358.0", "iso4217CurrencyCode": "EUR" }
},
"addresses": [...],
"identifiers": [...],
"activities": [...]
},
"relationships": {
"legalRepresentatives": [...]
}
}
}
}Synchronous mode is not recommended for production use. POST /v2/companies/report/sync waits for the register and returns the result
inline, but returns HTTP 408 if the register does not answer in time. See
Async & Sync Processing.
Set Up Monitoring
To track changes to a company over time, create a monitor. Name the company and, optionally, the categories or event codes you care about; when something changes, the webhooks registered for your organisation receive a signed notification.
curl -X POST https://api.kausate.com/v2/monitors \
-H "X-API-Key: your_api_key" \
-H "Content-Type: application/json" \
-d '{
"kausateId": "co_de_7aH2IUvdvC6XGzbUbSyhOU",
"categoriesFilter": ["ownership", "status"]
}'Response:
{
"monitorId": "2859d110-ea00-4c49-8547-f359672d20f3",
"kausateId": "co_de_7aH2IUvdvC6XGzbUbSyhOU",
"companyName": "N26 SE",
"categoriesFilter": ["ownership", "status"],
"eventCodesFilter": null,
"scheduleCron": "0 0 1 * *",
"metadata": null,
"createdAt": "2026-10-01T10:45:00Z",
"apiUrl": "/v2/monitors/2859d110-ea00-4c49-8547-f359672d20f3"
}Leave both filters out to receive every event available for the company. The
company is checked monthly unless you pass a scheduleCron; a monitor may be
checked at most once a month and at least once a year.
When a change is detected your webhook URL receives a
monitor.change_detected payload with an event_code such as
SHAREHOLDERS_CHANGED or INSOLVENCY_OPENED. Which event codes a
company can raise depends on its country, and some carry the changed values
while others only tell you to order a fresh report — see the
monitoring guide for both lists and the filter options.
Choosing the Right Endpoint
| Need | Endpoint | Speed | Data freshness |
|---|---|---|---|
| Form autocomplete | GET /v2/companies/search/autocomplete | ~50ms | Indexed |
| Find companies | POST /v2/companies/search | 2-5s | Real-time |
| Prefill forms | POST /v2/companies/prefill | ~200ms indexed, seconds on a register fallback | Indexed + fallback |
| Full company data | POST /v2/companies/report | 2-30s | Real-time |
| Ownership structure | POST /v2/companies/shareholder-graph | 5-60s | Real-time |
Every endpoint except autocomplete and prefill is asynchronous and has a /sync sibling. See Async & Sync Processing.
Handling Errors
Every error response has the same body: a human-readable detail, a stable
dotted code to branch on, and a request_id to quote to support.
{
"detail": "Company not found in Transparenzregister",
"code": "company.not_found.transparenzregister",
"request_id": "req_01J8Z5V4Q2X9N7B3C6D1E0F2G4"
}Branch on code, never on detail — the wording of detail is not part of
the contract. Codes are hierarchical and published at full depth, so match a
prefix to handle a whole family at once:
if (error.code.startsWith("company.not_found")) {
showCompanyNotFound();
}The statuses you can receive:
| Status | Meaning | Retry? |
|---|---|---|
| 200 | Success | — |
| 400 | Invalid request (check parameters and body), or a capability that jurisdiction doesn't offer | No |
| 401 | No API key was supplied | No, send X-API-Key |
| 403 | The API key is invalid, or valid but not entitled to this resource | No |
| 404 | Company, document or order not found — including "no data available" | No |
| 405 | Wrong HTTP method for that path | No |
| 408 | Upstream registry timed out (sync mode only) | Yes, or go async |
| 409 | The resource's state rejects this request | No |
| 410 | The referenced state has expired | No, start a new order |
| 422 | Well-formed but unprocessable (validation, or data that can't be served) | No |
| 429 | An upstream registry is limiting requests — honour Retry-After | Yes, after Retry-After |
| 500 | Unexpected failure on our side | Yes, with backoff |
| 501 | Offered for that jurisdiction, but not usable right now — a fault on our side (rare) | No |
| 502 | Transient upstream-registry failure | Yes, shortly |
| 503 | Upstream registry degraded or unreachable | Yes, longer backoff |
Credit exhaustion is a 403 carrying billing.credit_limit_exceeded. There is
no 402. A capability a jurisdiction doesn't offer is a 400 (a 403 while
it's coming soon) — see the Errors guide.
For async operations the HTTP response is a 200 and the failure lives in the
payload — check the status field, which is one of six values:
running— Still processingcompleted— Result available inresultfieldfailed— The order ran and failedcanceled— The order was canceledterminated— The order was forcefully stoppedtimedOut— The order exceeded its time limit
The last four are terminal failures and all carry error (display text) and
code (what you branch on), so handle them together rather than switching on
failed alone.
See the Errors guide for the full code vocabulary and the prefix-matching contract.
Why timeouts happen
Kausate reads official registers directly. They limit request volume, go down for maintenance and can take 30 seconds or more to answer. Asynchronous orders retry these failures for you, which is why they are recommended over /sync.
Last updated on