Vehicle data

Hyundai Sonata vehicle data API: signals, model years and connection options

Get API keys →

DIMO gives developers API access to Hyundai Sonata vehicle data. Model years 2011 and newer connect with a DIMO device (DIMO LTE R1 or AutoPi). Headline signals include odometer, fuel percentage and vehicle speed.

DIMO provides a Hyundai Sonata vehicle data API for 2011 and newer model years, and the Sonata connects through a DIMO device. DIMO gives developers API access to vehicle-state data: diagnostics, fault codes, battery and fuel health, odometer, and maintenance signals. Vehicle owners consent to and control sharing, so builders get data with clear provenance. Coverage for this model is tested.

Signals by connection type

DIMO device — DIMO LTE R1 (2011 and newer)

SignalDIMO nameUnit
OdometerpowertrainTransmissionTravelledDistancekm
Fuel PercentagepowertrainFuelSystemRelativeLevel%
Vehicle Speedspeedkm/h
Vehicle Ignition StatusisIgnitionOn—
Engine RPMpowertrainCombustionEngineSpeedrpm
Coolant TemperaturepowertrainCombustionEngineECT°C
Air TemperatureexteriorAirTemperature°C
Back Left WheelchassisAxleRow2WheelLeftTirePressurekPa
Back Right WheelchassisAxleRow2WheelRightTirePressurekPa
Diagnostic Trouble CodesobdDTCList—
Distance with MIL OnobdDistanceWithMILkm
DTC CountobdStatusDTCCount—
Engine runtimeobdRunTimeseconds
Front Left WheelchassisAxleRow1WheelLeftTirePressurekPa
Front Right WheelchassisAxleRow1WheelRightTirePressurekPa
Fuel LevelpowertrainFuelSystemAbsoluteLevelliters
Fuel TypeobdFuelTypeName—
Low Voltage BatterylowVoltageBatteryCurrentVoltagevolts
OBD Device Plugged InobdIsPluggedIn—
Powertrain TypepowertrainType—
Throttle PositionpowertrainCombustionEngineTPS%
Altitude LevelcurrentLocationAltitudem
CoordinatescurrentLocationCoordinates—
HeadingcurrentLocationHeadingdegrees

DIMO device — AutoPi (2016 and newer)

SignalDIMO nameUnit
OdometerpowertrainTransmissionTravelledDistancekm
Fuel PercentagepowertrainFuelSystemRelativeLevel%
Vehicle Speedspeedkm/h
Engine RPMpowertrainCombustionEngineSpeedrpm
Coolant TemperaturepowertrainCombustionEngineECT°C
Air TemperatureexteriorAirTemperature°C
Barometric PressureobdBarometricPressurekPa
Commanded EGRobdCommandedEGR%
Distance Since DTC ClearobdDistanceSinceDTCClearkm
Distance with MIL OnobdDistanceWithMILkm
Engine Air IntakepowertrainCombustionEngineMAFgrams/second
Engine LoadobdEngineLoad%
Engine runtimeobdRunTimeseconds
Intake temperatureobdIntakeTemp°C
Long Term Fuel Trim (Bank 1)obdLongTermFuelTrim1%
Low Voltage BatterylowVoltageBatteryCurrentVoltagevolts
Manifold Absolute PressureobdMAPkPa
Powertrain TypepowertrainType—
Short Term Fuel Trim (Bank 1)obdShortTermFuelTrim1%
Supported Fuel TypespowertrainFuelSystemSupportedFuelTypes—
Throttle PositionpowertrainCombustionEngineTPS%
Warmups Since DTC ClearobdWarmupsSinceDTCClear—
Altitude LevelcurrentLocationAltitudem
CoordinatescurrentLocationCoordinates—

No factory connectivity?

Hyundai Sonata model years 2011 and newer have no OEM cloud connection listed. For these years, a DIMO device (DIMO LTE R1 or AutoPi) plugs into the OBD-II port and streams vehicle signals once the owner connects it and consents to sharing.

See the developer quickstart for how owners connect vehicles and grant access.

Events available

  • Idling
  • Refuel
  • Harsh braking
  • New diagnostic trouble code

Build it

Query the latest Hyundai Sonata 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 Hyundai Sonata signals
const data = await dimo.telemetry.query({
...vehicleJwt,
query: `
query {
signalsLatest(tokenId: ${tokenId}) {
powertrainTransmissionTravelledDistance {
value
timestamp
}
powertrainFuelSystemRelativeLevel {
value
timestamp
}
speed {
value
timestamp
}
}
}`,
});
console.log(JSON.stringify(data, null, 2));

Full walkthrough: Developer quickstart.

FAQ

Can I read fuel level remotely on a Hyundai Sonata?

Yes, with a DIMO device. The DIMO LTE R1 lists both Fuel Percentage and Fuel Level in liters, and the AutoPi lists Fuel Percentage. Query these through the Telemetry API with a Vehicle JWT, or use the segments query with the refuel mechanism to find where fuel level rises.

How do I track a Hyundai Sonata with no connected services?

Connect a DIMO device. The record lists the DIMO LTE R1 and the AutoPi for the Sonata. Once the owner shares the vehicle with your Developer License, exchange your Developer JWT for a Vehicle JWT and read its data through the Telemetry API.

Can I get check-engine light alerts for a Hyundai Sonata?

Yes, with the DIMO LTE R1, which lists the dtc event along with the Diagnostic Trouble Codes, DTC Count and Distance with MIL On signals. To get alerts pushed to your server, configure a webhook in the Vehicle Triggers API and subscribe the vehicle to it.

How do I detect idling on a Hyundai Sonata?

Use a DIMO device, which the segments docs require for idling detection. Both the DIMO LTE R1 and the AutoPi list the idling event. Call the Telemetry API segments query with the idling mechanism; the default idle RPM upper bound is 1000, and you can change it with maxIdleRpm.

How do I verify Hyundai Sonata mileage?

Read the odometer from a DIMO device, which both the DIMO LTE R1 and the AutoPi list. To get a verifiable record, call the Attestation API odometer-statement endpoint with a Vehicle JWT. Then retrieve the attested result through the Telemetry API.

Which Hyundai Sonata model years work with DIMO?

DIMO devices have been seen working on Hyundai Sonata model years 2011 and newer. For older vehicles, contact DIMO for additional support.

Do I need hardware to get Hyundai Sonata data?

Yes. DIMO lists no OEM cloud connection for the Hyundai Sonata, so data comes from a DIMO device.

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