# AutoTempest Models API Documentation

Returns the models of one make as slug, display name and the first and last model year AutoTempest knows. Use the slug as model in /search. An unknown make answers a 404 with error.code NOT_FOUND, which is not billable. The list is cached for a day.

- **Documentation:** [https://scrappa.co/docs/autotempest-api/autotempest_models](https://scrappa.co/docs/autotempest-api/autotempest_models)
- **API group:** AutoTempest API
- **Endpoint:** `GET https://scrappa.co/api/autotempest/models`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `make` | string | Yes | Make slug from /makes, for example toyota. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/autotempest/models?make=toyota"
```

## Example response

```json
{
    "success": true,
    "data": {
        "make": "toyota",
        "models": [
            {
                "slug": "2000gt",
                "name": "2000 GT",
                "first_year": 1967,
                "last_year": 2017
            },
            {
                "slug": "4runner",
                "name": "4Runner",
                "first_year": 1984,
                "last_year": 2026
            },
            {
                "slug": "camry",
                "name": "Camry",
                "first_year": 1983,
                "last_year": 2026
            }
        ]
    },
    "meta": {
        "endpoint_family": "models",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The make is unknown (models). This response is not billable. |
| 422 | Validation Error | A public parameter is invalid, or AutoTempest rejected it (for example an unknown ZIP code). This response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result from AutoTempest. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
