# Zumper City

Returns the city record: name, state, coordinates, listing counts, inventory counts, bedroom counts, and the neighborhoods Zumper tracks.

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

## 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. |
| `site` | string | No | zumper (default) or padmapper. Allowed: zumper, padmapper. |

## Example response

```json
{
    "data": {
        "box": [
            -122.5146
        ],
        "lat": 37.770590377,
        "lng": -122.436489289,
        "url": "san-francisco-ca",
        "name": "San Francisco",
        "state": "CA",
        "city_id": 2777,
        "parent_id": null,
        "created_on": 1409511279,
        "modified_on": 1778625745
    },
    "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)
