EV battery

EV charging reinvented

Read the battery level and charging status from electric vehicles across brands with a single API.

Percent remaining

Retrieve the state of charge (SOC) from a battery electric vehicle (BEV) or a plug-in hybrid vehicle (PHEV).

Range

Access the estimated distance an EV can travel with its current battery level.

Plugged in

Know whether an EV’s charging cable is plugged in.

State

Know whether an EV is currently charging.

Node

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
const smartcar = require('smartcar');

// Get all vehicles associated with this access token
const {vehicles} = await smartcar.getVehicleIds("<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 EV battery level
const battery = await vehicle.battery();
console.log(battery);

// Fetch the vehicle's charging status
const charge = await vehicle.charge();
console.log(charge);
// Example response from Smartcar (EV battery level)
{
  "percentRemaining": 0.3,
  "range": 40.5,
}

// Example response from Smartcar (charging status)
{
  "isPluggedIn": true,
  "state":"FULLY_CHARGED"
}

Product features

API SDKs in Node.js, Python, Java, and Go

API SDKs in Node.js, Python, Java, and Go

Compatible with 15 brands

Compatible with 15 brands

Access to live data

Access to live data

Batch requests

Batch requests

No aftermarket hardware

No aftermarket hardware

How to use it

EV charging

Fleet management

Monitor SOC and charging progress of your customer’s EV. Let them plan trips and create smart charging schedules.

Integrate efficient fuel and EV battery management into your fleet management product.

EV charging

Monitor SOC and charging progress of your customer’s EV. Let them plan trips and create smart charging schedules.

Fleet management

Integrate efficient fuel and EV battery management into your fleet management product.

Ready to get started?

Get Started

Ready to get started?

Get Started