import Openregister from 'openregister';
const client = new Openregister({
apiKey: process.env['OPENREGISTER_API_KEY'], // This is the default and can be omitted
});
const response = await client.company.getDetailsV1('company_id');
console.log(response.id);import os
from openregister import Openregister
client = Openregister(
api_key=os.environ.get("OPENREGISTER_API_KEY"), # This is the default and can be omitted
)
response = client.company.get_details_v1(
company_id="company_id",
)
print(response.id)package main
import (
"context"
"fmt"
"github.com/oregister/openregister-go"
"github.com/oregister/openregister-go/option"
)
func main() {
client := openregister.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Company.GetDetailsV1(
context.TODO(),
"company_id",
openregister.CompanyGetDetailsV1Params{},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.ID)
}
openregister company get-details-v1 \
--api-key 'My API Key' \
--company-id company_idcurl --request GET \
--url https://api.openregister.de/v1/company/{company_id} \
--header 'Authorization: Bearer <token>'<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.openregister.de/v1/company/{company_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://api.openregister.de/v1/company/{company_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.openregister.de/v1/company/{company_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"register": {
"register_number": "<string>",
"register_type": "HRB",
"register_court": "<string>",
"company_id": "<string>",
"start_date": "2023-12-25"
},
"registers": [
{
"register_number": "<string>",
"register_type": "HRB",
"register_court": "<string>",
"company_id": "<string>",
"start_date": "2023-12-25"
}
],
"status": "active",
"name": {
"name": "<string>",
"legal_form": "ag",
"start_date": "2023-12-25"
},
"names": [
{
"name": "<string>",
"legal_form": "ag",
"start_date": "2023-12-25"
}
],
"address": {
"city": "<string>",
"country": "<string>",
"start_date": "2023-12-25",
"formatted_value": "<string>",
"street": "<string>",
"postal_code": "<string>",
"extra": "<string>"
},
"addresses": [
{
"city": "<string>",
"country": "<string>",
"start_date": "2023-12-25",
"formatted_value": "<string>",
"street": "<string>",
"postal_code": "<string>",
"extra": "<string>"
}
],
"purpose": {
"purpose": "<string>",
"start_date": "2023-12-25"
},
"purposes": [
{
"purpose": "<string>",
"start_date": "2023-12-25"
}
],
"capital": {
"amount": 123,
"currency": "EUR",
"start_date": "2023-12-25"
},
"capitals": [
{
"amount": 123,
"currency": "EUR",
"start_date": "2023-12-25"
}
],
"representation": [
{
"id": "<string>",
"name": "<string>",
"type": "natural_person",
"role": "DIRECTOR",
"role_detail": {
"code": "DIRECTOR",
"label_de": "<string>",
"label_de_short": "<string>",
"label_en": "<string>",
"label_en_short": "<string>"
},
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"authority": "<string>",
"authority_since": "2023-12-25",
"authority_detail": {
"type": "SOLE",
"self_dealing_allowed": true
},
"legal_person": {
"name": "<string>",
"city": "<string>",
"country": "<string>"
},
"natural_person": {
"city": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "2023-12-25",
"title": "<string>"
}
}
],
"representation_rule": "<string>",
"indicators": [
{
"date": "2023-12-25",
"report_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"short_year": true,
"balance_sheet_total": 123,
"net_income": 123,
"revenue": 123,
"cash": 123,
"employees": 123,
"equity": 123,
"real_estate": 123,
"materials": 123,
"pension_provisions": 123,
"salaries": 123,
"taxes": 123,
"liabilities": 123,
"capital_reserves": 123
}
],
"legal_form": "ag",
"documents": [
{
"id": "<string>",
"type": "articles_of_association",
"date": "2023-12-25",
"latest": true
}
],
"incorporated_at": "2023-12-25",
"notarized_at": "2023-12-25",
"terminated_at": "2023-12-25",
"merged_into": {
"company_id": "<string>",
"name": "<string>",
"registration_date": "2023-12-25",
"agreement_date": "2023-12-25"
},
"acquisitions": [
{
"company_id": "<string>",
"name": "<string>",
"registration_date": "2023-12-25",
"agreement_date": "2023-12-25"
}
],
"asset_spin_offs": [
{
"company_id": "<string>",
"name": "<string>",
"registration_date": "2023-12-25",
"agreement_date": "2023-12-25"
}
],
"profit_transfer_agreement": {
"company_id": "<string>",
"name": "<string>",
"registration_date": "2023-12-25",
"agreement_date": "2023-12-25"
},
"industry_codes": {
"WZ2025": [
{
"code": "<string>",
"label_de": "<string>",
"primary": true,
"subclasses": [
{
"code": "<string>",
"label_de": "<string>",
"primary": true
}
]
}
]
},
"contact": {
"website_url": "<string>",
"social_media": {
"linkedin": "<string>",
"instagram": "<string>",
"github": "<string>",
"twitter": "<string>",
"facebook": "<string>",
"youtube": "<string>",
"xing": "<string>",
"tiktok": "<string>"
},
"email": "<string>",
"phone": "<string>",
"vat_id": "<string>"
},
"estimates": {
"revenue": {
"value": 123,
"min": 123,
"max": 123,
"confidence": "high",
"date": "2023-12-25"
},
"ebitda": {
"value": 123,
"min": 123,
"max": 123,
"confidence": "high",
"date": "2023-12-25"
},
"employees": {
"value": 123,
"min": 123,
"max": 123,
"confidence": "high",
"date": "2023-12-25"
}
},
"sources": [
{
"document_url": "<string>"
}
],
"lei": "<string>",
"insolvencies": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_status": "preliminary",
"court": "<string>",
"case_number": "<string>",
"proceeding_kind": "regular_insolvency",
"administration_kind": "external_administration",
"opened_at": "2023-12-25",
"closed_at": "2023-12-25"
}
]
}Company information
import Openregister from 'openregister';
const client = new Openregister({
apiKey: process.env['OPENREGISTER_API_KEY'], // This is the default and can be omitted
});
const response = await client.company.getDetailsV1('company_id');
console.log(response.id);import os
from openregister import Openregister
client = Openregister(
api_key=os.environ.get("OPENREGISTER_API_KEY"), # This is the default and can be omitted
)
response = client.company.get_details_v1(
company_id="company_id",
)
print(response.id)package main
import (
"context"
"fmt"
"github.com/oregister/openregister-go"
"github.com/oregister/openregister-go/option"
)
func main() {
client := openregister.NewClient(
option.WithAPIKey("My API Key"),
)
response, err := client.Company.GetDetailsV1(
context.TODO(),
"company_id",
openregister.CompanyGetDetailsV1Params{},
)
if err != nil {
panic(err.Error())
}
fmt.Printf("%+v\n", response.ID)
}
openregister company get-details-v1 \
--api-key 'My API Key' \
--company-id company_idcurl --request GET \
--url https://api.openregister.de/v1/company/{company_id} \
--header 'Authorization: Bearer <token>'<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.openregister.de/v1/company/{company_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://api.openregister.de/v1/company/{company_id}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.openregister.de/v1/company/{company_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "<string>",
"register": {
"register_number": "<string>",
"register_type": "HRB",
"register_court": "<string>",
"company_id": "<string>",
"start_date": "2023-12-25"
},
"registers": [
{
"register_number": "<string>",
"register_type": "HRB",
"register_court": "<string>",
"company_id": "<string>",
"start_date": "2023-12-25"
}
],
"status": "active",
"name": {
"name": "<string>",
"legal_form": "ag",
"start_date": "2023-12-25"
},
"names": [
{
"name": "<string>",
"legal_form": "ag",
"start_date": "2023-12-25"
}
],
"address": {
"city": "<string>",
"country": "<string>",
"start_date": "2023-12-25",
"formatted_value": "<string>",
"street": "<string>",
"postal_code": "<string>",
"extra": "<string>"
},
"addresses": [
{
"city": "<string>",
"country": "<string>",
"start_date": "2023-12-25",
"formatted_value": "<string>",
"street": "<string>",
"postal_code": "<string>",
"extra": "<string>"
}
],
"purpose": {
"purpose": "<string>",
"start_date": "2023-12-25"
},
"purposes": [
{
"purpose": "<string>",
"start_date": "2023-12-25"
}
],
"capital": {
"amount": 123,
"currency": "EUR",
"start_date": "2023-12-25"
},
"capitals": [
{
"amount": 123,
"currency": "EUR",
"start_date": "2023-12-25"
}
],
"representation": [
{
"id": "<string>",
"name": "<string>",
"type": "natural_person",
"role": "DIRECTOR",
"role_detail": {
"code": "DIRECTOR",
"label_de": "<string>",
"label_de_short": "<string>",
"label_en": "<string>",
"label_en_short": "<string>"
},
"start_date": "2023-12-25",
"end_date": "2023-12-25",
"authority": "<string>",
"authority_since": "2023-12-25",
"authority_detail": {
"type": "SOLE",
"self_dealing_allowed": true
},
"legal_person": {
"name": "<string>",
"city": "<string>",
"country": "<string>"
},
"natural_person": {
"city": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"date_of_birth": "2023-12-25",
"title": "<string>"
}
}
],
"representation_rule": "<string>",
"indicators": [
{
"date": "2023-12-25",
"report_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"short_year": true,
"balance_sheet_total": 123,
"net_income": 123,
"revenue": 123,
"cash": 123,
"employees": 123,
"equity": 123,
"real_estate": 123,
"materials": 123,
"pension_provisions": 123,
"salaries": 123,
"taxes": 123,
"liabilities": 123,
"capital_reserves": 123
}
],
"legal_form": "ag",
"documents": [
{
"id": "<string>",
"type": "articles_of_association",
"date": "2023-12-25",
"latest": true
}
],
"incorporated_at": "2023-12-25",
"notarized_at": "2023-12-25",
"terminated_at": "2023-12-25",
"merged_into": {
"company_id": "<string>",
"name": "<string>",
"registration_date": "2023-12-25",
"agreement_date": "2023-12-25"
},
"acquisitions": [
{
"company_id": "<string>",
"name": "<string>",
"registration_date": "2023-12-25",
"agreement_date": "2023-12-25"
}
],
"asset_spin_offs": [
{
"company_id": "<string>",
"name": "<string>",
"registration_date": "2023-12-25",
"agreement_date": "2023-12-25"
}
],
"profit_transfer_agreement": {
"company_id": "<string>",
"name": "<string>",
"registration_date": "2023-12-25",
"agreement_date": "2023-12-25"
},
"industry_codes": {
"WZ2025": [
{
"code": "<string>",
"label_de": "<string>",
"primary": true,
"subclasses": [
{
"code": "<string>",
"label_de": "<string>",
"primary": true
}
]
}
]
},
"contact": {
"website_url": "<string>",
"social_media": {
"linkedin": "<string>",
"instagram": "<string>",
"github": "<string>",
"twitter": "<string>",
"facebook": "<string>",
"youtube": "<string>",
"xing": "<string>",
"tiktok": "<string>"
},
"email": "<string>",
"phone": "<string>",
"vat_id": "<string>"
},
"estimates": {
"revenue": {
"value": 123,
"min": 123,
"max": 123,
"confidence": "high",
"date": "2023-12-25"
},
"ebitda": {
"value": 123,
"min": 123,
"max": 123,
"confidence": "high",
"date": "2023-12-25"
},
"employees": {
"value": 123,
"min": 123,
"max": 123,
"confidence": "high",
"date": "2023-12-25"
}
},
"sources": [
{
"document_url": "<string>"
}
],
"lei": "<string>",
"insolvencies": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"current_status": "preliminary",
"court": "<string>",
"case_number": "<string>",
"proceeding_kind": "regular_insolvency",
"administration_kind": "external_administration",
"opened_at": "2023-12-25",
"closed_at": "2023-12-25"
}
]
}Get company information
Returns comprehensive company data including registration details, management, financial indicators, contact information, and complete historical changes. Cost: 10 credits (20 credits withrealtime=true)
What’s Included
- Management and signatories in
representation: managing directors (Geschäftsführer), board members (Vorstand), general partners, liquidators and Prokuristen, current and past. See Roles. - Share capital (Stammkapital, Grundkapital) in
capitaland its history incapitals: a decimal amount with itscurrency, not cents. - Key financial indicators in
indicators: revenue, net income, equity, employees and more per fiscal year. Monetary values are integers in euro cents. For full balance sheets and income statements, use financials. - Estimated financials in
estimates: modelled revenue, EBITDA and employees for companies that do not publish them, with an 80% range and a confidence tier. See estimated financials. - Register data: name and legal form, register court and number, address, business purpose, industry codes and status. Names, addresses, purposes and registers also come with their history.
Realtime Parameter
Addrealtime=true to fetch the latest data directly from the Handelsregister. Costs an additional 10 credits. Use for compliance checks or when you need guaranteed current data.
Roles
Each entry inrepresentation carries a role and a role_detail — see Roles.
Insolvency Data
When the company has insolvency proceedings, the response includes aninsolvencies array with a summary of each proceeding. Use the insolvency endpoint to retrieve the full event history of a proceeding.Authorizations
API Key Authentication Provide your API key as a Bearer token in the Authorization header.
Rejected keys return a JSON body {"message": "..."} naming the reason:
- 401
API key is missing,API key is invalid,API key is disabledorAPI key has expired - 429
API key rate limit exceededorAPI key usage limit exceeded
Query Parameters
Get the most up-to-date company information directly from the Handelsregister. When set to true, we fetch the latest data in real-time from the official German commercial register, ensuring you receive the most current company details. Note: Real-time requests take longer but guarantee the freshest data available.
Response
Successfully retrieved company data
The company's current general representation rule (allgemeine Vertretungsregelung), as published in the register. Example: "Ist nur ein Geschäftsführer bestellt, so vertritt er die Gesellschaft allein. Sind mehrere Geschäftsführer bestellt, so wird die Gesellschaft durch zwei Geschäftsführer oder durch einen Geschäftsführer gemeinsam mit einem Prokuristen vertreten."
Was this page helpful?

