# Cars24 Cities

Return all Cars24 cities with the id for the city_id parameter, the URL slug, the number of cars and the brands on sale. Pass q to search a city by name; the search returns the id, state, pincode and coordinates. The list is read live.

- **Documentation:** [https://scrappa.co/docs/cars24-api/cars24_cities](https://scrappa.co/docs/cars24-api/cars24_cities)
- **API group:** Cars24 API
- **Endpoint:** `GET https://scrappa.co/api/cars24/v1/cities`

## 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 |
| --- | --- | --- | --- |
| `q` | string | No | City name to search, at least 3 characters. Leave out for the full list. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | A parameter is invalid. This response is not billable. |  |
|  | The upstream refused the request, is unavailable, changed its answer shape or did not honour a filter, the sort or the cursor (error.code PARSER_DRIFT, UPSTREAM_FILTER_MISMATCH, UPSTREAM_BLOCKED or UPSTREAM_UNAVAILABLE). No data is returned. 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)
