How to make API requests for company data using registerID: Germany vs. other countries

A guide on using the registerId and additional parameters for API requests in Germany and internationally, with practical examples for Belgium.

For making an API request for companies in Germany, using the registerId, you need to use both the registerId and the name of the city. Here is an example:

https://www.northdata.com/_api/company/v1/company?api_key=XXXX-XXXX&registerId=HRB%20209848&registerCity=Braunschweig&output=xml

For other countries than Germany, you should use the country code in addition to the registerId. Here is an example for an API call for a company in Belgium, using registerId: https://www.northdata.com/_api/company/v1/company?api_key=XXXX-XXXX&output=json&fuzzyMatch=true&extras=true&countries=BE&registerId=KBO%200881.653.685

You can find the companies' register IDs for different countries in the following table: https://github.com/northdata/api/blob/master/doc/data-api-userguide/data-api-userguide.md#appendix-h-register-ids-in-supported-countries