Dun & Bradstreet

People rest API

Adult check

The API return information whether the person is adult or not, in JSON format, as specified by ID or person identification 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.

API endpoints

  • https://api.bisnode.fi/ihmiset/v1/Adult - production environment
  • https://api-test.bisnode.fi/ihmiset/v1/Adult - test environment

 

API response

Data element Description
Adult information Is the person adult or not (true or false).

 

API request parameters

Parameter                                                                                  Description                                                                                                                         
id Bisnode ID X
X = Mandatory



API request and response example

https://api.bisnode.fi/ihmiset/v1/Adult?id=FI2101004932316

Successful request and the API return results in JSON format

true