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

Carsales Dealer Stock

GET https://scrappa.co/api/carsales/v1/dealer-stock

Search dealer listings for a filter set and group them by seller. At least one filter besides condition is required. Carsales returns a rotating sample of up to 30 listings per filter set and has no paging. total_results is the approximate live count and can drift by a few listings between requests. Carsales exposes the state of a listing, not the suburb. Dealer names and dealer profiles are not available, so dealers are identified by seller_id.

Carsales Dealer Stock 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/carsales/v1/dealer-stock
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.

14 optional filters available.

condition string Optional

used or new.

Example value example
make string Optional

Make name from the taxonomy endpoint, for example Toyota.

Example value example
model string Optional

Model name from the taxonomy endpoint. Needs make.

Example value example
state string Optional

Full state name or short code, for example Queensland or QLD.

Example value example
body_style string Optional

Body style from the facets endpoint, for example Sedan.

Example value example
transmission string Optional

Automatic or Manual.

Example value example
keyword string Optional

Free text keyword.

Example value running shoes
year_min integer Optional

Minimum model year.

Example value 10
year_max integer Optional

Maximum model year.

Example value 10
price_min integer Optional

Minimum price in AUD.

Example value 10
price_max integer Optional

Maximum price in AUD.

Example value 10
odometer_min integer Optional

Minimum odometer in km.

Example value 10
odometer_max integer Optional

Maximum odometer in km.

Example value 10
limit integer Optional

Listings to group from the sample, 1 to 30.

Example value 10

Errors

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

404

HTTP 404

The listing, make, model or year was not found. This response is not billable.

422

HTTP 422

A parameter is invalid, a value is unknown, or no filter was set. This response is not billable.

502

HTTP 502

The upstream answer changed shape and could not be read. This response is not billable.

503

HTTP 503

The upstream refused the request or is unavailable. 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.