# Bilbasen Dealer Listings API Documentation

Retrieve the current listing cards of one Bilbasen dealer with the same listing-card shape and pagination as search.

- **Documentation:** [https://scrappa.co/docs/bilbasen-api/bilbasen_dealer_listings](https://scrappa.co/docs/bilbasen-api/bilbasen_dealer_listings)
- **API group:** Bilbasen API
- **Endpoint:** `GET https://scrappa.co/api/bilbasen/dealers/{seller_id}/listings`

## 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 |
| --- | --- | --- | --- |
| `seller_id` | string | Yes | Dealer identifier returned by a listing. |
| `page` | integer | No | One-based result page. Defaults to 1. |
| `page_size` | integer | No | Listings per page, from 1 to 30. Defaults to 30. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/bilbasen/dealers/{seller_id}/listings?seller_id=20020&page=1&page_size=3"
```

## Example response

```json
{
    "success": true,
    "data": {
        "listings": [
            {
                "listing_id": "7010702",
                "title": "VW Transporter 2,0 TDi 150 Kassevogn DSG lang",
                "make_model_line": "VW Transporter",
                "variant_line": "2,0 TDi 150 Kassevogn DSG lang",
                "price": {
                    "amount": 279900,
                    "currency": "DKK",
                    "display_value": "279.900 kr."
                }
            }
        ],
        "pagination": {
            "page": 1,
            "page_size": 3,
            "total": 25,
            "total_dealer_hits": 25,
            "total_private_hits": 0,
            "next_page": 2,
            "live_snapshot": true
        }
    },
    "meta": {
        "endpoint_family": "dealer_listings"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Listing Not Found | The requested listing is no longer available. This response is not billable. |
| 422 | Validation Error | A public parameter or range is invalid. This response is not billable. |
| 502 | Invalid Source Response | The marketplace returned an invalid response. This response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result. 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)
