KlarApis: German Company Data API
Access up-to-date German company registry information with a simple, free-to-use REST API. Search by company name or ID.
Utilizes publicly available German company registry data from sources like OffeneRegister.de.
Secure access using unique API keys, ensuring controlled usage.
Easy-to-integrate GET endpoints for company search by name or ID.
Currently, API keys are generated upon request. Please contact admin@klarapis.example with your project details to receive your unique API key.
(In a future version, an automated registration portal might be available.)
Include your API key in the Authorization header of your request, prefixed with ApiKey.
Format:
Authorization: ApiKey <your_api_key>Replace <your_api_key> with the actual API key provided to you.
GET /companies
Search for companies by name or ID.
Query Parameters:
name(string, optional): Substring to search in company names.Min 3 charactersid(string, optional): Substring to search in company IDs.Min 3 characters
At least one parameter (name or id) must be provided. If both are provided, results will match both criteria.
Example Request (by name):
curl -X GET "https://your-api-domain.cloudfunctions.net/companies?name=Mus" \
-H "Authorization: ApiKey <your_api_key>"Example Request (by ID):
curl -X GET "https://your-api-domain.cloudfunctions.net/companies?id=123" \
-H "Authorization: ApiKey <your_api_key>"Example Response (200 OK):
[
{
"id": "123456789",
"name": "Mustercompany GmbH",
"address": "Example Street 1, 12345 Berlin",
// ... other fields
},
// ... more results (up to 50)
]Results are limited to 50 per request.
The current rate limit is X requests per minute (placeholder - please refer to specific limits provided with your API key).
If you exceed the rate limit, you will receive a 429 Too Many Requests error.
400 Bad Request
The request was malformed, e.g., a query parameter is missing or too short.
{
"error": "Query must be at least 3 characters."
}401 Unauthorized
The API key is missing from the Authorization header.
{
"error": "Missing API key"
}403 Forbidden
The API key provided is invalid or does not have permission to access the resource.
{
"error": "Invalid API key"
}429 Too Many Requests
You have exceeded the rate limit for your API key.
500 Internal Server Error
An unexpected error occurred on the server.
Ready to get started?
Obtain your API key and start integrating powerful German company search into your applications today.
Request API Key