Download documents

Register extracts, shareholder lists and articles of association as files.

1

Choose the document type

document_type
document_type Document Format For
AD Aktueller Abdruck (current printout): all entries that apply today PDF every registered company
CD Chronologischer Abdruck (chronological printout): all entries in chronological order PDF every registered company
SI Strukturierter Registerinhalt (structured register content) in the XJustiz format, machine-readable XML every registered company
shareholders_list Gesellschafterliste (shareholder list) PDF GmbH and UG
articles_of_association Satzung or Gesellschaftsvertrag (articles of association) PDF Corporations and cooperatives
2

Fetch a document

curl -G "https://handelsregister.ai/api/v1/fetch-document" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode "company_id=94eb910fef13f94585c48c263fa446d4" \
  --data-urlencode "document_type=AD" \
  --fail-with-body --max-time 120 \
  -o hetzner-ad.pdf
Field
Field Meaning
Content-Type application/pdf, for the structured register content application/xml.
Content-Disposition The file name with entity_id, type and the day the document came from the register.
X-Credits-Charged What the request cost.
X-Credits-Remaining Your balance afterwards.
1{2  "error": "Document fetch failed",3  "message": "Document not available for this company. It may not exist or may become available later.",4  "meta": {5    "request_credit_cost": 0,6    "credits_remaining": 1457  }8}
404 · Example response for the shareholder list of a sole trader
The API fetches documents from the register when needed. This can take up to two minutes. Set your client's timeout to at least 120 seconds or fetch the document in the background.
3

Fetch in the background

curl -G "https://handelsregister.ai/api/v1/fetch-document" \
  -H "x-api-key: YOUR_API_KEY" \
  --data-urlencode 'company_id=e3918174fb6c5d04e5e217e6ee4a6ffe' \
  --data-urlencode 'document_type=CD' \
  --data-urlencode 'async=true'
1{2  "status": "processing",3  "meta": {4    "message": "The document is being retrieved. Repeat this request after Retry-After seconds to receive it.",5    "retry_after": 20,6    "request_credit_cost": 0,7    "credits_remaining": 1458  }9}
202 · Example response while the Chronologischer Abdruck of SAP SE is being fetched

Costs and limits

Costs and limits
What Credits
One delivered document 15

Limit: 5 requests per minute. Search, documents and Signals share a quota of 60 requests per minute.

If the Handelsregister can't be reached right now or responds too slowly, you get HTTP 504 with Retry-After. The API charges nothing. Try again after a few minutes.

Common pitfalls

Next