Vehicle attributes API
Know the make, model, and year of your customer’s car.
Retrieve a vehicle’s make, model, and model year.
const smartcar = require('smartcar');
// Get all vehicles associated with this access token
const {vehicles} = await smartcar.getVehicles("<access-token>");
// Construct a new vehicle instance using the first vehicle's id
const vehicle = new smartcar.Vehicle(vehicles[0], "<access-token>");
// Fetch the vehicle's attributes
const vehicleAttributes = await vehicle.attributes();
// Example http response from Smartcar
{
"id": "36ab27d0-fd9d-4455-823a-ce30af709ffc",
"make": "TESLA",
"model": "Model S",
"year": 2014
}
Confirm the make, model, and year of your customer’s vehicle to detect misstated policy information.
Learn more about auto insuranceLearn more about the vehicle your customer drives and offer them personalized EV charging services.
Learn more about EV chargingSmartcar is the easiest way to integrate mobility apps and services with cars.