# Agriaffaires Search API Documentation

<p>Search public German agricultural machinery listings by category slug and path page. Each card carries the listing id, url, title, numeric EUR price or a price-on-request flag, year, hours, power, location, dealer, badges and image. Pages run from 1 to 200; above 200 the API returns 422. The id works unchanged in the listing endpoint. 2 credits per successful request. Failed requests are free.</p>

- **Documentation:** [https://scrappa.co/docs/agriaffaires-api/agriaffaires_search](https://scrappa.co/docs/agriaffaires-api/agriaffaires_search)
- **API group:** Agriaffaires API
- **Endpoint:** `GET https://scrappa.co/api/agriaffaires/v1/search`

## 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 |
| --- | --- | --- | --- |
| `category` | string | No | Category slug from the sitemap endpoint, e.g. traktoren. |
| `page` | integer | No | Path page, 1 to 200. Default 1. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | Public data is temporarily unavailable. |  |

## 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)
