Dun & Bradstreet

People rest api

Autocomplete search

The API can be used to provide autocomplete functionality for text-based search, by returning name, street name and city information in JSON format.

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/Search - production environment
  • https://api-test.bisnode.fi/ihmiset/v1/Search - test environment

 

API response

 

Data element       Description                                                                                                                                                                  
BisnodeId The unique person id. e.g. FI2101004131266
Lastname Person's last name. e.g. Kankkunen
Firstname Person's first names (or name). e.g. Juha
Address It contains only the street name. Does not contains any street number information. e.g. Kauppakatu
PostOffice Person's current post office. e.g. Helsinki

 

API request parameters

Parameter                                                           Description                                                                                                                                                    
id The free text search. X
X = Mandatory

 

API request and response example

curl 'https://api.bisnode.fi/ihmiset/v1/Search?id=Hiltunen%20Helsinki' -H 'x-api-key: 1234567890ABC'

Successful request and the API return results in JSON form

{
"Persons": [
{
"BisnodeId": "FI2101004131266",
"Lastname": "Hiltunen",
"Firstname": "Pia",
"Address": "Kumpulantie",
"PostOffice": "HELSINKI"
},
{
"BisnodeId": "FI2101002140834",
"Lastname": "Hiltunen",
"Firstname": "Matti",
"Address": "Kauppakatu",
"PostOffice": "HELSINKI"
},
{
"BisnodeId": "FI2101002171442",
"Lastname": "Hiltunen",
"Firstname": "Seija",
"Address": "Koivutie",
"PostOffice": "HELSINKI"
}
],
"Total": 470118
}