A developer friendly API for Tesla vehicles

Mobility apps and services use Smartcar’s API to verify vehicle mileage, manage EV charging, track fleets, and more. Our API platform allows vehicle owners to log in with their Tesla account and connect their car to your app in just a few clicks.

What is Smartcar?

Smartcar API enables developers to integrate their apps and services with Tesla vehicles. Easily retrieve car data and trigger actions with our simple and secure API for Tesla vehicles. Our Tesla API endpoints enable you to manage charging, track location, verify mileage, and much more.

The Smartcar difference

Instead of building your own Tesla integration, Smartcar's integration offers mobility businesses a range of benefits:

A powerful developer experience

Customizable, collaborative, and user-friendly features for faster development. Our developer tools include robust docs, 8 SDKs, consent management, test simulators, dashboard insights, and more.

Extensive vehicle support and growth

Integrate once and maintain a single integration across 37 car brands in North America and Europe.

A commitment to consumer data privacy

A granular permissions system that enhances data protection and transparency for vehicle owners.

The best way to build apps for Tesla vehicles

Our RESTful APIs for Tesla 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.

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
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
}

Product features

Compatible with Tesla telematics

Compatible with Tesla telematics

Extensive documentation and SDKs

Extensive documentation and SDKs

Friendly user consent flow

Friendly user consent flow

Trusted & secure

Trusted & secure

Access to live car data

Access to live car data

No need for aftermarket hardware

No need for aftermarket hardware

Compatible with your Tesla

Our API platform is compatible with 37 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.

What we’re building

All product names, logos, and brands are property of their respective owners. Use of these names, logos, and brands does not imply endorsement.