# Sreality Project Map Clusters API

Return public new-build project clusters for a complete map bounding box and zoom level.

## Required map bounds

Provide all four latitude and longitude bounds and a non-negative zoom level. The response contains cluster counts and the published map fields.

## Scope

This endpoint summarizes projects by map location. Use the projects endpoint for individual project records.

- **Documentation:** [https://scrappa.co/docs/sreality-api/sreality_project_clusters](https://scrappa.co/docs/sreality-api/sreality_project_clusters)
- **API group:** Sreality API
- **Endpoint:** `GET https://scrappa.co/api/sreality/project-clusters`

## 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 |
| --- | --- | --- | --- |
| `lat_min` | number | Yes | Southern latitude bound. |
| `lat_max` | number | Yes | Northern latitude bound. |
| `lon_min` | number | Yes | Western longitude bound. |
| `lon_max` | number | Yes | Eastern longitude bound. |
| `zoom` | integer | Yes | Map zoom level, a non-negative integer. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/sreality/project-clusters?lat_min=50&lat_max=50.2&lon_min=14.3&lon_max=14.6&zoom=11"
```

## Example response

```json
{
    "success": true,
    "data": {
        "results": [
            {
                "lat": 50.0341,
                "lon": 14.4662,
                "count": 14,
                "final_cluster": true,
                "geohashes": []
            }
        ]
    },
    "meta": {
        "endpoint_family": "clusters",
        "billable": true,
        "retryable": false
    }
}
```

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