Vehicle data

Tesla Model 3 vehicle data API: signals, model years and connection options

Get API keys →

DIMO gives developers API access to Tesla Model 3 vehicle data. Model years 2018 and newer connect through the OEM cloud (Tesla). Headline signals include odometer, current charge level and vehicle speed.

DIMO gives developers API access to vehicle-state data: diagnostics, fault codes, battery and fuel health, odometer, and maintenance signals. The Tesla Model 3 connects through Tesla's cloud connection, an OEM cloud integration, and covers 2018 and newer model years. This coverage has been tested, not just expected. Vehicle owners consent to and control sharing, so builders get data with clear provenance. DIMO adds vehicle-state depth on top of GPS tracking; it doesn't replace it.

Signals by connection type

OEM cloud (no hardware) — Tesla (2018 and newer)

SignalDIMO nameUnit
OdometerpowertrainTransmissionTravelledDistancekm
Current Charge LevelpowertrainTractionBatteryStateOfChargeCurrent%
Vehicle Speedspeedkm/h
Range (remaining)powertrainRangekm
Air TemperatureexteriorAirTemperature°C
AC Current Charge (Alternating Current)powertrainTractionBatteryChargingChargeCurrentACamps
Back Driver Side DoorcabinDoorRow2DriverSideIsOpen—
Back Driver Side WindowcabinDoorRow2DriverSideWindowIsOpen—
Back Left WheelchassisAxleRow2WheelLeftTirePressurekPa
Back Passenger Side DoorcabinDoorRow2PassengerSideIsOpen—
Back Passenger Side WindowcabinDoorRow2PassengerSideWindowIsOpen—
Back Right WheelchassisAxleRow2WheelRightTirePressurekPa
Battery PowerpowertrainTractionBatteryCurrentPowerwatts
Charge LimitpowertrainTractionBatteryChargingChargeLimit%
Charging Cable ConnectedpowertrainTractionBatteryChargingIsChargingCableConnected—
Charging StatuspowertrainTractionBatteryChargingIsCharging—
Charging VoltagepowertrainTractionBatteryChargingChargeVoltageUnknownTypevolts
Front Driver Side DoorcabinDoorRow1DriverSideIsOpen—
Front Driver Side WindowcabinDoorRow1DriverSideWindowIsOpen—
Front Left WheelchassisAxleRow1WheelLeftTirePressurekPa
Front Passenger Side DoorcabinDoorRow1PassengerSideIsOpen—
Front Passenger Side WindowcabinDoorRow1PassengerSideWindowIsOpen—
Front Right WheelchassisAxleRow1WheelRightTirePressurekPa
Remaining EnergypowertrainTractionBatteryStateOfChargeCurrentEnergykWh
Session EnergypowertrainTractionBatteryChargingAddedEnergykWh
CoordinatescurrentLocationCoordinates—

Events available

  • Recharge

Build it

Query the latest Tesla Model 3 signals with the DIMO TypeScript SDK. The vehicle owner must first share access with your app through DIMO Connect.

import { DIMO } from '@dimo-network/data-sdk';
const dimo = new DIMO('Production');
const tokenId = Number(process.env.DIMO_TOKEN_ID); // from DIMO Connect
const developerJwt = await dimo.auth.getDeveloperJwt({
client_id: process.env.DIMO_CLIENT_ID,
domain: process.env.DIMO_REDIRECT_URI,
private_key: process.env.DIMO_API_KEY,
});
const vehicleJwt = await dimo.tokenexchange.getVehicleJwt({
...developerJwt,
tokenId,
});
// Latest Tesla Model 3 signals
const data = await dimo.telemetry.query({
...vehicleJwt,
query: `
query {
signalsLatest(tokenId: ${tokenId}) {
powertrainTransmissionTravelledDistance {
value
timestamp
}
powertrainTractionBatteryStateOfChargeCurrent {
value
timestamp
}
speed {
value
timestamp
}
}
}`,
});
console.log(JSON.stringify(data, null, 2));

Full walkthrough: Developer quickstart.

FAQ

How do I detect recharging on a Tesla Model 3?

Tesla's cloud connection provides the recharge event for the Model 3. Query the Telemetry API segments resource with the recharge mechanism, which uses charging signals and state of charge, or use a Vehicle Triggers webhook on a charging signal such as vss.powertrainTractionBatteryChargingIsCharging.

How do I verify Tesla Model 3 mileage?

Tesla's cloud connection provides the odometer signal. Call the Attestation API odometer-statement endpoint with a Vehicle JWT to generate a verifiable attestation, then retrieve it through the Telemetry API.

Can I read state of charge remotely on a Tesla Model 3?

Yes. Tesla's cloud connection provides the Current Charge Level signal (powertrainTractionBatteryStateOfChargeCurrent). Exchange a Developer JWT for a Vehicle JWT, then query the vehicle in the GraphQL Telemetry API; the owner must have shared the vehicle with you.

Which Tesla Model 3 model years work with DIMO?

Tesla Model 3 model years 2018 and newer connect through the OEM cloud (Tesla). For older vehicles, contact DIMO for additional support.

Do I need hardware to get Tesla Model 3 data?

No. Every listed Tesla Model 3 model year connects through the OEM cloud without hardware.

Source: DIMO vehicle compatibility records. Coverage tested on a connected vehicle. Last verified .