API changelog

What changed in the VehiclesDB API, and what to do about it.

Every change to the hosted API that an existing integration could notice, newest first. Additions that cannot break a client (a new field, a new endpoint) are listed too, so you know they are there.

December 2026

Added

  • Public keys: the 403 origin_not_allowed refusal of a browser request now names the website it came from in its message and says the fix (add that website to the key's websites, at fix_url; add localhost to test on your own computer), and carries docs, the address of this reference. error, origin, fix_url and the status are unchanged.
  • 422 unknown_country carries countries, the codes that work, and 422 unknown_kind from /makes, /makes/{make_slug}/models, /makes/{make_slug}/models/{model_slug}/generations and /catalog carries kinds. country is read in any case, like kind: ?country=GB works like ?country=gb.
  • GET /api/v1/openapi.json redirects (302) to the OpenAPI document. An unknown path that looks like status, validate or kinds now gets the endpoint that answers it in did_you_mean.
  • Retired ids and slugs, as on every API endpoint: the release 2026.12.0 ids car/hyundai/tuscon, car/hyundai/tucson-ix35lm and car/citroen-ds/c3 answer 301 with the new id on /images and /full, and the make slug citroen-ds on /makes/{make_slug}.

November 2026

Breaking: read these before you upgrade

Image misses have two codes instead of one. GET /vehicles/{kind}/{make_slug}/{model_slug}/images used to answer every miss with 404 {"error": "no_image"}. It now says which miss it is:

  • unknown_model: the id is not in the dataset the API serves (a typo, or an id newer than the data). Resolve the name to an id first with POST /resolve.
  • no_image: a real vehicle with no image yet. Same code as before.

Upgrade: wherever you compare error with "no_image", accept "unknown_model" as well. Both are still free 404s.

A bad format is a 422. format takes webp or png. Anything else used to be served as webp without a word. It now answers 422 {"error": "invalid_format", "allowed": ["webp", "png"]}, like an unknown colour. Upgrade: send webp or png (case does not matter).

A wrong HTTP method is a 405. A real path asked with the wrong method (POST /makes) used to answer 404. It now answers 405 {"error": "method_not_allowed"} with an Allow header naming the right method. Upgrade: only matters if you branch on that 404.

One answer for kind collisions. When a name exists as several kinds of vehicle (the Iveco Daily is a van, a truck and a bus), POST /resolve without kind_hint now picks by the rule every VehiclesDB surface shares: the lowest mass_decile, then van, car, bus, truck, moped, motorcycle, then the id. Some unhinted answers change: iveco daily is now van/iveco/daily, and Mercedes-Benz Sprinter is the van, not the bus. The other kinds are still in alternates. Upgrade: if you know the kind, pass kind_hint (a preference) or the new kinds (a hard filter); stored ids never move.

Image answers: provenance now carries license_note only. provenance.license_note points at the Image & Asset License, which governs how you may use each image. Upgrade: if your code reads any other key under provenance, read license_note and the licence it links instead.

Deprecated, with a sunset date

GET /plates/{code}/match?plate=… keeps working until 10 May 2027. A registration is personal data, and a query string is logged by every proxy and CDN on the way, so send POST /plates/{code}/match with {"plate": "…"} in a JSON body instead. Answers to the GET carry Deprecation, Sunset and Link: rel="deprecation" headers.

render_serial: true (a render_url that draws the registration itself) also sunsets on 10 May 2027. Fill the privacy-safe template_url on your side instead (Plates::TemplateFill in the vehicles gem). Answers that use it carry the same headers.

Added

  • enrichment.dimensions, enrichment.colours and enrichment.list_prices on the full record (/vehicles/{kind}/{make_slug}/{model_slug}/full, plans with full records), after size_class. All three describe cars of the model registered in the Netherlands, from the Dutch vehicle register: each is an object with market: "nl", a basis saying what the figures are, as_of (the date of the register they were read from) and rows. dimensions gives, for the whole model (generation_id: null) and for each generation whose cars fall in it, the median and percentiles 1 and 99 of length, width, height, wheelbase, empty mass and maximum mass, weighted by registered cars, with how many cars and configurations stand behind them and their first-registration years. These are medians over registered cars, not manufacturer specifications. colours gives each first registered colour with its cars and share. list_prices gives, per first-registration year, percentiles 1, 10, 50, 90 and 99 of the Dutch catalogue price in euros, which includes Dutch VAT and BPM, the Dutch registration tax, so it does not compare with prices in other countries. Each is null on a record the register has no such figures for.
  • enrichment.specs_summary and enrichment.size_class on the full record (/vehicles/{kind}/{make_slug}/{model_slug}/full, plans with full records). specs_summary sums up the range across the configurations sold in the US and Canada, from the official fuel-economy data: powertrains, engines (powertrain, displacement, cylinders), ranges for displacement, cylinders, transmission speeds, electric motor power and interior volumes, drive, transmissions and the regulators' classes, each with the model years, markets and number of configurations that state it, and the dataset files behind it. It describes those markets only (scope: "market_configurations", markets), so show it with its markets and model years, never as the model's engines everywhere. size_class is small, medium, large or xl for cars, with the rule that set it, a confidence (high, medium, low), the years and markets it holds for, its basis and sources. Show high, show medium as likely, and never present low as a fact. Both are null on a record without them.
  • size_class on each model of GET /makes/{make_slug}/models, as {"class", "confidence"}, for keys whose plan includes full records, on models whose class we hold at high or medium confidence. Every other key gets the list exactly as before. On those plans the list's ETag also moves with our size-class data, and a list cached under one plan is never revalidated under another.
  • GET /makes/{make_slug}/models/{model_slug}/generations, the generation step of a make and model picker: the model's generations, oldest first, each with id, name, years (start, end) and ended. years.end is null while a generation is in production, or when it has ended and its last year is not sourced yet (ended tells the two apart). Codes and the sources behind each generation stay in the full record (/vehicles/{kind}/{make_slug}/{model_slug}/full). It works with a public key, costs no credit, and is ETagged like the other picker endpoints. Generations come with the full records your plan may include: without them the answer is a free 403 {"error": "plan_required", "feature": "generations"} whose available says how many generations we hold for that model, with an upgrade_url. A model with none on record yet answers an empty list. Pass kind when the same make and model slug is more than one vehicle. plan_required is a new error code.
  • GET /makes/{make_slug}/models: an X-VehiclesDB-Hint response header when one key calls it many times a minute from a server or a script (a private key, or a public key with no Origin and no Referer). It is one sentence pointing at GET /catalog, which returns every make with all its models in one free request, and at the dataset download. The body, status, cost and ETag are unchanged and nothing is blocked; the reference gives the threshold. The key's organization also gets one email about it, once.
  • Public keys: the 403 origin_not_allowed refusal carries fix_url, the page where the key's owner edits that key's allowed websites. A request with no Origin and no Referer (server code, a script, curl) gets a message that says so and names the private key (vdb_sk_…). error, origin and the status are unchanged. A key that allows any one of localhost, 127.0.0.1 or ::1 now allows all three, and a new key made for the make and model selector allows them from the start; remove them in Settings like any other website.
  • GET /makes/{make_slug}/models and GET /catalog: has_image on every model, true when the model has its image (the one /vehicles/{kind}/{make_slug}/{model_slug}/images serves by default). Ask for images only where it is true. The ETag of both responses now also changes when a model gains or loses its image, so an If-None-Match copy taken before this change is refetched once.
  • kind is read in any case: ?kind=CAR and ?kind=Car work like ?kind=car on /makes, /makes/{make_slug}/models and /catalog, and kind_hint and kinds on /resolve ignore surrounding spaces as well as case.
  • Plates: designs. One registration series is often issued on more than one design (the UK's white front and yellow rear plate, California's older bases). Every series in GET /plates/{code} and every match now carries designs (each with id, label, years, default, specimen, render_url and template_url) and design, the design its own URLs draw. A series with one look lists one design, default. Pass design (?design= on GET /plates/{code}, in the body of POST /plates/{code}/match) to get the URLs on that design; an id no series of the jurisdiction has is a free 422 unknown_design. The SVG and template endpoints take ?design= too. render_url for the default design is unchanged. A specimen: true design is a specimen photograph with its sample serial printed in: no template, and ?serial= does not apply.
  • Images: one model can now have an image per body (the Aixam 500 as a hatchback and as a pick-up). Every answer carries body (the body the served image shows), bodies (every body the model has images of) and requested_body. The new optional body parameter asks for one body; an unknown body is a free 422 unknown_body, and with fallback=none an unavailable body is a free 404 body_not_available. Without body nothing changes: you get the model's default body, in the same colour, at the same price. Each body is a separate billed answer, like each colour.
  • GET /makes: logo_url on every make, the address of its logo, or null when we serve none for it. Read it instead of asking /makes/{make_slug}/logo to find out: a make without a logo answers that with a 404. GET /makes/{make_slug} already carried it.
  • GET /search finds more of what people type: every word of the query is matched on its own ("datsun deluxe" finds the 1200 De Luxe, "golf volkswagen" the Golf), a typo in a model's name is forgiven ("vw gold" finds the Golf), and words no model carries, such as a year or an engine ("skoda octavia 2023"), are left out. When the results are for a query other than the one you sent, corrected_query says which. POST /resolve offers its alternates for a miss from the same search, so a miss now comes with better suggestions. Nothing else changed: a match is still only a match, and the answers keep their shape.
  • POST /resolve/batch: up to 100 inputs per call, one result per input in the single endpoint's shape, priced per input.
  • POST /resolve accepts kinds, a hard filter on every rung, and reads kind_hint and country_hint in any case.
  • Images: fallback=none (the exact colour or a free 404 color_not_available), expires_at on every answer, and former_id plus a VehiclesDB-Id header on a 301 for a renamed id.
  • Plates: reason (ok, unverifiable, excluded_letters, bad_shape, empty), excluded_letters, strict, near_misses, and passenger on the match and on every series.
  • GET /vehicles/{kind}/{make_slug}/{model_slug}/full: registration_years, the dataset's first and last first-registration year for the model. Registration years, not production years: a hint for a year picker, never a validation bound.
  • GET /makes/{make_slug}: former_slugs, the slugs a release merged into the make (renault-trucks on Renault). Asking for a former slug answers a free 301 to the make.
  • Every error carries error and message; a 401 adds WWW-Authenticate: Bearer.
  • GET /makes/{make_slug}/logo serves a logo for every make we hold one for. A few logo files are under a Creative Commons licence that asks for credit: GET /makes/{make_slug} carries it as logo_credit (text, author, license, license_url, source_url, changes; null for most makes), and the logo response repeats it in X-Logo-Credit and Link headers. Show that credit where you show the logo.
  • The API reference lists every error code each endpoint can return, with an example body for each, and marks every field that can be null. Nothing about the answers changed; the OpenAPI document is now strict enough to validate against.
  • Official clients for JavaScript (@vehiclesdb/client) and Python (vehiclesdb) join the vehicles gem. All three surface an error's error string as code.
  • The API serves dataset 2026.11.7 (it served 2026.11.4 until 2026-11-11). A retired id with a successor answers a 301 to it (former_ids).
  • The API serves dataset 2026.11.8 (2026.11.7 until 2026-11-11). It adds two records the manufacturer has announced or built before any register carries them (car/tesla/cybercab, truck/tesla/semi). The open dataset files gain a lifecycle object (status and production years); the API responses do not carry it yet.
  • The API serves dataset 2026.11.9 (2026.11.8 until 2026-11-12). Ten more models carry production years in the open dataset files (among them the Audi A3 and A6, Fiat 500, MINI Cooper and Toyota Camry, and the DeLorean DMC-12's 1981 to 1982 run). No id was added or retired, and no response field changed.
  • The API serves dataset 2026.11.11 (2026.11.9 before it; 2026.11.10 was not served). 71 records were folded into another existing record: each old id answers a 301 to its successor (former_ids); 66 records were added and 5 removed without a successor (their ids answer 404). The open dataset files gain each make's country of origin (country, country_tier, country_disputed: where the marque was founded); the API responses do not carry it yet.
  • The API serves dataset 2026.11.12 (2026.11.11 before it). GET /vehicles/{kind}/{make_slug}/{model_slug}/full gains last_observed: the countries of availability where a rolling register of new registrations counted the model within the last 12 months but not in its current window, each with the months of that last count ({"es": {"from": "2026-07", "to": "2026-09"}}). Such a country has no current count or rank. It is {} for most records; 360 records carry it, all for Spain. Three ids are added (moped/pure-electric/air6pro-suspension, and motorcycle/brixton/felsberg-250 and motorcycle/sym/joymax-z-125 again, which answered 404 on 2026.11.11), and bus/mercedes-benz/609-d answers a 301 to bus/mercedes-benz/609 (former_ids). 164 more makes carry a country of origin in the open dataset files.
  • The API serves dataset 2026.11.13 (2026.11.12 before it). One id is added (motorcycle/matchless/super-clubman); none is renamed or retired. More models carry generations, each with a manufacturer citation, among them the Volkswagen Golf, Toyota Corolla and Ford Fiesta: GET /makes/{make_slug}/models/{model_slug}/generations and /full return them on a plan with full records. No response field changed.
  • The API serves dataset 2026.11.14 (2026.11.13 before it). One id is added (car/forthing/v9); none is renamed or retired. On GET /vehicles/{kind}/{make_slug}/{model_slug}/full, enrichment.specs_summary and enrichment.size_class are now populated for the cars the data covers, on a plan with full records.
  • The API serves dataset 2026.11.15 (2026.11.14 before it). No id is added, renamed or retired. 114 more models carry generations (295 in all, 832 generations), and 34 models' generations are revised, among them the Audi A3's (now 8L, 8P, 8V and 8Y): GET /makes/{make_slug}/models/{model_slug}/generations and /full return them on a plan with full records. Registration ranks are refreshed. No response field changed.
  • The API serves dataset 2026.11.16 (2026.11.15 before it). No id is added, renamed or retired, and no country changes. No response field changed.
  • The API serves dataset 2026.12.0 (2026.11.16 before it). Three duplicate records are folded into the record they duplicated, and each old id answers a 301 to it (former_ids): car/hyundai/tuscon to car/hyundai/tucson, car/hyundai/tucson-ix35lm to car/hyundai/ix35, and car/citroen-ds/c3 to car/citroen/c3. The make citroen-ds is now a former slug of citroen (GET /makes/citroen-ds answers a 301). 30 cars change body_type (among them the Ford Edge to suv, the Renault Kangoo to mpv and the Nissan Navara to pickup), and 17 cars gain us in availability. 499 models carry generations (1,462 in all, 315 models before): GET /makes/{make_slug}/models/{model_slug}/generations and /full return them on a plan with full records. No response field changed.