Company rest API

Failure score

The API returns limited company's failure score 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).

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

API endpoints

  • - production environment
  • - test environment

API request parameters

id Business id or duns number X


API response

businessId The company's business id
dunsNumber The company's duns number
failureScore The failure score is showing company's risk going bankrupt. It's shown in 0-100. 0 = no risk, 100 = very very high risk

API request and response example

curl '' -H 'ticket: 1234567890ABC'

Successful request and the API return results in JSON format.

  "businessId": "2014838-7",
  "dunsNumber": "539506084",
  "failureScore": 44

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.