# Kleinanzeigen Commercial Search

Searches the Gewerbeimmobilien category with rent/buy, price, area and page filters. The location id comes from the commercial locations route. Price on request is null.

- **Documentation:** [https://scrappa.co/docs/german-commercial-real-estate-api/commercial_ka_search](https://scrappa.co/docs/german-commercial-real-estate-api/commercial_ka_search)
- **API group:** German Commercial Real Estate API
- **Endpoint:** `GET https://scrappa.co/api/commercial/ka/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 |
| --- | --- | --- | --- |
| `location_id` | string | No | Location id from the commercial locations route. |
| `listing_type` | string | No | rent, buy or all (default all). |
| `type` | string | No | office, store, gastronomy, tradesite or specialpurpose. Whole-word text match on the ad title and Objektart. |
| `price_min` | integer | No | Minimum price in EUR. Ads with no price are skipped. |
| `price_max` | integer | No | Maximum price in EUR. Ads with no price are skipped. |
| `area_min` | integer | No | Minimum area in square metres. Ads with no area are skipped. |
| `area_max` | integer | No | Maximum area in square metres. Ads with no area are skipped. |
| `page` | integer | No | Result page, 1-based. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/commercial/ka/search?listing_type=buy&type=office&page=1"
```

## Example response

```json
{
    "success": true,
    "data": {
        "total": null,
        "page": 1,
        "category": "277",
        "listings": [
            {
                "id": "3317430009",
                "title": "B\u00fcro in Berlin",
                "price": 250000,
                "currency": "EUR",
                "area_m2": 120,
                "locality": "Berlin Mitte",
                "object_type": "office",
                "image_url": "https://i.ebayimg.com/00/s/full.jpg",
                "date": null
            }
        ]
    },
    "meta": {
        "endpoint_family": "kleinanzeigen_commercial",
        "attempts": 1
    }
}
```

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