# Immobiliare Price Stats

Returns the price per square metre history for a country and optionally a city, in euro, month by month.

- **Documentation:** [https://scrappa.co/docs/immobiliare-api/immobiliare_price_stats](https://scrappa.co/docs/immobiliare-api/immobiliare_price_stats)
- **API group:** Immobiliare API
- **Endpoint:** `GET https://scrappa.co/api/immobiliare/price-stats`

## 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 |
| --- | --- | --- | --- |
| `nation_id` | string | Yes | Country identifier for the statistics, for example IT. |
| `city_id` | string | No | City identifier from the autocomplete endpoint. |

## Example response

```json
{
    "data": {
        "months": [
            {
                "month": "2025-01",
                "price_per_square_meter": 4200
            }
        ]
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The requested listing or agency was not found. This response is not billable. |
| 422 | Validation Error | A public parameter is invalid, for example a category outside the supported values or a search without a location. This response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result. This response is not billable. |

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