# Hemnet Project Units API

Get the individual units of a Hemnet new-construction project (nyproduktion): each unit with its own price, area, rooms, floor and availability. The id is a project id, which the search cards expose as `projectId` — an ordinary listing id has no units and answers 404.

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

## 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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Hemnet new-construction project id, e.g. 21648978 |
| `limit` | integer | No | Units per request (default 1000) |
| `offset` | integer | No | Units to skip |
| `featured` | string | No | INCLUDE, EXCLUDE or ONLY |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/hemnet/project-units?id=21648978&limit=50"
```

## Example response

```json
{
    "success": true,
    "data": {
        "regularUnits": {
            "total": 4,
            "elements": [
                {
                    "id": "21648988",
                    "formattedLivingAndSupplementalAreas": "86 m\u00b2"
                }
            ]
        }
    }
}
```

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