# Zumper Lifestyles

Returns the lifestyle categories Zumper offers for a city, such as pet friendly or luxury, with their search slugs.

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

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

## Example response

```json
{
    "data": {
        "city": "san-francisco-ca",
        "popular": [
            {
                "url": "san-francisco-ca/soma",
                "name": "SOMA",
                "state": null
            }
        ],
        "affordable": [
            {
                "url": "san-francisco-ca/bayview",
                "name": "Bayview",
                "state": null
            }
        ],
        "lifestyles": [
            {
                "feature": 92,
                "top_hoods": [],
                "top_listable": []
            }
        ]
    },
    "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)
