# Hemnet Agency Profile API

Get one Hemnet broker agency page: name, branding, website, brokers on staff, ten for-sale property listings, ten upcoming listings, ten sold listings and the server-computed statistic. Agency ids are agency-scoped — passing a broker id returns 404 rather than a silent null.

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

## 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 agency id |
| `months` | integer | No | Statistic window in months (default 12) |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/hemnet/agency?id=726911"
```

## Example response

```json
{
    "success": true,
    "data": {
        "id": "726911",
        "name": "...",
        "statistic": {
            "totalSold": 199
        }
    }
}
```

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