# Zumper Amenity Counts

Returns the amenities that can filter an area, with how many listings have each. Add hood for a neighborhood.

- **Documentation:** [https://scrappa.co/docs/zumper-api/zumper_amenity_counts](https://scrappa.co/docs/zumper-api/zumper_amenity_counts)
- **API group:** Zumper API
- **Endpoint:** `GET https://scrappa.co/api/zumper/amenity-counts`

## 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 |
| --- | --- | --- | --- |
| `city` | string | Yes | City slug: lower-case words and the state or province code, for example san-francisco-ca or toronto-on. |
| `hood` | string | No | Neighborhood slug inside the city, for example soma. Always used together with city. |

## Example response

```json
{
    "data": {
        "region": "san-francisco-ca",
        "amenities": [
            {
                "count": 584,
                "level": 1,
                "amenity": 14,
                "feature": null,
                "vertical": null
            }
        ],
        "property_type": "afr"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The requested listing, building, or page was not found. This response is not billable. |
| 422 | Validation Error | A required public parameter is missing or invalid. 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)
