Vehicle REST API
API returns vehicle technical details and user data of specific date
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.
Access to the interfaces is granted by agreement.
| Parameter | Description | |
|---|---|---|
| endUserId | Client side customer Id | X |
| historyDate | The date the data will be returned. Not over a year ago | X |
| id | Vehicle registration number or System Id | |
| type | 0=Moped 1=Car 2=Motorcycle 3=Tractor or motor-powered working vehicle 4=Off-road vehicle 5=Trailer | |
| vehicleClass | Vehicle class | |
| registerPlate |
Registration number | |
| vin | Vehicle identification number | |
| X = Mandatory | ||
EnduserId is end-user information of clients system, such as user name. Required, unknown in server side. Vehicle data is authority data thus searches must be traceable. Id, registration number or vin is required. Some unique register numbers or vins could match to multiple vehicles so in these cases either type or vehicle class is required.
curl 'https://api-test.bisnode.fi/vehicle/info/v1/history/[email protected]&historyDate=2020-01-01' -H 'x-api-key: 1234567890ABC
Successful request and the API return results in JSON format.
{
"id": {
"type": "1",
"registerPlate": "RPT-248",
"vin": "KNADN512AC6756176",
"previousregisterPlate": null
},
"details": {
"vehicleClass": "M1",
"makeCode": "762",
"make": "Kia",
"model": "RIO Monikäyttöajoneuvo (AF) 4ov 1396cm3 ",
"status": "3",
"vehicleGroup": null,
"usage": "01"
},
"owners": [
{
"bisnodeId": "FI2101006369103",
"financeCompany": false,
"deliveryRestriction": 0,
"socialSecurityNumber": null,
"businessId": null,
"dead": false,
"lastNameMainUnit": "Tuulispää",
"firstNameSubUnit": "Kanerva",
"customerType": "0",
"ownershipType": "01",
"validFrom": "2015-11-10T00:00:00Z",
"validTo": null,
"holdershipType": null,
"marketingBan": false,
"address": "Kumpulantie 3",
"postCode": "00520",
"postOffice": "HELSINKI",
"language": "fi",
"post": null
},
{
"bisnodeId": null,
"financeCompany": false,
"deliveryRestriction": 1,
"socialSecurityNumber": null,
"businessId": null,
"dead": false,
"lastNameMainUnit": null,
"firstNameSubUnit": null,
"customerType": "0",
"ownershipType": "02",
"validFrom": "2015-11-10T00:00:00Z",
"validTo": null,
"holdershipType": null,
"marketingBan": false,
"address": null,
"postCode": null,
"postOffice": null,
"language": "fi",
"post": null
}
],
"transferNotifications": null,
"registerPlateHistory": [
{
"type": "01",
"registerPlate": "RPT-248",
"validFrom": "2012-05-11T00:00:00Z"
}
],
"restrictions": [
{
"restrictionType": "10",
"restrictionTypeSubspecies": null
}
]
}