> For the complete documentation index, see [llms.txt](https://devhub.autograb.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devhub.autograb.com/eu-autograb-api-doc/autograb-basics/api-test-cases.md).

# API Test Cases

Test your requests in a safe zero-cost way through our test case set.

You can use our test cases to confirm your implementation on our production endpoints. Requests using these values are not billable: sandbox responses carry `sandbox: true` and `billable: false`, and never reach an upstream data provider.

## Test Cases

The test cases are all linked. Every plate, VIN and vehicle ID below resolves to the same fake 2019 Toyota Corolla (vehicle ID `1111111111111111`, VIN `00000000000000000`). The EV cases resolve to a fake 2023 Tesla Model Y (vehicle ID `1111111111111112`, VIN `00000000000000010`). They work in every EU region: pass the `region` you are integrating against as usual.

Plates are matched case-insensitively and ignore spaces and hyphens, so `OK-999-A`, `ok999a` and `OK 999 A` are the same test plate.

### Universal values

These work in every AutoGrab region.

| Type               | Value               | Outcome                                                                                                             |
| ------------------ | ------------------- | ------------------------------------------------------------------------------------------------------------------- |
| Registration Plate | `REG4SUCCESS`       | Returns a successful lookup response with a high-quality vehicle match for an ICE vehicle                           |
| Registration Plate | `REG4SUCCESSEV`     | Returns a successful lookup response with a high-quality match for an EV                                            |
| Registration Plate | `REG4WARNING`       | Returns a successful lookup response with a low-match quality warning                                               |
| Registration Plate | `REG4NOMATCH`       | Returns the VIN and vehicle description but no matching vehicle                                                     |
| Registration Plate | `REG4VINONLY`       | Only returns the VIN and no other vehicle details                                                                   |
| VIN                | `00000000000000000` | Returns a valid VIN match for an ICE vehicle                                                                        |
| VIN                | `00000000000000010` | Returns a valid VIN match for an EV                                                                                 |
| Vehicle ID         | `1111111111111111`  | Can be used for /predict, /predict/conditions, /residual or /sourcing. Returns the same fixed prediction every time |
| Vehicle ID         | `1111111111111112`  | The EV vehicle ID, for the same endpoints                                                                           |

### Plates in each country's format

For tests that validate plate shape before calling us. Each set follows the country's issued format but sits in a series that is not and will not be issued, so no real vehicle can ever collide with it. The five outcomes are the same in every table: high-quality ICE match, high-quality EV match, low-match quality warning, VIN and description with no matching vehicle, and VIN only.

#### Netherlands (sidecode 9; the RDW never issues vowels, so the trailing `A` is never real)

| Value      | Outcome                                  |
| ---------- | ---------------------------------------- |
| `OK-999-A` | High-quality match, ICE vehicle          |
| `EV-999-A` | High-quality match, EV                   |
| `LW-999-A` | Low-match quality warning                |
| `NM-999-A` | VIN and description, no matching vehicle |
| `VN-999-A` | VIN only                                 |

#### Germany (no district code starts with `X`)

| Value       | Outcome                                  |
| ----------- | ---------------------------------------- |
| `X-OK 9999` | High-quality match, ICE vehicle          |
| `X-EV 9999` | High-quality match, EV                   |
| `X-LW 9999` | Low-match quality warning                |
| `X-NM 9999` | VIN and description, no matching vehicle |
| `X-VN 9999` | VIN only                                 |

#### France (SIV `ZZ-nnn-xx` is the last block of the series)

| Value       | Outcome                                  |
| ----------- | ---------------------------------------- |
| `ZZ-999-OK` | High-quality match, ICE vehicle          |
| `ZZ-999-EV` | High-quality match, EV                   |
| `ZZ-999-LW` | Low-match quality warning                |
| `ZZ-999-NM` | VIN and description, no matching vehicle |
| `ZZ-999-VN` | VIN only                                 |

#### Belgium (the `9-` series prefix is not in use)

| Value       | Outcome                                  |
| ----------- | ---------------------------------------- |
| `9-OKK-999` | High-quality match, ICE vehicle          |
| `9-EVV-999` | High-quality match, EV                   |
| `9-LOW-999` | Low-match quality warning                |
| `9-NOM-999` | VIN and description, no matching vehicle |
| `9-VIN-999` | VIN only                                 |

#### Luxembourg (the `ZZ` two-letter series is unissued)

| Value     | Outcome                                  |
| --------- | ---------------------------------------- |
| `ZZ 9991` | High-quality match, ICE vehicle          |
| `ZZ 9992` | High-quality match, EV                   |
| `ZZ 9993` | Low-match quality warning                |
| `ZZ 9994` | VIN and description, no matching vehicle |
| `ZZ 9995` | VIN only                                 |

#### Italy (`ZY nnn xx` is in the last blocks of the series)

| Value       | Outcome                                  |
| ----------- | ---------------------------------------- |
| `ZY 999 KK` | High-quality match, ICE vehicle          |
| `ZY 999 EV` | High-quality match, EV                   |
| `ZY 999 LW` | Low-match quality warning                |
| `ZY 999 NM` | VIN and description, no matching vehicle |
| `ZY 999 VN` | VIN only                                 |

#### Spain (`9999 Zxx` is the last block of the series; consonants only, as issued)

| Value      | Outcome                                  |
| ---------- | ---------------------------------------- |
| `9999 ZKK` | High-quality match, ICE vehicle          |
| `9999 ZVV` | High-quality match, EV                   |
| `9999 ZLW` | Low-match quality warning                |
| `9999 ZNM` | VIN and description, no matching vehicle |
| `9999 ZVN` | VIN only                                 |

## Supported Endpoints

Test cases are supported across a range of API endpoints listed below. If the endpoint you are testing with is not listed get in touch to request test data.

* `/valuations/predict`
* `/valuations/vins`
* `/valuations/registrations`
* `/valuations/residual`
* `/valuations/predict/conditions`
* `/sourcing/market_overlay`
* `/sourcing/market_overlay/statistics`

## Implementation Guide

An example implementation could run a test as part of an integration test or development process. For example, you could test a valuation flow by first using a registration plate to get the ID (which is also test data) and send that to a /predict to get a valuation and a market overlay.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://devhub.autograb.com/eu-autograb-api-doc/autograb-basics/api-test-cases.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
