Skip to content

Endpoints

Models

The nameplates under a make, with the years each was on sale.

View as Markdown ↗

List models

GET/v1/models
Request
curl "https://autospec.launchit.ro/v1/models?make=volkswagen&q=golf" \
  -H "X-API-Key: as_live_your_key"
Response
{
  "items": [
    {
      "id": 1,
      "path": "volkswagen/golf",
      "slug": "golf",
      "name": "Golf",
      "vehicle_type": "car",
      "make": { "id": 1, "path": "volkswagen", "name": "Volkswagen" },
      "production": { "start": 1974, "end": null },
      "generation_count": 39,
      "notes": null,
      "updated_at": "2026-09-03T22:53:36.333479"
    }
  ],
  "next_cursor": null,
  "limit": 50
}

Filters

Filter Type Operators Meaning
make custom = Make id or slug. A comma means any of several.
q text = Matches the name.
year custom = .between .gte .lte On sale at some point in this year (or span).
body one of body = Has a generation with this body. A comma means any of several.
tier one of make_tier = .not Only models from makes of this kind: mainstream, luxury, exotic or specialist. A comma means any of several. .not leaves those kinds out instead.
market one of market = Only models from makes sold in this market, now or in the past, such as europe. A comma means any of several.
powertrain_kind one of powertrain_kind = Only models with a published version of this powertrain: combustion, hybrid, electric, fuel_cell. A comma means any of several. The counts on the page then count only what matches.
vehicle_type one of vehicle_type = Which kind of model: car or motorcycle. A comma means either. Left out, it is car.

Sort by name, id, year_start, with - in front to reverse.

A model is one kind of vehicle, and so is everything beneath it. The list answers with cars unless it is told otherwise: vehicle_type=motorcycle lists motorcycles, vehicle_type=car,motorcycle both.

make takes an id or a slug, and a comma for several: make=volkswagen,audi. Under a powertrain_kind filter, generation_count counts only the generations that have such a version.

market=europe and tier=mainstream,luxury (or tier.not=exotic,specialist) narrow the list by the make each record belongs to: where it is sold, and what kind of maker it is. See makes.

One model

GET/v1/models/{id}

Fields

Field Type Description
id integer Never changes.
path string make/model, in slugs.
vehicle_type string car or motorcycle.
make object The make's id, path and name.
production.start, production.end year or null The years the nameplate was on sale: from its first generation's start to its last generation's end. No end means a generation is still being built. Both are null only when no generation carries a year.
generation_count integer Published generations, or the matching ones under a powertrain_kind filter.
updated_at instant When the record last changed.