# Hemnet Price History API

Get the price history of an active Hemnet listing: every recorded price change, the current asking price, and comparable sold properties. This endpoint takes a listing id; use `/api/hemnet/sale-timeline` for a sold property.

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

## 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 | Active listing id (for-sale id space) |
| `similar_limit` | integer | No | Comparable sold properties to include (default 0) |

## Example request

```bash
#!/bin/bash

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

## Example response

```json
{
    "success": true,
    "data": {
        "id": "21889893",
        "priceChanges": []
    }
}
```

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