Get Company History
curl --request GET \
--url https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history \
--header 'Authorization: Bearer <token>'import requests
url = "https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history")
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{
"company_id": "<string>",
"company_name": "<string>",
"register_number": "<string>",
"company_history": {
"events": [
{
"id": "<string>",
"type": "<string>",
"status": "<string>",
"event_value": "<string>",
"event_date": "<string>",
"entry_number": "<string>",
"registered_capital": "<string>",
"company_name": "<string>",
"address": "<string>",
"location": "<string>",
"company_purpose": "<string>",
"general_representation_arrangement": "<string>",
"legal_form": "<string>",
"other_legal_relationships": "<string>",
"comments": "<string>",
"prokura_id": "<string>",
"representatives": [
{
"id": "<string>",
"is_company": true,
"city": "<string>",
"titles": [
"<string>"
],
"first_name": "<string>",
"last_name": "<string>",
"birth_name": "<string>",
"birth_date": "<string>",
"role": "<string>",
"job": "<string>",
"name": "<string>",
"register_court": "<string>",
"register_number": "<string>",
"register_prefix": "<string>",
"status": "<string>",
"representation_rule": "<string>",
"is_general_partner": true,
"person": {
"id": "<string>",
"full_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"birth_date": "<string>"
},
"company": {
"id": "<string>",
"name": "<string>",
"register_number": "<string>",
"register_court": "<string>"
}
}
]
}
]
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Company Endpoints 🏢
Get Company History
Get the history of a company by its id.
This endpoint returns the company’s history including:
- Historical events
- Representatives and their changes
- Limited partners and their changes
- Prokura and their changes
GET
/
companies
/
{company_id}
/
history
Get Company History
curl --request GET \
--url https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history \
--header 'Authorization: Bearer <token>'import requests
url = "https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://jobs-api.registercheck.de/api/v2/companies/{company_id}/history")
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{
"company_id": "<string>",
"company_name": "<string>",
"register_number": "<string>",
"company_history": {
"events": [
{
"id": "<string>",
"type": "<string>",
"status": "<string>",
"event_value": "<string>",
"event_date": "<string>",
"entry_number": "<string>",
"registered_capital": "<string>",
"company_name": "<string>",
"address": "<string>",
"location": "<string>",
"company_purpose": "<string>",
"general_representation_arrangement": "<string>",
"legal_form": "<string>",
"other_legal_relationships": "<string>",
"comments": "<string>",
"prokura_id": "<string>",
"representatives": [
{
"id": "<string>",
"is_company": true,
"city": "<string>",
"titles": [
"<string>"
],
"first_name": "<string>",
"last_name": "<string>",
"birth_name": "<string>",
"birth_date": "<string>",
"role": "<string>",
"job": "<string>",
"name": "<string>",
"register_court": "<string>",
"register_number": "<string>",
"register_prefix": "<string>",
"status": "<string>",
"representation_rule": "<string>",
"is_general_partner": true,
"person": {
"id": "<string>",
"full_name": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"birth_date": "<string>"
},
"company": {
"id": "<string>",
"name": "<string>",
"register_number": "<string>",
"register_court": "<string>"
}
}
]
}
]
}
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
HTTPBearerAPIKeyHeader
Enter your API key
Headers
Path Parameters
Response
Successful Response
Response model for company history endpoint
Was this page helpful?
⌘I
