# Cars24 Hubs

Pass city_id to list the hubs of a city with name, locality, address, pincode, map link, opening hours, rating, coordinates and the number of cars. Pass code to read one hub with its gallery and video. Send exactly one of the two.

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

## 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_id` | integer | No | City id from the cities endpoint. Use this or code. |
| `code` | string | No | Hub code from the hub list, for example IN_CAR_CC_2_FC_4. Use this or city_id. |

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | The hub or city was not found. This response is not billable. |  |
|  | 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)
