# Landwirt.com IDs API Documentation

Read one public id source per call. Sources are the SEO check-url resolver, the private RSS feed, the dealer RSS feed, the sitemap index or one sitemap leaf. Ids are returned in the form the detail route accepts.

- **Documentation:** [https://scrappa.co/docs/landwirt-api/landwirt_ids](https://scrappa.co/docs/landwirt-api/landwirt_ids)
- **API group:** Landwirt.com API
- **Endpoint:** `GET https://scrappa.co/api/landwirt/v1/ids`

## 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 |
| --- | --- | --- | --- |
| `source` | string | No | check_url rss_private rss_dealer sitemap_index or sitemap_child. |
| `url` | string | No | Relative public site path for check_url, not a full URL. |
| `child` | string | No | Sitemap path from sitemap_index, for example de/de_sitemap_1.xml. |
| `offset` | integer | No | Zero-based id offset. Defaults to 0. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/landwirt/v1/ids?source=rss_private"
```

## Example response

```json
{
    "success": true,
    "data": {
        "ids": [
            "29927529"
        ],
        "source": "rss_private",
        "total": 100,
        "has_more": false
    },
    "meta": {
        "endpoint_family": "ids"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A public parameter or id source 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)
