GET Maintenance
Gets a vehicle's maintenance information within +-10,000 miles of the submitted mileage. The maintenance is both OEM scheduled maintenance and additional maintenance items that may not be part of an OEM's regular schedule. Can use VIN or year, make, mile to fetch the data.
This endpoint provides the following data:
- Name of item
- Due mileage
- Cost of repair
- Parts needed for repair
HTTP REQUEST
GET /maint?vin=<vin>&mileage=<mileage>
GET /maint?year=<year>&make=<make>&model=<model>&mileage=<mileage>
GET /maint?vin=<vin>&mileage=<mileage>&unit=<unit>
GET /maint?year=<year>&make=<make>&model=<model>&mileage=<mileage>&unit=<unit>
ENDPOINT DEFINITION
GET https://api.carscan.com/v3.0/maint?vin=<vin>&mileage=<mileage>
GET https://api.carscan.com/v3.0/maint?year=<year>&make=<make>&model=<model>&mileage=<mileage>
GET https://api.carscan.com/v3.0/maint?vin=<vin>&mileage=<mileage>&unit=<unit>
GET https://api.carscan.com/v3.0/maint?year=<year>&make=<make>&model=<model>&mileage=<mileage>&unit=<unit>
Year, Make, Model, Engine parameter information is provided from GET Year, Make, Model, Engine endpoints.
PARAMETERS (option 1)
-
vin
Vehicle identification number
-
mileage
Miles driven by this vehicle.
-
unit optional
The unit of odometer.
PARAMETERS (option 2)
-
year
Vehicle year
-
make
Vehicle make
-
model
Vehicle model
-
mileage
Miles driven by this vehicle.
-
unit optional
The unit of odometer.
API Reference
ENDPOINThttps://api.carscan.com/v3.0/maint?vin=1GNALDEK9FZ108495&mileage=51000
https://api.carscan.com/v3.0/maint?year=2015&make=CHEVROLET&model=EQUINOX&mileage=51000
https://api.carscan.com/v3.0/maint?year=2015&make=CHEVROLET&model=EQUINOX&mileage=82000&unit=km
{
"vin":"1GNALDEK9FZ108495",
"mileage":51000
}
{
"year":"2015",
"make":"CHEVROLET",
"model":"EQUINOX",
"mileage":51000
}
{
"year":"2015",
"make":"CHEVROLET",
"model":"EQUINOX",
"mileage":82000,
"unit":"km"
}
{
"message":{...},
"data":[{
"desc":"Inspect For Fluid Leaks",
"due_mileage":52500,
"due_km":0,
"is_oem":True,
"repair":{
"repair_difficulty":2,
"repair_hours":0.0,
"labor_rate_per_hour":106.38,
"part_cost":6.15,
"labor_cost":0.0,
"misc_cost":0.0,
"total_cost":6.15
},
"parts":[{
"desc":"Engine Oil",
"manufacturer":"",
"price":"6.15",
"qty":"1"
}]
},
{...}]
}