Endpoints
- https://api.bisnode.fi/company/info/v3/scoring-ryg - production environment
- https://api-test.bisnode.fi/company/info/v3/scoring-ryg - test environment
Request parameters
Parameter | Description | |
---|---|---|
id | Business id or duns number | X |
X = Mandatory |
GET https://api-test.bisnode.fi/company/info/v3/scoring-ryg/{id}
Response
Element | Description |
---|---|
businessId | The company's business id |
dunsNumber | The company's duns number |
scoring | The element can contain the following options: R, Y or G. R: red, Y: yellow, G: green |
scoring_date |
Request and response example
curl 'https://api-test.bisnode.fi/company/info/v3/scoring-ryg/2014838-7' -H 'x-api-key: 1234567890ABC'
Successful request and the API return results in JSON format.
{ "businessId": "2014838-7", "dunsNumber": "539506084", "scoring": { "scoring": "G", "scoring_date": "2020-03-05T03:39:06Z" }, "scoringHistory": [ { "scoring": "Y", "scoring_date": "2020-01-21T13:58:27Z" } ] }