# Autohero Car Detail API Documentation

Retrieve a single Autohero used car by its id from the search results: brand, model, variant, status, country, price and original price, mileage, first registration date, build year, fuel type and gearbox (German labels), power, engine size, CO2, body type, doors, seats, color, upholstery, drive train, emission standard, previous owners, accident flag, equipment by category, documented damages with photos, image urls, highlights and the branch location. An unknown or removed car id returns a not found error that is not billed.

- **Documentation:** [https://scrappa.co/docs/autohero-api/autohero_car](https://scrappa.co/docs/autohero-api/autohero_car)
- **API group:** Autohero API
- **Endpoint:** `GET https://scrappa.co/api/autohero/car`

## 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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Autohero car id (UUID) from the search results. Example: 4d5cb184-ac32-4a64-82ee-0c3280b5117f. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/autohero/car?id=4d5cb184-ac32-4a64-82ee-0c3280b5117f"
```

## Example response

```json
{
    "success": true,
    "data": {
        "car": {
            "id": "4d5cb184-ac32-4a64-82ee-0c3280b5117f",
            "stock_number": "RP47694",
            "brand": "Volkswagen",
            "model": "Golf VII",
            "variant": "1.0 TSI",
            "variant_extra": "Trendline BlueMotion Tech",
            "status": "imported-to-retail",
            "country": "DE",
            "price": {
                "amount": 10020,
                "currency": "EUR"
            },
            "mileage": {
                "distance": 101458,
                "unit": "km"
            },
            "first_registration": "2018-06-21",
            "build_year": 2017,
            "fuel_type": "Benzin",
            "gear_type": "Schaltgetriebe",
            "power_kw": 81,
            "horse_power": 110,
            "engine_ccm": 999,
            "co2": 109,
            "body_type": "Limousine",
            "doors": 5,
            "seats": 5,
            "color": "Grau",
            "upholstery": "Stoff",
            "drive_train": "front-wheel",
            "emission_standard": "EURO 6",
            "previous_owners": 2,
            "was_in_accident": false,
            "equipment": [
                {
                    "category": "Highlights",
                    "items": [
                        "Einparkhilfe vorn und hinten",
                        "Geschwindigkeitsregelanlage (Tempomat)",
                        "Sitzheizung vorn"
                    ]
                },
                {
                    "category": "Komfort",
                    "items": [
                        "Berganfahrassistent",
                        "Elektrische Fensterheber",
                        "Elektronische Parkbremse"
                    ]
                },
                {
                    "category": "Multimedia",
                    "items": [
                        "Bluetooth-Schnittstelle",
                        "Bordcomputer",
                        "Freisprecheinrichtung"
                    ]
                }
            ],
            "damages": [
                {
                    "part": "Motorhaube",
                    "type": "Steinschlag",
                    "image_url": "https://img-eu-c1.autohero.com/img/4d5cb184-ac32-4a64-82ee-0c3280b5117f/de19cf36-5405-4faf-a712-359257a6560e.jpg"
                },
                {
                    "part": "Fahrersitz",
                    "type": "Verschlissen",
                    "image_url": "https://img-eu-c1.autohero.com/img/4d5cb184-ac32-4a64-82ee-0c3280b5117f/cb7d49bc-5596-4f16-ad6f-356fa4b8791e.jpg"
                }
            ],
            "images": [
                "https://img-eu-c1.autohero.com/img/af036cb714953514f0b37d3b926f2ae59c4190fbe8eb268fd090c7f2b814bd68/exterior/1/44cc42c8a6804a13ab0fc5ef00654d86.jpg",
                "https://img-eu-c1.autohero.com/img/af036cb714953514f0b37d3b926f2ae59c4190fbe8eb268fd090c7f2b814bd68/exterior/2/b00c1ea12e0446afba06b5976fa19c8a.jpg",
                "https://img-eu-c1.autohero.com/img/af036cb714953514f0b37d3b926f2ae59c4190fbe8eb268fd090c7f2b814bd68/exterior/3/d1b2e950bc4b41bf8587598f5b40c01b.jpg"
            ],
            "highlights": [
                "Autohero-Garantie: 12 Monate",
                "HU/AU g\u00fcltig bis: 24.08.28",
                "Letzter Service am: 02.09.26",
                "Einparkhilfe vorn und hinten",
                "Sitzheizung vorn",
                "Geschwindigkeitsregelanlage (Tempomat)",
                "Klimaautomatik",
                "Bluetooth-Schnittstelle",
                "Freisprecheinrichtung"
            ],
            "location": {
                "city": "Hemau",
                "street": "Nordhausstr. 1",
                "zipcode": "93155"
            }
        }
    },
    "meta": {
        "endpoint_family": "car_detail",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A query parameter is missing or invalid. No upstream request is made. This response is not billable. |
| 404 | Car Not Found | The car id does not exist or the car was removed. This response is not billable. |
| 502 | Invalid Source Response | Autohero answered with a shape that no longer matches the documented contract. This response is not billable. |
| 503 | Service Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## 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)
