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 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


  • - production environment
  • - test environment

Request parameters

id Business id or duns number X



businessId The company's business id
dunsNumber The company's duns number

Request and response example

curl '' -H 'ticket: 1234567890ABC'

Successful request and the API return results in JSON format.

    "businessId": "2014838-7",
    "dunsNumber": "539506084",
    "probability": 0.0004803496979615595,
    "percentile": 82,
    "failureScore": 440.9173653781241

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.