> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# CarsXE

> Vehicle data: VIN decoding, license plate lookup in 50+ countries, market value, history, recalls, lien and theft checks, and year/make/model search.

![](https://mintcdn.com/webrouter/Wx0iBZkUGX_VAFTN/logo/data-apis/carsxe.webp?fit=max\&auto=format\&n=Wx0iBZkUGX_VAFTN\&q=85\&s=a29ef2074be0598298ea598e55649139)

[Web Catalog · Commerce](https://docs.webrouter.net/data-apis.md?category=commerce)

Needs&#x20;

`CARSXE_API_KEY`

Endpoints

9

Auth

Key in query

[Vendor docs](https://docs.carsxe.com/docs)

&#x20;·&#x20;

[Pricing](https://carsxe.com/pricing)

## Setup

| Variable | | What it is |
| - | - | - |
| `CARSXE_API_KEY` | required | A CarsXE API key (carsxe.com > Dashboard > Developer). Sent as the key query parameter. |

Put them in your environment or `.env`; [Data APIs](https://docs.webrouter.net/vendors.md) covers the other ways.

## Notes

* Every lookup deducts credits from the plan's monthly bundle, only on success: failed lookups and no-data errors are free. Costs per call are in each endpoint's notes.
* VINs are exactly 17 characters.
* Plan quotas answer 429 when exceeded; see the rate-limits guide.

## Endpoints

GET

Decode a VIN

Make, model, year, engine, trim, colours, equipment and warranties for a VIN.

[Open](#carsxe-vin-specs)

GET

Decode a license plate

Vehicle data, and usually the VIN, for a plate in 60+ countries (plate decoder v2).

[Open](#carsxe-plate-decode)

GET

Get a vehicle's market value

Wholesale, retail, trade-in and auction values by condition for a VIN, adjusted for mileage and state (v2).

[Open](#carsxe-market-value)

GET

Get a vehicle history report

Title, brand, junk/salvage and insurance records for a VIN.

[Open](#carsxe-history)

GET

Get open recalls for a VIN

Open safety recalls for one vehicle.

[Open](#carsxe-recalls)

GET

Get recalls by year, make and model

Open safety recalls for a model year, without a VIN.

[Open](#carsxe-recalls-ymm)

GET

Check liens and theft records

Active lien and theft records for a US vehicle.

[Open](#carsxe-lien-theft)

GET

Look up a vehicle by year, make and model

Vehicle data for a year/make/model (and trim) without a VIN.

[Open](#carsxe-ymm)

GET

Decode an OBD-II trouble code

Meaning of a diagnostic trouble code such as P0115.

[Open](#carsxe-obd-decode)

### Decode a VIN

GET

`/specs`

`carsxe.vin.specs`

Make, model, year, engine, trim, colours, equipment and warranties for a VIN.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `vin`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        17-character VIN.
      </td>
    </tr>

    <tr><td>`deepdata`</td><td>string</td><td>query</td><td>1 for extra data; much slower. One of `1`</td></tr>
    <tr><td>`disableIntVINDecoding`</td><td>string</td><td>query</td><td>1 to fail instead of falling back to international VIN decoding. One of `1`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.carsxe.com/docs/products/specifications) · Same job: [NHTSA vPIC](https://docs.webrouter.net/data-apis/nhtsa.md#nhtsa-vin-decode)

> [!NOTE]
>
> * 2 credits per successful lookup.

### Decode a license plate

GET

`/v2/platedecoder`

`carsxe.plate.decode`

Vehicle data, and usually the VIN, for a plate in 60+ countries (plate decoder v2).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `plate`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Registration or license plate number.
      </td>
    </tr>

    <tr>
      <td>
        `country`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        ISO 3166-1 alpha-2 code; optional for US.
      </td>
    </tr>

    <tr>
      <td>
        `state`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        US state, Australian state or Canadian province; required for AU and CA. For US, omit it (with country=US) to search every state.
      </td>
    </tr>

    <tr>
      <td>
        `district`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Required for Pakistan (PK) plates from Khyber-Pakhtunkhwa.
      </td>
    </tr>

    <tr>
      <td>
        `require_vin`
      </td>

      <td>
        boolean
      </td>

      <td>
        query
      </td>

      <td>
        ES only: always include a VIN; billed twice.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.carsxe.com/docs/products/plate-decoder)

> [!NOTE]
>
> * 5 credits per successful lookup. A US search without state answers \{results, count, billed\_credits} instead of one object.

### Get a vehicle's market value

GET

`/v2/marketvalue`

`carsxe.market_value`

Wholesale, retail, trade-in and auction values by condition for a VIN, adjusted for mileage and state (v2).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `vin`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        17-character VIN.
      </td>
    </tr>

    <tr>
      <td>
        `state`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        US state for the regional adjustment.
      </td>
    </tr>

    <tr>
      <td>
        `mileage`
      </td>

      <td>
        number
      </td>

      <td>
        query
      </td>

      <td>
        Current mileage; applies the matching mileage band to every condition tier.
      </td>
    </tr>

    <tr><td>`condition`</td><td>string</td><td>query</td><td>Echoed back; does not gate mileage adjustments. One of `excellent`, `clean`, `average`, `rough`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.carsxe.com/docs/products/market-value)

> [!NOTE]
>
> * 25 credits per successful lookup.

### Get a vehicle history report

GET

`/history`

`carsxe.history`

Title, brand, junk/salvage and insurance records for a VIN.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `vin`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        17-character VIN.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.carsxe.com/docs/products/vehicle-history)

> [!NOTE]
>
> * 25 credits per successful lookup.

### Get open recalls for a VIN

GET

`/v1/recalls`

`carsxe.recalls`

Open safety recalls for one vehicle.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `vin`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        17-character VIN.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.carsxe.com/docs/products/recalls)

> [!NOTE]
>
> * 5 credits per successful lookup.

### Get recalls by year, make and model

GET

`/v1/recalls-ymm`

`carsxe.recalls_ymm`

Open safety recalls for a model year, without a VIN.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`year` required</td><td>string</td><td>query</td><td>4-digit model year. Example `2019`</td></tr>
    <tr><td>`make` required</td><td>string</td><td>query</td><td>Manufacturer, case-insensitive. Example `Toyota`</td></tr>
    <tr><td>`model` required</td><td>string</td><td>query</td><td>Model, case-insensitive. Example `Camry`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.carsxe.com/docs/products/recalls)

```python Python theme={null}
router.call_data_api("carsxe.recalls_ymm", {'year': '2019', 'make': 'Toyota', 'model': 'Camry'})
```

```text MCP theme={null}
call_data_api(endpoint="carsxe.recalls_ymm", params={"year": "2019", "make": "Toyota", "model": "Camry"})
```

> [!NOTE]
>
> * 1 credit per successful lookup.

### Check liens and theft records

GET

`/v1/lien-theft`

`carsxe.lien_theft`

Active lien and theft records for a US vehicle.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `vin`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        17-character VIN.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://docs.carsxe.com/docs/products/lien-theft)

> [!NOTE]
>
> * 5 credits per successful lookup. US only.

### Look up a vehicle by year, make and model

GET

`/v1/ymm`

`carsxe.ymm`

Vehicle data for a year/make/model (and trim) without a VIN.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `year`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Model year.
      </td>
    </tr>

    <tr>
      <td>
        `make`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Manufacturer, e.g. Toyota.
      </td>
    </tr>

    <tr>
      <td>
        `model`

        required
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Model, e.g. Camry.
      </td>
    </tr>

    <tr>
      <td>
        `trim`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Trim, e.g. XLE.
      </td>
    </tr>

    <tr><td>`allTrimOptions`</td><td>string</td><td>query</td><td>1 to return every trim option. One of `1`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.carsxe.com/docs/products/year-make-model)

> [!NOTE]
>
> * 2 credits per successful lookup.

### Decode an OBD-II trouble code

GET

`/obdcodesdecoder`

`carsxe.obd.decode`

Meaning of a diagnostic trouble code such as P0115.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr><td>`code` required</td><td>string</td><td>query</td><td>The OBD code. Example `P0115`</td></tr>
  </tbody>
</table>

[Vendor docs](https://docs.carsxe.com/docs/products/obd-codes-decoder)

```python Python theme={null}
router.call_data_api("carsxe.obd.decode", {'code': 'P0115'})
```

```text MCP theme={null}
call_data_api(endpoint="carsxe.obd.decode", params={"code": "P0115"})
```

> [!NOTE]
>
> * 1 credit per successful lookup.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.