Skip to main content

Device Definitions API

Utility endpoints for Device Definitions.

Overview

The Device Definitions API provides helper functions for accessing vehicle device definitions that are now stored in Tableland, a decentralized cloud database. The API enables developers to decode Vehicle Identification Numbers (VINs) to retrieve corresponding device definition IDs and search for vehicle definitions by make, model, year, and other filters.

Base URL

https://device-definitions-api.dimo.zone

Endpoints

Submit a VIN decoding request

Submits a decoding request for vehicle identification number, returns the device definition ID corresponding to the VIN. Use application/json for raw body parameters.

Parameters

countryCodestringRequired
3-letter ISO 3166-1 alpha-3 country code. Examples: 'USA', 'CHL', 'JPN'.
vinstringRequired
The Vehicle Identitifcation Number (VIN) of the vehicle.
POST/device-definitions/decode-vin
const vinDecodeRequest = await dimo.DeviceDefinitions.decodeVin({
developerJwt: "eyJhbGc...ILlujqw",
countryCode: "USA",
vin: "1HGCM66886A015965"
})

Response

{
deviceDefinitionId: 'lexus_nx_2021',
newTransactionHash: ''
}