# Hemnet Kommande Search API

Search Hemnet's `GET /api/hemnet/upcoming` endpoint for kommande listings — properties announced for sale but not yet open. The upstream search accepts no sort argument for this family, so none is exposed.

- **Documentation:** [https://scrappa.co/docs/hemnet-api/hemnet_upcoming](https://scrappa.co/docs/hemnet-api/hemnet_upcoming)
- **API group:** Hemnet API
- **Endpoint:** `GET https://scrappa.co/api/hemnet/upcoming`

## 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 |
| --- | --- | --- | --- |
| `q` | string | No | Free-text filter, sent as the Hemnet search input's keywords field |
| `location_ids` | string | No | Comma-separated Hemnet location ids |
| `limit` | integer | No | Cards per request (default 1000, maximum 1000) |
| `offset` | integer | No | Cards to skip. offset + limit may not exceed 2500 |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/hemnet/upcoming?location_ids=18031&limit=20"
```

## Example response

```json
{
    "success": true,
    "data": {
        "total": 749,
        "count": 20,
        "cards": []
    }
}
```

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