Vehicle data

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

Get API keys →

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

DIMO provides a Tesla Model Y vehicle data API for 2020 and newer model years, delivered through Tesla's OEM cloud connection. This coverage is tested, not just expected, and includes odometer, charge level, remaining range, tire pressure and charging signals for this EV. Once the owner shares the vehicle, you query the data with a Vehicle JWT through the Telemetry API's GraphQL endpoint.

Signals by connection type

OEM cloud (no hardware) — Tesla (2020 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 Y 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 Y 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 verify Tesla Model Y mileage?

The Model Y reports the odometer signal over Tesla's cloud connection. To get a verifiable reading, call the Attestation API odometer-statement endpoint (POST /v2/attestation/odometer-statement/:tokenId) with a Vehicle JWT, then retrieve the rawVC through the Telemetry API.

How do I detect recharging on a Tesla Model Y?

Tesla's cloud connection lists the recharge event for the Model Y. Query the Telemetry API segments resource with the recharge detection mechanism, which uses charging signals and state of charge. The maximum date range per query is 31 days.

Can I get a webhook when a Tesla Model Y starts charging?

Yes. Tesla's cloud connection provides the charging status signal. Create a Vehicle Triggers API webhook on vss.powertrainTractionBatteryChargingIsCharging with the condition valueNumber == 1, then subscribe the vehicle to it. Webhooks are in public beta.

How do I authenticate to read Tesla Model Y data?

Get a Developer JWT, then exchange it through the Token Exchange API for a Vehicle JWT for the specific vehicle. The vehicle must be shared with your Developer License first. Send the Vehicle JWT in the Authorization header of Telemetry API requests.

Which Tesla Model Y model years work with DIMO?

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

Do I need hardware to get Tesla Model Y data?

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

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