# Landwirt.com Detail API Documentation

Read one public listing from the SSR payload. Returns numeric price and currency, hours or mileage, specifications, equipment, full-size images, dealer facts, reviews and similar ads. Prices on request return a null price.

- **Documentation:** [https://scrappa.co/docs/landwirt-api/landwirt_detail](https://scrappa.co/docs/landwirt-api/landwirt_detail)
- **API group:** Landwirt.com API
- **Endpoint:** `GET https://scrappa.co/api/landwirt/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 | Numeric listing id from search or ids. |
| `slug` | string | No | Pass the title_slug from the search result. A private listing without its slug returns 404. |
| `type` | string | No | private or dealer. Defaults to private. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/landwirt/v1/detail?id=29927529&slug=fendt-1050-vario&type=private"
```

## Example response

```json
{
    "success": true,
    "data": {
        "listing": {
            "id": "29927529",
            "prices": {
                "price": 250800,
                "currency": "EUR"
            },
            "images": [
                "https://www.landwirt.com/data/images/listing/big-29927529.jpg"
            ]
        }
    },
    "meta": {
        "endpoint_family": "detail"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The listing is not public any more. This response is not billable. |
| 422 | Validation Error | A public parameter is invalid. 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)
