Skip to main content

Get Vehicle Data

Description

Retrieve sensor-based vehicle source data, including door open status, tire pressure, and low fuel warning indicators.

Endpoint

GET https://api.pleos.ai/v1/vehicles/{vin}/status/data

Request

curl
curl -X GET "https://api.pleos.ai/v1/vehicles/{vin}/status/data?startDate=20250825&endDate=20250901&zoneId=UTC" \
-H "Authorization: Bearer <your_access_token>" \
-H "Brand: hyundai"

Header Params

ParameterTypeDescriptionRequired
AuthorizationstringAccess tokenRequired
BrandstringVehicle brand (hyundai/kia/genesis)Required

Path Params

ParameterTypeDescriptionRequired
vinstringVINRequired

Query Params

ParameterTypeDescriptionRequiredDefault
startDatestringyyyyMMddRequiredNone
endDatestringyyyyMMdd (Can only retrieve up to 7 days from the start date)RequiredNone
zoneIdstringTimezone IdOptionalUTC

Response

Success

200
{
"data": {
"trips": [
{
"triggerStartTime": "2025-09-01T10:00:00.000Z",
"tripLength": 10000,
"doors": {
"openAssistance": [
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close"
],
"openDriver": [
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close"
],
"openRearLeft": [
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close"
],
"openRearRight": [
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close",
"close"
]
},
"lamp": {
"setting": [
"lightSwOff",
"lightSwOff",
"lightSwOff",
"lightSwOff",
"lightSwOff",
"lightSwOff",
"lightSwOff",
"lightSwOff",
"lightSwOff",
"lightSwOff"
]
},
"tire": {
"pressureFrontLeft": [
255, 255, 255, 255, 255, 255, 255, 255, 255, 255
],
"pressureFrontRight": [
255, 255, 255, 255, 255, 255, 255, 255, 255, 255
],
"pressureRearLeft": [
255, 255, 255, 255, 255, 255, 255, 255, 255, 255
],
"pressureRearRight": [
255, 255, 255, 255, 255, 255, 255, 255, 255, 255
],
"pressureUnit": [
"psi",
"psi",
"psi",
"psi",
"psi",
"psi",
"psi",
"psi",
"psi",
"psi"
]
},
"warnings": {
"lowFuelLevel": [
"off",
"off",
"off",
"off",
"off",
"off",
"off",
"off",
"off",
"off"
]
},
"outsideTemperature": {
"value": [27.5, 27.5, 27.5, 27.5, 27.5, 27.5, 27.5, 27.5, 27.5, 27.5]
}
}
]
},
"meta": {
"code": 200,
"message": "Success",
"success": "true",
"timestamp": "2025-09-01T11:00:00Z",
"requestId": "835bdbd4-1105-4a8c-b438-a1b2c3d4f5g6"
}
}
data fieldTypeDescription
tripsarray of objectTrip data
└──── triggerStartTimestringEngine start time yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
└──── tripLengthlongDriving trip length (unit: ms)
└── doorsobjectDoor status information
└────── openAssistancearray of stringStatus of the front door on the passenger's side (open, close)
└────── openDriverarray of stringStatus of the front door on the driver's side (open, close)
└────── openRearLeftarray of stringStatus of the rear door on the left side (open, close)
└────── openRearRightarray of stringStatus of the rear door on the right side (open, close)
└── lampobjectLamp status information
└────── settingarray of stringStatus of the exterior lamp set by the user
- lightSwOff: Lights off
- tailSwOn: Tail lights on
- headLampLowSwOn: Headlamps on
- autoLightSwOn: Auto light feature on
└── tireobjectTire pressure information
└────── pressureFrontLeftarray of numberPressure of front left tire (0~254: valid, 255: invalid)
└────── pressureFrontRightarray of numberPressure of front right tire (0~254: valid, 255: invalid)
└────── pressureRearLeftarray of numberPressure of rear left tire (0~254: valid, 255: invalid)
└────── pressureRearRightarray of numberPressure of rear right tire (0~254: valid, 255: invalid)
└────── pressureUnitarray of stringUnit of tire pressure (psi, kpa, bar)
└── warningsobjectWarning light information
└────── lowFuelLevelarray of stringWarning indication of status of whether the fuel level is running low (on, off)
└── outsideTemperatureobjectVehicle outside temperature information
└────── valuearray of numberMeasured temperature outside the vehicle (unit: °C, range: -40~60)

Calculation of values in units of tire pressure

According to the 'tire.pressureUnit' setting, pressure values such as 'tire.pressureFrontLeft' must be converted before use.

Tire pressure unitTire pressure valuePhysical value conversion logicActual Physical Values
psi52No processing required52 psi
kpa72value * 5360 kpa
bar36value / 103.6 bar

Failure

4002
{
"error": {
"code": "4002",
"message": "Invalid request parameters",
"details": [],
"timestamp": "2025-09-01T12:00:00Z",
"requestId": "835bdbd4-1105-4a8c-b438-a1b2c3d4f5g6"
}
}
[Error Code]

For detailed descriptions of error code, refer to Error Code.