---
title: "Fuel consumption ratings for the vehicle a VIN decodes to."
method: GET
path: "/v1/vin/{vin}/fuel"
tags: ["VIN"]
---

# Fuel consumption ratings for the vehicle a VIN decodes to.

`GET /v1/vin/{vin}/fuel`

## Request

- Base URL: `https://open.wenmarpro.com`
- URL: `https://open.wenmarpro.com/v1/vin/{vin}/fuel`
- Auth: none declared

When the decode settles the engine, `engine_settled` is `true` and
`ratings` holds only the ratings matched to that engine. Otherwise it
holds every rating of the model year, as the vehicle route does.

## Path parameters

- `vin` string, required

## Query parameters

- `country` string
- `year` integer

## Response `200`

The ratings.

- VinFuel: The fuel ratings for the vehicle a VIN decodes to.
  - `as_of` FuelAsOf, required: The day each country's fuel ratings were current. Null for a country this server holds no ratings for.
    - `ca` string, nullable
    - `us` string, nullable
  - `attribution` string[], required
  - `decode` RecallDecode, required: What a VIN decoded to, as far as recalls need it.
    - `make` string, nullable
    - `model` string, nullable
    - `trim` string, nullable
    - `valid` boolean, required: Whether the check digit is right.
    - `vin` string, required
    - `year` integer, nullable
  - `engine` EngineRef: A catalog engine of the model year.
    - `id` string, required: The engine's id form, as in a vehicle id.
    - `label` string, required
    - `vin8` string, nullable: The characters in position 8 of a VIN that mean this engine.
  - `engine_settled` boolean, required: Whether `ratings` is narrowed to `engine`.
  - `ratings` FuelRating[], required
    - `co2_g_km` integer, nullable: Tailpipe carbon dioxide, combined.
    - `confidence` string, required: How far the rating was matched: `model` (the model year only), `engine` (one engine) or `submodel` (an engine and a trim).
    - `country` string, required: `us` or `ca`.
    - `cylinders` integer, nullable
    - `described_as` string, required: The source's own name for the vehicle rated.
    - `displacement_l` number, double, nullable
    - `drive` string, nullable
    - `engine` EngineRef: A catalog engine of the model year.
      - `id` string, required: The engine's id form, as in a vehicle id.
      - `label` string, required
      - `vin8` string, nullable: The characters in position 8 of a VIN that mean this engine.
    - `fuel_grade` string, required: The fuel the figures are for, which is the recommended grade.
    - `kwh_100km` number, double, nullable: Combined electricity use.
    - `l_100km` Consumption: City, highway and combined consumption in litres per 100 km.
      - `city` number, double, nullable
      - `combined` number, double, nullable
      - `highway` number, double, nullable
    - `match` string, required: How the model was found: `exact`, `base` or `curated`.
    - `mpg` Mpg: City, highway and combined economy in miles per US gallon.
      - `city` integer, nullable
      - `combined` integer, nullable
      - `highway` integer, nullable
    - `range_km` integer, nullable: On a full battery.
    - `range_mi` integer, nullable
    - `second_fuel` string, nullable: A second fuel the vehicle takes, such as `E85` or `Electricity`.
    - `source` string, required: `epa` or `nrcan`.
    - `source_id` string, nullable: EPA's id for the rating. Null for one from Natural Resources Canada.
    - `transmission` string, nullable
  - `vehicle` RecallVehicle: The model year an answer is about.
    - `id` string, required: The id of the year, make and model.
    - `make` string, required
    - `model` string, required
    - `year` integer, required
  - `warnings` Warning[], required
    - `code` string, required: `invalid_check_digit`, `model_year_unknown`, `no_patterns` or `model_unresolved`. More may be added.
    - `message` string, required
    - `suggestions` string[]: VINs the caller may have meant.

## Other responses

- `400`: `invalid_vin`, or `validation_failed` for `country` or `year`.
- `404`: `not_found`: no manufacturer is registered for the first three characters. `dataset_unavailable`: this server holds no fuel ratings, or none for the country asked for.

---

[API](https://skmtc.dev/wenmarpro/apis/wenmar-open.md) · [All operations](https://skmtc.dev/wenmarpro/apis/wenmar-open/llms.txt) · [OpenAPI document](https://skmtc.dev/wenmarpro/apis/wenmar-open/revisions/1027b548b6f0?raw)
