# Commercial Location Ids

Resolves a place name to a geocode accepted unchanged by commercial count and search.

- **Documentation:** [https://scrappa.co/docs/german-commercial-real-estate-api/commercial_is24_locations](https://scrappa.co/docs/german-commercial-real-estate-api/commercial_is24_locations)
- **API group:** German Commercial Real Estate API
- **Endpoint:** `GET https://scrappa.co/api/commercial/is24/locations`

## 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 | City, district or postal code. |
| `limit` | integer | No | Maximum locations to return (1-20, default 3). |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/commercial/is24/locations?query=Berlin"
```

## Example response

```json
{
    "success": true,
    "data": {
        "query": "Berlin",
        "locations": [
            {
                "geocode": "/de/berlin/berlin",
                "name": "Berlin",
                "type": "city"
            }
        ]
    },
    "meta": {
        "endpoint_family": "is24_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)
