ImportOS · Документація
Довідник API

GET /v1/vin/{vin}

Decode a VIN and list known lots/listings

Decode a VIN and list known lots/listings

Decodes the VIN (NHTSA vPIC + WMI country/US-origin) and returns lots and listings with this VIN that the platform has seen (active and removed). If the decoder is down, specs is null with a warning and cached listings are still returned. Requires scope read:listings.

  • Автентифікація: заголовок Authorization: Bearer rv_live_... (API-ключі та scopes)
  • Потрібний scope: read:listings
Опис операції, параметрів і полів походить зі специфікації OpenAPI (openapi.json) і подається англійською, як у самому API.

Параметри

ПолеДеТипОбов’язк.Опис
vinpathstringтак17-character VIN (letters I, O, Q are not allowed). Spaces and dashes are ignored.

Відповіді

200

Decoded VIN and known listings.

application/json · Схема: VinResponse

ПолеТипОбов’язк.Опис
vinstringтак
validationobjectтак
validation.validbooleanтак
validation.warningsstring[]так
validation.check_digitobjectтак
specsobjectтакDecoded specs (NHTSA vPIC + WMI). null if the decoder is unavailable.
specs.vinstringтак
specs.makestring | nullтак
specs.modelstring | nullтак
specs.yearinteger | nullтак
specs.trimstring | nullтак
specs.body"sedan" | "hatchback" | "wagon" | "suv" | "crossover" | "coupe" | "convertible" | "minivan" | "van" | "pickup" | "truck" | "motorcycle" | "other" | nullтак
specs.fuel"petrol" | "diesel" | "hybrid" | "phev" | "ev" | "lpg" | "cng" | "hydrogen" | "other" | nullтак
specs.engineCcnumber | nullтак
specs.cylindersnumber | nullтак
specs.powerKwnumber | nullтак
specs.drive"fwd" | "rwd" | "awd" | "4wd" | nullтак
specs.gearbox"manual" | "automatic" | "cvt" | "robot" | "other" | nullтак
specs.plantCountrystring | nullтак
specs.wmiCountrystring | nullтак
specs.isUsOriginboolean | nullтак
decoderobjectтак
decoder.mode"live" | "test" | "mock"так
decoder.errorstring | nullтак
listingsobject[]такLots/listings with this VIN known to the platform cache, newest first.
listings[].source_keystringні
listings[].external_idstringні
listings[].urlstringні
listings[].titlestringні
listings[].status"active" | "removed"ніremoved: the listing disappeared from the source (usually sold or taken down).
listings[].priceobjectні
listings[].price_eurnumber | nullні
listings[].price_type"fixed" | "current_bid" | "buy_now" | "estimate" | "unknown"ні
listings[].mileage_kmnumber | nullні
listings[].market"us" | "eu" | "cn" | "kr" | "ua" | "ge"ні
listings[].auctionobjectні
listings[].location_countrystring | nullні
listings[].first_seen_atstring (date-time)ні
listings[].last_seen_atstring (date-time)ні
listings[].removed_atstring | null (date-time)ні
listings[].fetched_atstring (date-time)ні
warningsobject[]так
warnings[].codestringні
warnings[].messagestringні

400

Invalid request parameters or body (code validation_error).

application/problem+json · Схема: Problem

401

Missing, malformed, unknown, revoked or expired API key (code unauthorized).

application/problem+json · Схема: Problem

403

The API key lacks the scope required by this endpoint (code insufficient_scope).

application/problem+json · Схема: Problem

429

Rate limit exceeded for the tenant plan (code rate_limited). Wait Retry-After seconds.

application/problem+json · Схема: Problem

Приклад

curl -s "https://api.importos.app/v1/vin/1HGCM82633A004352" \
  -H "Authorization: Bearer $IMPORTOS_API_KEY"

На цій сторінці