Mobility apps and services use Smartcar’s APIs to verify their customers’ mileage, issue digital car keys, manage EV charging, and track fleets. Our platform allows your customers with compatible Tesla vehicles to log in with their Tesla account and connect their car to your app in just a few clicks.
Smartcar enables mobility businesses to integrate their apps and services with Tesla vehicles. Easily retrieve vehicle data and trigger actions with our simple and secure car API. Tesla API endpoints enable you to manage charging, track location, verify mileage, and much more.
Our RESTful APIs are fast, reliable, and easy to use with every tech stack. No matter which framework your mobile or web app is built in, our documentation and SDKs support every major language.
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 location
const location = await vehicle.location();
// Example http response from Smartcar
{
"latitude": 37.4292,
"longitude": 122.1381
}
Our unified platform is compatible with 24 vehicle brands including Tesla. Whether you have the Tesla Model 3, Model X, or the new Model Y, your app can connect to all Tesla models that support the Tesla app.
Tesla, the Tesla logo, and its respective model names are a trademark of Tesla Inc. and does not indicate endorsement of or affiliation with Smartcar.