Skip to content
Scrappa Get API key
Cars24 API 1 credit/request

Cars24 Hubs

GET https://scrappa.co/api/cars24/v1/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.

Cars24 Hubs 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/cars24/v1/hubs
Auth header
x-api-key
Cost
1 credit/request
Response preview
200 OK
Example JSON appears below when a response schema is available for this endpoint.

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

This endpoint has no required query parameters.

2 optional filters available.

city_id integer Optional

City id from the cities endpoint. Use this or code.

Example value 1234567890
code string Optional

Hub code from the hub list, for example IN_CAR_CC_2_FC_4. Use this or city_id.

Example value example

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

HTTP 404

The hub or city was not found. This response is not billable.

422

HTTP 422

A parameter is invalid. This response is not billable.

503

HTTP 503

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.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.