# Blocket Bil Listing API Documentation

Retrieve the full vehicle specification, equipment list, price, first registration, mileage, power, fuel, consumption, images, location and dealer summary for a listing. Private seller contact data is never returned.

- **Documentation:** [https://scrappa.co/docs/blocket-bil-api/blocket_bil_listing](https://scrappa.co/docs/blocket-bil-api/blocket_bil_listing)
- **API group:** Blocket Bil API
- **Endpoint:** `GET https://scrappa.co/api/blocket-bil/v1/listing`

## 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 | Listing identifier returned by the search endpoint. Example: 26235204. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/blocket-bil/v1/listing?id=26235204"
```

## Example response

```json
{
    "success": true,
    "data": {
        "listing": {
            "id": "26235204",
            "title": "Volvo V50 - 2010 - Gr\u00e5 - 136 Hk - Kombi",
            "price": {
                "amount": 7500,
                "currency_code": "SEK",
                "price_unit": "kr"
            },
            "make": "Volvo",
            "model": "V50",
            "year": 2010,
            "first_registration": {
                "date": "2010-05-27",
                "year": 2010,
                "month": 5
            },
            "mileage": {
                "value": 32194,
                "unit": "SCANDINAVIAN_MILE"
            },
            "power": {
                "value": 136,
                "unit": "hk"
            },
            "fuel": "Diesel",
            "gearbox": "Manuell",
            "body_type": "Kombi",
            "color": "Gr\u00e5",
            "seller": {
                "location": "16245 V\u00e4llingby"
            }
        }
    },
    "meta": {
        "endpoint_family": "listing"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A public parameter or range is invalid. This response is not billable. |
| 404 | Listing Not Found | The requested Blocket listing was not found. This response is not billable. |
| 502 | Invalid Source Response | Blocket returned an unexpected response shape. 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)
