Etsi
Company rest API

Branches

The API returns company's branches information in JSON format, as specified by business id or duns number.

In order to use the API you must have the valid environment-specific username and password. Before any API requests, you need to obtain an API KEY. You will get a valid API KEY (it's called a ticket) by using the ticket API (Please, read how to use ticket API instructions).

The API KEY must be sent in the request custom header element (named ticket or x-api-key). If the API KEY value is valid then API request will be successful (http status code 200), otherwise it will fail (http status code 401). All API requests must be made over HTTPS. Request the username and password

Endpoints

  • https://api.bisnode.fi/company/info/v2/branches - production environment
  • https://api-test.bisnode.fi/company/info/v2/branches/ - test environment

Request parameters

ParameterDescription 
id Business id or duns number X

GET https://api-test.bisnode.fi/company/info/v2/branches/{id}

Response

ElementDescription
businessId Company's business id. e.g. 2014838-7
dunsNumber Company's duns number. e.g. 539506084
branchDunsNumber  
branchName  
postalAddress_streetAddress  
postalAddress_postCode  
postalAddress_postOffice  
visitingAddress_streetAddress  
visitingAddress_postCode  
visitingAddress_postOffice  
phoneNumber  
municipalityCode  
lineOfBusinessCode  
personnelClassCode  

Request and response example

curl 'https://api-test.bisnode.fi/company/info/v2/branches/0109862-8' -H 'x-api-key: 1234567890ABC'

Successful request and the API return results in JSON format.

{
  "businessId": "0109862-8",
  "dunsNumber": "368468435",
  "branches": [
    {
      "branchDunsNumber": "539834610",
      "branchName": "K-Citymarket",
      "postalAddress_streetAddress": "Keskuskatu 39",
      "postalAddress_postCode": "38700",
      "postalAddress_postOffice": "KANKAANPÄÄ",
      "visitingAddress_streetAddress": "Keskuskatu 39",
      "visitingAddress_postCode": "38700",
      "visitingAddress_postOffice": "KANKAANPÄÄ",
      "phoneNumber": "",
      "municipalityCode": "214",
      "lineOfBusinessCode": "47191",
      "personnelClassCode": 4
    },
    {
      "branchDunsNumber": "368544397",
      "branchName": "KESKO PALVELUT",
      "postalAddress_streetAddress": "Sörnäistenkatu 2",
      "postalAddress_postCode": "00580",
      "postalAddress_postOffice": "HELSINKI",
      "visitingAddress_streetAddress": "Sörnäistenkatu 2",
      "visitingAddress_postCode": "00580",
      "visitingAddress_postOffice": "HELSINKI",
      "phoneNumber": "",
      "municipalityCode": "091",
      "lineOfBusinessCode": "82990",
      "personnelClassCode": 1
    }
  ]
}

SWAGGER - Developer REST API documentation - read more »

Please note that data coverage varies between companies. Data coverage depends e.g. on company form. Remember the codes and descriptions API returns all companies REST APIs code values and descriptions - read more.