# LeasingMarkt Offer API Documentation

Read one public leasing offer with the monthly rate, term, down payment, transfer and registration costs, bank, dealer name and address, full equipment and description. The two ids come unchanged from the search endpoint. No login or personal data is returned.

- **Documentation:** [https://scrappa.co/docs/leasingmarkt-api/leasingmarkt_offer](https://scrappa.co/docs/leasingmarkt-api/leasingmarkt_offer)
- **API group:** LeasingMarkt API
- **Endpoint:** `GET https://scrappa.co/api/leasingmarkt/v1/offer`

## 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 |
| --- | --- | --- | --- |
| `ad_id` | string | Yes | Ad id returned as id by the search endpoint. |
| `variant_id` | string | Yes | Offer id returned as variantId by the search endpoint. |
| `slug` | string | No | Optional make-model slug from the search url. |
| `make` | string | No | Optional make name used when no slug is given. |
| `model` | string | No | Optional model name used when no slug is given. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/leasingmarkt/v1/offer?ad_id=13378392&variant_id=40413263&slug=volkswagen-taigo"
```

## Example response

```json
{
    "success": true,
    "data": {
        "offer": {
            "id": "13378392",
            "variantId": "40413263",
            "monthlyRate": 159,
            "downpayment": 0,
            "transferCosts": 1990,
            "registrationCosts": null,
            "dealers": [
                {
                    "companyName": "Example GmbH"
                }
            ],
            "currency": "EUR"
        }
    },
    "meta": {
        "endpoint_family": "offer"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The requested offer does not exist. This response is not billable. |
| 422 | Validation Error | An id is missing or invalid. 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)
