With this API you can integrate the B&C Consulting tuning data such as stages, power & torque (original & modified), prices, etc, on your website or application. We provide a restful API, which basically means you send the proper HTTP verb to the URIs in our documentation below and you’ll receive a JSON response containing the data you need.
Notice: We do not provide technical assistance on how to implement the API in your website or application. The API documentation should be straightforward and easy to use for any experienced programmer who has worked with restful API’s before.
All api endpoints must be prefixed with the api base url.
https://tuning-api.bcconsulting.lu/api/*
Your server’s public IP must be set, meaning the server from where you’ll make the API calls from. In case you have ordered the API subscription from the B&C Consulting website, you can set 3 IPs per API token in your profile
All api endpoints are secured by https.
This API uses an Api Bearer Token for authentication,
The Api Token MUST be provided in the Authorization
header,
The Api Token MUST be provided for each request,
In case you have ordered the API subscription from the B&C Consulting website, you can find the API token in your profile.
Authorization: Bearer Z8QimJKQpIgrqdCTUsFtgM8WRhID01BJriPhHzLKVuavZ279e21
This api call lists all vehicle types present in the tuning database.
No paramters required |
application/json
[
...
{
"id": 1,
"name": "Cars"
},
...
]
This api call shows the details of the vehicle type requested.
vehicle_id |
ID of the Vehicle Type |
application/json
{
"id": 1,
"name": "Cars"
}
This api call lists all brands for the requested vehicle type.
vehicle_id |
ID of the Vehicle Type |
application/json
[
...
{
"id": 5,
"name": "BMW"
},
...
]
This api call shows the details of the brand requested.
vehicle_id |
ID of the Vehicle Type |
brand_id |
ID of the Vehicle Brand |
application/json
{
"id": 5,
"name": "BMW"
}
This api call lists all models for the requested brand.
vehicle_id |
ID of the Vehicle Type |
brand_id |
ID of the Vehicle Brand |
model_id |
ID of the Vehicle Model |
application/json
[
...
{
"id": 5359,
"name": "Serie 4"
},
...
]
This api call shows the details of the model requested.
vehicle_id |
ID of the Vehicle Type |
brand_id |
ID of the Vehicle Brand |
model_id |
ID of the Vehicle Model |
application/json
{
"id": 5359,
"name": "Serie 4"
}
This api call lists all modelyears for the requested model.
vehicle_id |
ID of the Vehicle Type |
brand_id |
ID of the Vehicle Brand |
model_id |
ID of the Vehicle Model |
application/json
[
...
{
"id": 8163,
"name": "F32\/33 LCI",
"long_name": "F32\/33 LCI - 05\/2016 -> ...",
"start_year": 2016,
"start_month": 5,
"end_year": null,
"end_month": null
},
...
]
This api call shows the details of the modelyear requested.
vehicle_id |
ID of the Vehicle Type |
brand_id |
ID of the Vehicle Brand |
model_id |
ID of the Vehicle Model |
year_id |
ID of the Vehicle Modelyear |
application/json
{
"id": 8163,
"name": "F32\/33 LCI",
"long_name": "F32\/33 LCI - 05\/2016 -> ...",
"start_year": 2016,
"start_month": 5,
"end_year": null,
"end_month": null
}
This api call lists all powertrains for the requested modelyear.
vehicle_id |
ID of the Vehicle Type |
brand_id |
ID of the Vehicle Brand |
model_id |
ID of the Vehicle Model |
year_id |
ID of the Vehicle Modelyear |
application/json
[
...
{
"id": 8618,
"name": null,
"flag": null,
"engine": {
"id": 5567,
"name": "114d",
"code": "N47D16",
"power": 95,
"torque": 235,
"fuel_type": "diesel"
}
},
...
]
This api call shows the details of the powertrain requested.
vehicle_id |
ID of the Vehicle Type |
brand_id |
ID of the Vehicle Brand |
model_id |
ID of the Vehicle Model |
year_id |
ID of the Vehicle Modelyear |
powertrain_id |
ID of the Powertrain |
application/json
{
"id": 7895,
"name": null,
"flag": null,
"engine": {
"id": 5130,
"name": "114d - 04/15 > ...",
"code": "B37",
"power": 95,
"torque": 220,
"fuel_type": "diesel",
"stages": [
{
"id": 6912,
"name": "Stage 1",
"power": "150",
"torque": "330",
"price": 490
}
]
},
"gearbox": null,
"options": {
"nl": [
"Start-Stop Deactivation",
"EGR OFF",
"DPF OFF"
],
"fr": [
"Start-Stop Deactivation",
"EGR OFF",
"DPF OFF"
],
"en": [
"Start-Stop Deactivation",
"EGR OFF",
"DPF OFF"
],
"de": [
"Start-Stop Deactivation",
"EGR OFF",
"DPF OFF"
],
"es": [
"Desactivación del sistema \"Start-stop\"",
"EGR OFF",
"DPF OFF"
]
}
}
vehicle_id |
ID of the Vehicle Type |
brand_id |
ID of the Vehicle Brand |
version |
Logo version ('dark' or 'light') |
format |
Logo format ('medium', 'small' or 'large') |
image/*
vehicle_id |
ID of the Vehicle Type |
brand_id |
ID of the Vehicle Brand |
model_id |
ID of the Vehicle Model |
image/*
vehicle_id |
ID of the Vehicle Type |
brand_id |
ID of the Vehicle Brand |
model_id |
ID of the Vehicle Model |
year_id |
ID of the Vehicle Modelyear |
image/*
vehicle_id |
ID of the Vehicle Type |
brand_id |
ID of the Vehicle Brand |
model_id |
ID of the Vehicle Model |
year_id |
ID of the Vehicle Modelyear |
powertrain_id |
ID of the Powertrain |
image/*