# VIN to Registration

## Get vehicle registration details by VIN

> Get vehicle registration details by VIN

```json
{"openapi":"3.1.1","info":{"title":"AutoGrab API","version":"2.0.0"},"servers":[{"url":"https://api.autograb.com.au"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"ApiKey"}}},"paths":{"/v2/vehicles/vins/{vin}/registration":{"get":{"summary":"Get vehicle registration details by VIN","description":"Get vehicle registration details by VIN","parameters":[{"name":"vin","type":"string","required":true,"description":"The VIN number to lookup","in":"path"},{"name":"region","type":"string","enum":["au","nz","uk","my"],"description":"The region to perform this request in","in":"query"},{"name":"reference_id","type":"string","required":false,"description":"An optional reference id which will be stored against usage records if supplied","in":"query"}],"responses":{"200":{"description":"Success","schema":{"type":"object","properties":{"success":{"type":"boolean"},"plate":{"type":"string"},"plate_state":{"type":"string"},"vin":{"type":"string"}},"required":["success","plate","plate_state","vin"]}},"400":{"description":"Bad Request","schema":{"$ref":"#/definitions/ErrorSchema"}},"401":{"description":"Unauthorized","schema":{"$ref":"#/definitions/ErrorSchema"}},"404":{"description":"Not Found","schema":{"$ref":"#/definitions/ErrorSchema"}}},"tags":["Vehicles"]}}}}
```

### Example Usage

You can convert a VIN to its current related Regisation plate and state using the request below.&#x20;

{% code overflow="wrap" %}

```json
curl --location 'https://api.autograb.com.au/v2/vehicles/vins/LRW3F7FA1MC176142/registration?region=au' \
--header 'ApiKey: YOURKEY'
```

{% endcode %}

{% code overflow="wrap" %}

```json
{
    "success": true,
    "plate": "EHC383",
    "plate_state": "VIC",
    "vin": "LRW3F7FA1MC176142"
}
```

{% endcode %}


---

# 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/vehicle-search/vin-to-registration.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.
