# Plain-text Search

The Vehicle Search API allows you to search for matching vehicles by plain-text input. The API will return an array of vehicles and the confidence score in a match for that given vehicle.

The request requires a region, search string & API key. The default page length is 10, however, you can adjust this based on your requirements.

{% openapi src="<https://4010475651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFaCA1JqFKRrqIB0EfZlZ%2Fuploads%2FuDtxATuz0g12x4lhufjn%2Finsurance_updated.yaml?alt=media&token=2565c3ea-325e-4bf3-b8e4-31792a5c9e79>" path="/v2/vehicles/" method="get" %}
[insurance\_updated.yaml](https://4010475651-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFaCA1JqFKRrqIB0EfZlZ%2Fuploads%2FuDtxATuz0g12x4lhufjn%2Finsurance_updated.yaml?alt=media\&token=2565c3ea-325e-4bf3-b8e4-31792a5c9e79)
{% endopenapi %}

#### Example <a href="#example" id="example"></a>

{% code overflow="wrap" %}

```json
/v2/vehicles?region=au&search=2026 Toyota RAV4
```

{% endcode %}

**Example Payload**

```json
{
    "success": true,
    "vehicles": [
        {
            "id": "0172512978191803",
            "legacy_id": "0172512978191803",
            "badge": "GX",
            "make": "Toyota",
            "model": "RAV4",
            "series": null,
            "title": "2026 Toyota RAV4 GX Hybrid-Petrol Auto",
            "year": 2026,
            "body_config_type": null,
            "body_type": "SUV",
            "drive_type": "Front Wheel Drive",
            "engine_type": "Hybrid",
            "fuel_type": "Hybrid-Petrol",
            "transmission_type": "Automatic",
            "wheelbase_type": null,
            "roof_type": null,
            "capacity_cc": 2487,
            "power_kw": 143,
            "torque_nm": null,
            "range": null,
            "weight_kg": null,
            "battery_kwh": null,
            "num_cylinders": 4,
            "num_doors": 5,
            "num_gears": 5,
            "num_seats": 5,
            "model_year": "MY26",
            "release_month": 11,
            "release_year": 2025
        },
        {
            "id": "0196271430696017",
            "legacy_id": "0196271430696017",
            "badge": "GXL",
            "make": "Toyota",
            "model": "RAV4",
            "series": null,
            "title": "2026 Toyota RAV4 GXL Hybrid-Petrol Auto",
            "year": 2026,
            "body_config_type": null,
            "body_type": "SUV",
            "drive_type": "Front Wheel Drive",
            "engine_type": "Hybrid",
            "fuel_type": "Hybrid-Petrol",
            "transmission_type": "Automatic",
            "wheelbase_type": null,
            "roof_type": null,
            "capacity_cc": 2487,
            "power_kw": 143,
            "torque_nm": null,
            "range": null,
            "weight_kg": null,
            "battery_kwh": null,
            "num_cylinders": 4,
            "num_doors": 5,
            "num_gears": 5,
            "num_seats": 5,
            "model_year": "MY26",
            "release_month": 11,
            "release_year": 2025
        }
    ],
    "total": 2,
    "confidence": "standard"
}
```


---

# 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/plain-text-search.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.
