Skip to content

Endpoints

Version detail

One version, with its whole specification.

View as Markdown ↗

Fetch a version

GET/v1/versions/{id}

Returns every group unless fields narrows it. A version that does not exist, or is not published, is a 404.

Request
curl "https://autospec.launchit.ro/v1/versions/1375" \
  -H "X-API-Key: as_live_your_key"
Response
{
  "id": 1375,
  "path": "volkswagen/golf/viii-facelift-2024/1-5-etsi-116-hp-mild-hybrid-dsg",
  "slug": "1-5-etsi-116-hp-mild-hybrid-dsg",
  "name": "1.5 eTSI (116 Hp) Mild Hybrid DSG",
  "vehicle_type": "car",
  "make": { "id": 1, "path": "volkswagen", "name": "Volkswagen" },
  "model": { "id": 1, "path": "volkswagen/golf", "name": "Golf" },
  "generation": { "id": 111, "path": "volkswagen/golf/viii-facelift-2024", "name": "VIII (facelift 2024)" },
  "updated_at": "2026-09-26T20:43:13.890262",
  "production": { "start": "2024-04-01", "end": null, "in_production": true },
  "powertrain": { "kind": "hybrid", "hybrid": "mild", "plug_in": false, "fuels": ["petrol"], "two_stroke": null },
  "output": {
    "power": { "kw": 85.3, "hp": 116.0 },
    "torque": null,
    "engine_power": { "kw": 85.3, "hp": 116.0 },
    "motor_power": { "kw": 13.2, "hp": 18.0 }
  },
  "engine": {
    "displacement": { "value": 1498.0, "unit": "cm3" },
    "cylinders": 4,
    "layout": "inline",
    "position": "front",
    "orientation": "transverse",
    "aspiration": { "type": "turbo", "intercooled": true, "label": "Turbocharger, Intercooler" },
    "injection": "direct",
    "valvetrain": { "cam": "dohc", "valves_per_cylinder": 4, "variable_timing": null, "variable_lift": null },
    "bore_mm": null,
    "stroke_mm": null,
    "compression_ratio": null,
    "cooling": null,
    "code": "EA211 evo2 / DXDE"
  },
  "electric": {
    "motors": [
      { "position": "front", "type": null, "power": { "kw": 13.2, "hp": null }, "torque": null }
    ],
    "battery": { "gross": null, "net": null, "chemistry": "li_ion", "voltage": { "value": 48.0, "unit": "V" } },
    "recuperation_kw": null
  },
  "transmission": { "type": "dual_clutch", "gears": 7, "drive": "fwd", "final_drive": null },
  "performance": {
    "top_speed": { "value": 203.0, "unit": "km/h" },
    "acceleration_0_100": { "value": 9.9, "unit": "s", "source": "published" },
    "acceleration_0_60_mph": { "value": 9.4, "unit": "s", "source": "calculated" }
  },
  "efficiency": {
    "electric_range": { "preferred": null, "measurements": [] },
    "fuel_consumption": {
      "preferred": { "value": 5.3, "unit": "l/100km", "cycle": "wltp" },
      "measurements": [ { "value": 5.3, "unit": "l/100km", "cycle": "wltp" } ]
    },
    "fuel_consumption_urban": { "preferred": null, "measurements": [] },
    "fuel_consumption_extra_urban": { "preferred": null, "measurements": [] },
    "energy_consumption": { "preferred": null, "measurements": [] },
    "co2": {
      "preferred": { "value": 121.0, "unit": "g/km", "cycle": "wltp" },
      "measurements": [ { "value": 121.0, "unit": "g/km", "cycle": "wltp" } ]
    }
  },
  "emissions": { "standard": { "family": "euro", "level": "6", "variant": "EA" } },
  "body": {
    "type": "hatchback",
    "doors": { "options": [5] },
    "seats": { "options": [5] },
    "dimensions_mm": { "length": 4282, "width": 1789, "height": 1483, "wheelbase": 2620,
                       "front_track": null, "rear_track": null, "ground_clearance": null,
                       "seat_height": null },
    "weights_kg": { "kerb": { "value": 1260 }, "max": { "value": 1840 }, "dry": null },
    "capacities_l": { "boot_min": 381, "boot_max": 1237, "fuel_tank": null }
  },
  "chassis": {
    "front_suspension": { "layout": "macpherson", "anti_roll_bar": true, "travel_mm": null },
    "rear_suspension": null,
    "springs": "coil",
    "front_brakes": null,
    "rear_brakes": null,
    "rake_deg": null,
    "trail_mm": null,
    "steering": { "type": "rack_and_pinion", "assistance": "electric" },
    "tyres": [
      { "width": 205, "aspect": 55, "rim": 16.0 },
      { "width": 225, "aspect": 40, "rim": 18.0 }
    ]
  },
  "features": ["abs", "start_stop", "particulate_filter"],
  "notes": null
}

The groups

Every group is present for every powertrain and every kind of vehicle, empty where it does not apply, so a client never branches to find a field. An electric car has an engine group of nulls, a petrol car has an electric group with no motors, and a motorcycle has doors and a boot of nulls.

Group Holds
production Start and end dates, and whether it is still built.
powertrain Kind, hybrid type, whether it plugs in, and the fuels it takes.
output System power and torque, and the engine's and motors' share of it.
engine Displacement, cylinders, layout, aspiration, injection, valvetrain, bore and stroke, compression ratio, cooling, engine code.
electric Motors, battery capacity, chemistry and voltage.
transmission Gearbox type, number of gears, driven wheels, and a motorcycle's final drive.
performance Top speed and acceleration, with whether a figure was published or calculated.
efficiency Range, consumption, energy use and CO2, per test cycle.
emissions The emission standard.
body Body type, doors, seats, dimensions (with a motorcycle's seat height), weights (kerb, maximum and dry) and capacities.
chassis Suspension with wheel travel, brakes, steering, rake and trail, and tyre sizes.

fields=output,efficiency returns only those groups. features and notes come with fields=all, which is the default here.

A motorcycle

vehicle_type says whether a version is a car or a motorcycle. A motorcycle uses the same groups, and fills the fields a car leaves empty:

A motorcycle, shortened
{
  "path": "ducati/monster-937/2021-on/2021-2023",
  "name": "2021-2023",
  "vehicle_type": "motorcycle",
  "model": { "id": 9001, "path": "ducati/monster-937", "name": "Monster 937" },
  "engine": {
    "displacement": { "value": 937, "unit": "cm3" },
    "cylinders": 2,
    "layout": "v",
    "bore_mm": 94,
    "stroke_mm": 67.5,
    "compression_ratio": 13.3,
    "cooling": "liquid"
  },
  "transmission": { "type": "manual", "gears": 6, "drive": null, "final_drive": "chain" },
  "body": {
    "type": "naked",
    "dimensions_mm": { "wheelbase": 1474, "seat_height": 820 },
    "weights_kg": { "kerb": { "value": 188 }, "max": null, "dry": { "value": 166 } }
  },
  "chassis": {
    "front_suspension": { "layout": "upside_down_fork", "anti_roll_bar": null, "travel_mm": 130 },
    "rear_suspension": { "layout": "monoshock", "anti_roll_bar": null, "travel_mm": 140 },
    "rake_deg": 24,
    "trail_mm": 93,
    "tyres": [
      { "width": 120, "aspect": 70, "rim": 17, "position": "front" },
      { "width": 180, "aspect": 55, "rim": 17, "position": "rear" }
    ]
  }
}

A motorcycle's version is a model year, so its name is the year, or a stretch of years where nothing changed. body.type is its category. A tyre carries position only where front and rear differ, which on a motorcycle they do. Motorcycle specifications are sparser than car ones: coverage with vehicle_type=motorcycle reports how many versions carry each field.

The flat shape

GET/v1/versions/{id}?shape=flat

One level of plain values in canonical units, named with the unit: power_kw, kerb_weight_kg, co2_g_km. Lists become comma-separated text, test-cycle figures collapse to the preferred one, and ranges collapse to a single number. Use it for a table or an export, and the nested shape when you need the detail.

Response
{
  "id": 1375,
  "path": "volkswagen/golf/viii-facelift-2024/1-5-etsi-116-hp-mild-hybrid-dsg",
  "name": "1.5 eTSI (116 Hp) Mild Hybrid DSG",
  "vehicle_type": "car",
  "make": "Volkswagen",
  "model": "Golf",
  "generation": "VIII (facelift 2024)",
  "production_start": "2024-04-01",
  "production_end": null,
  "in_production": true,
  "powertrain_kind": "hybrid",
  "hybrid": "mild",
  "plug_in": false,
  "fuels": "petrol",
  "power_kw": 85.3,
  "power_hp": 116,
  "displacement_cc": 1498,
  "cylinders": 4,
  "transmission": "dual_clutch",
  "gears": 7,
  "drive": "fwd",
  "top_speed_kmh": 203,
  "accel_0_100_s": 9.9,
  "fuel_consumption_l_100km": 5.3,
  "co2_g_km": 121,
  "body_type": "hatchback",
  "length_mm": 4282,
  "kerb_weight_kg": 1260,
  "tyres": "205/55 R16;205/50 R17;225/45 R17;225/40 R18",
  "features": "abs,start_stop,particulate_filter"
}

The example is shortened. The full set of flat fields is id, path, name, vehicle_type, make, model, generation, production_start, production_end, in_production, powertrain_kind, hybrid, plug_in, fuels, two_stroke, power_kw, power_hp, torque_nm, engine_power_kw, motor_power_kw, displacement_cc, cylinders, cylinder_layout, aspiration, injection, valvetrain, cooling, engine_code, battery_gross_kwh, battery_net_kwh, battery_chemistry, motor_count, transmission, gears, drive, final_drive, top_speed_kmh, accel_0_100_s, accel_0_60_mph_s, electric_range_km, fuel_consumption_l_100km, fuel_consumption_kg_100km, fuel_consumption_urban_l_100km, fuel_consumption_extra_urban_l_100km, energy_consumption_kwh_100km, co2_g_km, emission_family, emission_level, emission_variant, body_type, doors, seats, length_mm, width_mm, height_mm, wheelbase_mm, ground_clearance_mm, seat_height_mm, kerb_weight_kg, gross_weight_kg, dry_weight_kg, boot_min_l, boot_max_l, fuel_tank_l, front_suspension, rear_suspension, front_brakes, rear_brakes, tyres, features, updated_at.