# Zumper Geos

Returns the neighborhoods, ZIP codes, and areas Zumper knows inside a city, or inside one neighborhood when hood is set.

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

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

## Example response

```json
{
    "data": {
        "hood": {
            "lat": 37.77196,
            "lng": -122.42921,
            "city": "San Francisco",
            "name": "Lower Haight",
            "type": 1,
            "state": "CA",
            "city_id": 2777,
            "listing_count": 10,
            "city_state_name": "san-francisco-ca/lower-haight",
            "neighborhood_id": 225
        },
        "cities": [
            {
                "box": [],
                "lat": 37.770590377,
                "lng": -122.436489289,
                "url": "san-francisco-ca",
                "name": "San Francisco",
                "type": 1,
                "state": "CA",
                "city_id": 2777,
                "parent_id": null,
                "listing_count": 1160
            }
        ],
        "zipcode": {
            "lat": 37.769749367556,
            "lng": -122.448227346727,
            "city": "San Francisco",
            "name": "94117",
            "type": 2,
            "state": "CA",
            "city_id": 2777,
            "listing_count": 36,
            "city_state_name": "san-francisco-ca/94117",
            "neighborhood_id": 32183
        },
        "nearby_hoods": [
            {
                "lat": 37.76692,
                "lng": -122.43305,
                "city": "San Francisco",
                "name": "Duboce Triangle",
                "type": 1,
                "state": "CA",
                "city_id": 2777,
                "listing_count": 7,
                "city_state_name": "san-francisco-ca/duboce-triangle",
                "neighborhood_id": 234
            }
        ],
        "nearby_cities": [
            {
                "lat": 37.691012404569,
                "lng": -122.479719206044,
                "url": "broadmoor-ca",
                "name": "Broadmoor",
                "type": 1,
                "state": "CA",
                "city_id": 356,
                "parent_id": null,
                "listing_count": 0,
                "zmain_image_url": null
            }
        ],
        "nearby_zipcodes": [
            {
                "lat": 37.7580204179222,
                "lng": -122.435452676226,
                "city": "San Francisco",
                "name": "94114",
                "type": 2,
                "state": "CA",
                "city_id": 2777,
                "listing_count": 27,
                "city_state_name": "san-francisco-ca/94114",
                "neighborhood_id": 39817
            }
        ],
        "nearby_universities": [
            {
                "lat": 37.7716141,
                "lng": -122.4258437,
                "url": "near-university-of-california-san-francisco-ca",
                "name": "University of California San Francisco",
                "type": 4,
                "state": "CA",
                "city_id": 4403,
                "parent_id": null,
                "listing_count": 1,
                "zmain_image_url": null
            }
        ],
        "nearby_military_bases": null
    },
    "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)
