# SpareRoom Areas

List the areas of one city, for example london or manchester. Each entry has the area name, the postcode district when SpareRoom shows one, and a public page URL. Use the name or the district as where in the search endpoint. A search reaches at most 1,000 ads, so search each district to cover a big city. Some cities list no district. An unknown city returns a 404 that is not billed.

- **Documentation:** [https://scrappa.co/docs/spareroom-api/spareroom_areas](https://scrappa.co/docs/spareroom-api/spareroom_areas)
- **API group:** SpareRoom API
- **Endpoint:** `GET https://scrappa.co/api/spareroom/areas`

## 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 as used on SpareRoom, for example london or manchester. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | A parameter is missing or invalid. This response is not billable. |  |
|  | The ad, place or city does not exist. This response is not billable. |  |
|  | The upstream is unavailable, refused the request or answered in an unexpected shape. 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)
