# Kleinanzeigen Search

Search for listings on Kleinanzeigen.

- **Documentation:** [https://scrappa.co/docs/kleinanzeigen-api/kleinanzeigen_search](https://scrappa.co/docs/kleinanzeigen-api/kleinanzeigen_search)
- **API group:** Kleinanzeigen API
- **Endpoint:** `GET https://scrappa.co/api/kleinanzeigen/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 |
| --- | --- | --- | --- |
| `query` | string | Yes | Search query |
| `location` | string | No | Location filter (e.g., Berlin) |
| `page` | integer | No | Page number for pagination (1-100) |
| `category` | string | No | Category filter (e.g., elektronik, auto) |
| `price_min` | integer | No | Minimum price filter in EUR |
| `price_max` | integer | No | Maximum price filter in EUR |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/kleinanzeigen/search?query=iphone&location=Berlin&page=1&category=elektronik&price_min=50&price_max=500"
```

## Example response

```json
{
    "listings": []
}
```

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