# TruckScout24 Detail API Documentation

Read one public listing: numeric price and VAT note, full specification table, hours or mileage, dealer name and link, location and the full-size CDN gallery. Prices on request return a null price.

- **Documentation:** [https://scrappa.co/docs/truckscout24-api/truckscout24_detail](https://scrappa.co/docs/truckscout24-api/truckscout24_detail)
- **API group:** TruckScout24 API
- **Endpoint:** `GET https://scrappa.co/api/truckscout24/v1/detail`

## 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 | Path id from search, autocomplete or ids, for example ts-233-69-146. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/truckscout24/v1/detail?id=ts-233-69-146"
```

## Example response

```json
{
    "success": true,
    "data": {
        "listing": {
            "id": "ts-233-69-146",
            "category": "Kuehl Iso Frischdienstkoffer",
            "price": 47500,
            "currency": "EUR",
            "images": [
                "https://cdn.truckscout24.com/data/listing/img/hdv/ts/233/69/146-01.jpg"
            ],
            "dealer_name": "Example Trucks GmbH"
        }
    },
    "meta": {
        "endpoint_family": "detail"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A public parameter is invalid. This response is not billable. |
| 502 | Invalid Source Response | TruckScout24 returned an unexpected response. This response is not billable. |
| 503 | Source Unavailable | The public source is temporarily unavailable. 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)
