# API Test Cases

You can use our test cases to confirm your implementation on our production endpoints. All requests using these values are not billable.

## Test Cases

The test cases relate to each other with all related to the same set of vehicle IDs dependant on region.

<table><thead><tr><th width="146">Type</th><th width="111">Region</th><th width="218">Value</th><th>Outcome</th></tr></thead><tbody><tr><td>Registration Plate </td><td>United Kingdom</td><td><code>REG4SUCCESS</code></td><td>Returns a successful lookup response with a high-quality vehicle match</td></tr><tr><td>Registration Plate </td><td>United Kingdom</td><td><code>REG4WARNING</code></td><td>Returns a successful lookup response with a low-match quality warning</td></tr><tr><td>Registration Plate </td><td>United Kingdom</td><td><code>REG4NOMATCH</code></td><td>Returns the VIN and vehicle description but no matching vehicle</td></tr><tr><td>Registration Plate </td><td>United Kingdom</td><td><code>REG4VINONLY</code></td><td>Only returns the VIN and no other vehicle details</td></tr><tr><td>VIN</td><td>Australia</td><td>00000000000000000</td><td>Returns a valid VIN match in Australia</td></tr><tr><td>VIN</td><td>Malaysia</td><td>00000000000000001</td><td>Returns a valid VIN match in Malaysia</td></tr><tr><td>VIN</td><td>New Zealand</td><td>00000000000000002</td><td>Returns a valid VIN match in New Zealand</td></tr><tr><td>Vehicle ID</td><td>Australia</td><td>1111111111111111</td><td>Can be used for /Predict or /Sourcing to return outcomes.</td></tr><tr><td>Vehicle ID</td><td>Malaysia</td><td>2222222222222222</td><td>Can be used for /Predict or /Sourcing to return outcomes.</td></tr><tr><td>Vehicle ID</td><td>New Zealand</td><td>3333333333333333</td><td><p>Can be used for /Predict or </p><p>/Sourcing to return outcomes.</p></td></tr></tbody></table>

## 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.&#x20;

* `/valuations/predict`
* `/valuations/vins`
* `/valuations/registrations`
* `/valuations/residual`
* `/valuations/predict/conditions`
* `/sourcing/market_overlay`&#x20;
* `/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.&#x20;


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
