Skip to content

Vehicles API

Every vehicle make and model, with body type and production years.

API key required OpenAPI API conventions

A reference list of vehicle manufacturers and the models they build, maintained by Bodek and used in production by Beat the Boot to identify vehicles.

Makes are deduplicated and normalised, so "Mercedes", "Mercedes-Benz" and "MERCEDES" all resolve to one record with a stable slug you can match on. Each model carries its body type and the years it was produced, as an ascending list of single years and ranges ("1985-2001,2023-", where a trailing hyphen means still in production). The parsed first and last year are also exposed as numbers, so "everything sold in 2015" is one filtered request.

Every make also carries its logo. The image is served by the API itself at /v1/vehicles/makes/{id}/logo, with its size, dimensions and sha256 checksum alongside the record, so a client can cache by content and never download the same artwork twice. Makes with no artwork on file answer with a drawn monogram, flagged as generated.

Calls need a Bodek API key; create one at https://api.bodek.us/keys.

Every call needs a key. Sign in to create one. Bodek API is included with the plans that cover it.

Endpoints

GET /v1/vehicles/makes Makes
GET /v1/vehicles/makes/{id} A single record
GET /v1/vehicles/makes/{id}/logo The make logo file
GET /v1/vehicles/models Models
GET /v1/vehicles/models/{id} A single record
GET /v1/vehicles/models/{id}/make_logo The make logo file

Try it

https://api.bodek.us/v1/vehicles/makes?limit=5

        
      

This panel sends no key, so it answers 401 — it is here to show you the shape of a request and the error envelope. Use curl with your own key to see data.

Makes

Vehicle manufacturers, one record each, with a stable slug for matching.

FieldTypeDescriptionFilterSearchSort
id integer Stable identifier for this make.
name string Display name, e.g. "Toyota".
slug string Lowercase, punctuation-free form — match on this.

Files on each record

NameKindDescriptionURL
logo image The manufacturer’s logo as a transparent PNG, at most 128px on its longest side.
A record with no file answers with drawn initials, flagged generated.
/makes/{id}/logo

Each file is served by the API itself and needs the same key. Every record carries the file's size, dimensions and SHA-256 checksum, so identical artwork is downloaded once. How files work.

curl "https://api.bodek.us/v1/vehicles/makes?limit=5&name=example&q=search+text" \
  -H "Authorization: Bearer $BODEK_API_KEY"

Models

Every model, with its make, body type and production years.

FieldTypeDescriptionFilterSearchSort
id integer Stable identifier for this model.
make_id integer The make this model belongs to.
make string Make name, e.g. "Honda".
make_slug string Lowercase make name — match on this.
name string Model name, e.g. "Accord".
slug string Lowercase model name — match on this.
body_type string Body style code: 4DSD, 2DSD, SUBN, PICK, VAN, HATCH, CONV, MCY and others.
years string Production years as an ascending list, e.g. "1985-2001,2023-". A trailing hyphen means still in production.
year_min integer First production year.
year_max integer Last production year, or 9999 while still in production.

Files on each record

NameKindDescriptionURL
make_logo image The logo of the make this model belongs to — the same file as on /makes, so it is fetched and cached once.
A record with no file answers with drawn initials, flagged generated.
/models/{id}/make_logo

Each file is served by the API itself and needs the same key. Every record carries the file's size, dimensions and SHA-256 checksum, so identical artwork is downloaded once. How files work.

curl "https://api.bodek.us/v1/vehicles/models?limit=5&make=example&q=search+text" \
  -H "Authorization: Bearer $BODEK_API_KEY"

Common questions

How do I get access to the Vehicles API?

Bodek API is included with the Bodek plans that cover it. Sign in, create a key on the keys page, and send it as an Authorization: Bearer header. A key is scoped to the APIs you pick, carries its own rate limits and expiry, and can be revoked at any time.

What format does it return?

JSON over HTTPS, one GET per collection, with the same filtering, search, sort and paging conventions on every endpoint. An OpenAPI 3.1 description is published at https://api.bodek.us/v1/vehicles/openapi.json.

Does it include images?

Yes. Images are part of the API: each record carries the file’s URL, content type, size, pixel dimensions and a SHA-256 checksum, and the bytes are served from the same API with the same key. Identical artwork shares one checksum, so each distinct image only has to be downloaded once.

How often does the data change?

It is maintained as production reference data, and responses carry an ETag so an unchanged request comes back as an empty 304. This API was last updated on 10 November 2026.

Limits

  • Up to 200 records per request (limit), 50 by default.
  • Rate limits are set per key, up to 600 requests a minute.
  • Responses are cached for up to 900 seconds and carry an ETag.
  • Files are served at up to 8 MB each, cached privately for 24 hours, and can be fetched in a browser with a signed URL.