A developer friendly API for General Motors vehicles

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

What is Smartcar?

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

The best way to build apps for GM vehicles

Our RESTful API for GM is 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 GM telematics

Compatible with GM 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 GM vehicles

Our API platform is compatible with 36 vehicle brands including GM. Whether you have the Chevrolet Silverado, the Equinox, or the GMC Sierra, your app can connect to all General Motors models that support the Onstar app.

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.