Dun & Bradstreet

Company rest API

Rating

The API returns company's rating and limit 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.

Endpoints

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


Request parameters

Parameter Description  
id Business id or duns number X
X = Mandatory

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

Response

Element Description
businessId Company's business id. e.g. 2014838-7
dunsNumber Company's duns number. e.g. 539506084
rating Company rating info. e.g AA
ratingDate Date of rating. e.g. 2017-06-06T00:00:00Z
ratingOperation Rating operation. e.g. C-VAKI
ratingBackround Rating backround. e.g. D-NEUT
ratingFinance Finance rating. e.g A-HYVÄ
ratingAbilityToPay Rating ability to pay. e.g. A-POSI
limit Limit. e.g. 254
limitDate Date of limit. e.g 2013-03-15T00:00:00Z


Request and response example

curl 'https://api-test.bisnode.fi/company/info/v2/rating/2014838-7' -H 'x-api-key: 1234567890ABC'

Successful request and the API return results in JSON format.

{
"businessId": "2014838-7",
"dunsNumber": "539506084",
"rating": {
"rating": "AA",
"ratingDate": "2017-06-06T00:00:00Z",
"ratingOperation": "C-VAKI",
"ratingBackround": "D-NEUT",
"ratingFinance": "B-TYYD",
"ratingAbilityToPay": "A-POSI",
"limit": 585,
"limitDate": "2017-06-06T00:00:00Z"
},
"ratingHistory": [
{
"rating": "AA",
"ratingDate": "2016-07-01T00:00:00Z",
"ratingOperation": "C-VAKI ",
"ratingBackround": "D-NEUT ",
"ratingFinance": "B-TYYD ",
"ratingAbilityToPay": "A-POSI ",
"limit": 396,
"limitDate": "2016-07-01T00:00:00Z"
},
{
"rating": "AAA",
"ratingDate": "2015-06-01T00:00:00Z",
"ratingOperation": "C-VAKI ",
"ratingBackround": "D-NEUT ",
"ratingFinance": "A-HYVÄ ",
"ratingAbilityToPay": "A-POSI ",
"limit": 631,
"limitDate": "2015-06-01T00:00:00Z"
},
{
"rating": "A",
"ratingDate": "2014-06-03T00:00:00Z",
"ratingOperation": "C-VAKI ",
"ratingBackround": "D-NEUT ",
"ratingFinance": "C-VÄLT ",
"ratingAbilityToPay": "A-POSI ",
"limit": 366,
"limitDate": "2014-06-03T00:00:00Z"
},
{
"rating": "AA",
"ratingDate": "2013-05-23T00:00:00Z",
"ratingOperation": "C-VAKI ",
"ratingBackround": "D-NEUT ",
"ratingFinance": "B-TYYD ",
"ratingAbilityToPay": "A-POSI ",
"limit": 439,
"limitDate": "2013-05-23T00:00:00Z"
},
{
"rating": "A ",
"ratingDate": "2013-03-15T00:00:00Z",
"ratingOperation": "",
"ratingBackround": "",
"ratingFinance": "",
"ratingAbilityToPay": "",
"limit": 254,
"limitDate": "2013-03-15T00:00:00Z"
},
{
"rating": "A",
"ratingDate": "2012-05-18T00:00:00Z",
"ratingOperation": "",
"ratingBackround": "",
"ratingFinance": "",
"ratingAbilityToPay": "",
"limit": 400,
"limitDate": "2012-05-18T00:00:00Z"
},
{
"rating": "AA",
"ratingDate": "2011-05-11T00:00:00Z",
"ratingOperation": "",
"ratingBackround": "",
"ratingFinance": "",
"ratingAbilityToPay": "",
"limit": 390,
"limitDate": "2011-05-11T00:00:00Z"
},
{
"rating": "A",
"ratingDate": "2010-05-05T00:00:00Z",
"ratingOperation": "",
"ratingBackround": "",
"ratingFinance": "",
"ratingAbilityToPay": "",
"limit": 130,
"limitDate": "2010-05-05T00:00:00Z"
},
{
"rating": "AAA",
"ratingDate": "2009-07-31T00:00:00Z",
"ratingOperation": "",
"ratingBackround": "",
"ratingFinance": "",
"ratingAbilityToPay": "",
"limit": 250,
"limitDate": "2009-07-31T00:00:00Z"
},
{
"rating": "AA",
"ratingDate": "2008-04-03T00:00:00Z",
"ratingOperation": "",
"ratingBackround": "",
"ratingFinance": "",
"ratingAbilityToPay": "",
"limit": 100,
"limitDate": "2008-04-03T00:00:00Z"
},
{
"rating": "AA",
"ratingDate": "2008-02-14T00:00:00Z",
"ratingOperation": "",
"ratingBackround": "",
"ratingFinance": "",
"ratingAbilityToPay": "",
"limit": 10,
"limitDate": "2008-02-14T00:00:00Z"
},
{
"rating": "A",
"ratingDate": "2007-05-02T00:00:00Z",
"ratingOperation": "",
"ratingBackround": "",
"ratingFinance": "",
"ratingAbilityToPay": "",
"limit": 10,
"limitDate": "2007-05-02T00:00:00Z"
},
{
"rating": "AA",
"ratingDate": "2007-04-04T00:00:00Z",
"ratingOperation": "",
"ratingBackround": "",
"ratingFinance": "",
"ratingAbilityToPay": "",
"limit": 10,
"limitDate": "2007-04-04T00:00:00Z"
},
{
"rating": "AN",
"ratingDate": "2006-05-17T00:00:00Z",
"ratingOperation": "",
"ratingBackround": "",
"ratingFinance": "",
"ratingAbilityToPay": "",
"limit": 4,
"limitDate": "2006-05-17T00:00:00Z"
},
{
"rating": "EIRA",
"ratingDate": "2006-02-13T00:00:00Z",
"ratingOperation": "",
"ratingBackround": "",
"ratingFinance": "",
"ratingAbilityToPay": "",
"limit": 0,
"limitDate": "2006-02-13T00:00:00Z"
}
]
}

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.