APIs / Cars / Carsales

1 credit per call6 endpoints22 datapointsChecked working 6 Dec 2026

Carsales API

Carsales API for car search, listings, dealer stock, facets, make and model taxonomy and valuations as JSON. Six endpoints, 1 credit per successful call.

Carsales
GET/v1/carsales/search?condition=used&make=Toyota&model=Corolla&transmission=Automatic&seller_type=Dealer&sort=price_asc
{
  "success": true,
  "data": {
    "total_results": 1315,
    "sample_window_size": 26,
    "rows_dropped_state_mismatch": 0,
    "results": [
      {
        "id": "OAG-AD-26408893",
        "url": "https://www.carsales.com.au/cars/details/2019-toyota-corolla-ascent-auto/OAG-AD-26408893/?gts=OAG-AD-26408893&gtsSaleId=OAG-AD-26408893&gtsViewType=topspot&rankingType=topspot",
        "title": "2019 Toyota Corolla Ascent Auto",
        "year": 2019,
        "make": "Toyota",
        "model": "Corolla",
        "badge": "Ascent Auto",
        "price": 19990,
        "price_currency": "AUD",
        "price_basis": "egc",
        "price_rating": "Fair price",
        "odometer_km": 84753,
        "condition": "used",
        "is_new": false,
        "body_style": "Sedan",
        "engine": "4cyl 1.8L Petrol",
        "transmission": "Automatic",
        "state": "ACT",
        "seller_type": "dealer",
        "seller_id": "AGC-SELLER-81068",
        "image_count": 28,
        "images": [
          "https://carsales.pxcrush.net/carsales/car/dealer/6pljbip1quju5mfd7k24lripg.jpg?pxc_method=fitfill&pxc_bgtype=self&pxc_size=720,480",
          "https://carsales.pxcrush.net/carsales/car/dealer/9gm5b4694lp8wjkdybik9nh8y.jpg?pxc_method=fitfill&pxc_bgtype=self&pxc_size=720,480",
          "https://carsales.pxcrush.net/carsales/car/dealer/5409d521e0eef6422d276048730610b2.jpg?pxc_method=fitfill&pxc_bgtype=self&pxc_size=720,480"
        ]
      },
      {
        "id": "OAG-AD-26348016",
        "url": "https://www.carsales.com.au/cars/details/2024-toyota-corolla-ascent-sport-auto/OAG-AD-26348016/?gts=OAG-AD-26348016&gtsSaleId=OAG-AD-26348016&gtsViewType=topspot&rankingType=topspot",
        "title": "2024 Toyota Corolla Ascent Sport Auto",
        "year": 2024,
        "make": "Toyota",
        "model": "Corolla",
        "badge": "Ascent Sport Auto",
        "price": 27888,
        "price_currency": "AUD",
        "price_basis": "egc",
        "odometer_km": 42350,
        "condition": "used",
        "is_new": false,
        "body_style": "Sedan",
        "engine": "4cyl 2.0L Petrol",
        "transmission": "Automatic",
        "state": "NSW",
        "seller_type": "dealer",
        "seller_id": "AGC-SELLER-17336",
        "image_count": 24,
        "images": [
          "https://carsales.pxcrush.net/carsales/cars/dealer/3ir2ngprweznjusrn3hj3qy9j.jpg?pxc_method=fitfill&pxc_bgtype=self&pxc_size=720,480",
          "https://carsales.pxcrush.net/carsales/cars/dealer/4tylv4w2dv8ljxkvkc70grpmz.jpg?pxc_method=fitfill&pxc_bgtype=self&pxc_size=720,480",
          "https://carsales.pxcrush.net/carsales/cars/dealer/8wo3e2vrh11w2nxt8s74dr5wo.jpg?pxc_method=fitfill&pxc_bgtype=self&pxc_size=720,480"
        ]
      },
      {
        "id": "OAG-AD-26483461",
        "url": "https://www.carsales.com.au/cars/details/2018-toyota-corolla-ascent-sport-auto/OAG-AD-26483461/?gts=OAG-AD-26483461&gtsSaleId=OAG-AD-26483461&gtsViewType=showcase&rankingType=showcase",
        "title": "2018 Toyota Corolla Ascent Sport Auto",
        "year": 2018,
        "make": "Toyota",
        "model": "Corolla",
        "badge": "Ascent Sport Auto",
        "price": 23999,
        "price_currency": "AUD",
        "price_basis": "egc",
        "odometer_km": 42285,
        "condition": "used",
        "is_new": false,
        "body_style": "Hatch",
        "engine": "4cyl 2.0L Petrol",
        "transmission": "Automatic",
        "state": "NSW",
        "seller_type": "dealer",
        "seller_id": "AGC-SELLER-54",
        "image_count": 23,
        "images": [
          "https://carsales.pxcrush.net/carsales/car/dealer/6q3sgbzzvc4xbbfiffe30i783.jpg?pxc_method=fitfill&pxc_bgtype=self&pxc_size=720,480",
          "https://carsales.pxcrush.net/carsales/car/dealer/441f94ea087e7c282995fd351bab7986.jpg?pxc_method=fitfill&pxc_bgtype=self&pxc_size=720,480",
          "https://carsales.pxcrush.net/carsales/car/dealer/9rqpzvibu9hnrzxwdttynxpw7.jpg?pxc_method=fitfill&pxc_bgtype=self&pxc_size=720,480"
        ]
      }
    ],
    "filters": {
      "condition": "used",
      "make": "Toyota",
      "model": "Corolla",
      "transmission": "Automatic",
      "seller_type": "Dealer"
    },
    "sort": {
      "requested": "price_asc",
      "supported": false,
      "applied": false,
      "reason": "Carsales has no sort on the data route  uses, so no sort is applied. The sample keeps the upstream order."
    },
    "pagination": {
      "supported": false,
      "covers_all_results": false,
      "reason": "Carsales has no paging on the data route  uses. Each request returns a rotating sample of up to 30 listings. Narrow the filters (price_min/price_max, year_min/year_max, odometer_min/odometer_max, state, model) until covers_all_results is tr…"
    },
    "currency": "AUD"
  },
  "meta": {
    "endpoint_family": "carsales.search",
    "retryable": false,
    "duration_ms": 3523
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Sample data

What one call returns

A recorded run of search: the fields and shapes you will get, shortened to 3 items.

#idstringurlurltitlestringyearintegermakestringmodelstringbadgestringpriceintegerprice_currencystringprice_basisstringprice_ratingstringodometer_kmintegerconditionstringis_newbooleanbody_stylestringenginestringtransmissionstringstatestringseller_typestringseller_idstringimage_countintegerimagesstring[]
1OAG-AD-26408893https://www.carsales.com.au/cars/details/2019-toyota-corolla-ascent-auto/OAG-AD-26408893/?gts=OAG-AD-26408893&gtsSaleId=OAG-AD-26408893&gtsViewType=topspot&rankingType=topspot2019 Toyota Corolla Ascent Auto2019ToyotaCorollaAscent Auto19990AUDegcFair price84753usedfalseSedan4cyl 1.8L PetrolAutomaticACTdealerAGC-SELLER-8106828[3 items]
2OAG-AD-26348016https://www.carsales.com.au/cars/details/2024-toyota-corolla-ascent-sport-auto/OAG-AD-26348016/?gts=OAG-AD-26348016&gtsSaleId=OAG-AD-26348016&gtsViewType=topspot&rankingType=topspot2024 Toyota Corolla Ascent Sport Auto2024ToyotaCorollaAscent Sport Auto27888AUDegc—42350usedfalseSedan4cyl 2.0L PetrolAutomaticNSWdealerAGC-SELLER-1733624[3 items]
3OAG-AD-26483461https://www.carsales.com.au/cars/details/2018-toyota-corolla-ascent-sport-auto/OAG-AD-26483461/?gts=OAG-AD-26483461&gtsSaleId=OAG-AD-26483461&gtsViewType=showcase&rankingType=showcase2018 Toyota Corolla Ascent Sport Auto2018ToyotaCorollaAscent Sport Auto23999AUDegc—42285usedfalseHatch4cyl 2.0L PetrolAutomaticNSWdealerAGC-SELLER-5423[3 items]

Recorded 12 Nov 2026 · 3 items shown · 22 datapoints per itemGET /v1/carsales/search?condition=used&make=Toyota&model=Corolla&transmission=Automatic&seller_type=Dealer&sort=price_asc

22 datapoints

Identity

  • idstring
  • titlestring

Contact

  • urlurl
  • seller_typestring
  • seller_idstring

Location

  • statestring

Reputation

  • badgestring
  • price_ratingstring
  • image_countinteger
  • imagesstring[]

Price

  • priceinteger
  • price_currencystring
  • price_basisstring

Other

  • yearinteger
  • makestring
  • modelstring
  • odometer_kminteger
  • conditionstring
  • is_newboolean
  • body_stylestring
  • enginestring
  • transmissionstring

Playground

Run this API

cURLshell
curl "https://api.perceptlayer.com/v1/carsales/search?condition=used&make=Toyota&model=Corolla&transmission=Automatic&seller_type=Dealer&sort=price_asc" \
  -H "X-API-Key: $API_KEY"

Carsales · 6 endpoints

Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

EndpointRequired parametersReturnsCost
GET/v1/carsales/dealer-stock
none+14 optional
sample_window_sizerows_dropped_state_mismatchdealer_countdealerscurrency
1 credit
GET/v1/carsales/facets
none+15 optional
levelvalue_countvalues
1 credit
GET/v1/carsales/listing
id
idurlyearmakemodelbadge+16 more
1 credit
GET/v1/carsales/search
none+16 optional
sample_window_sizerows_dropped_state_mismatchresultspaginationcurrency
1 credit
GET/v1/carsales/taxonomy
none+2 optional
conditionmakesmake_count
1 credit
GET/v1/carsales/valuation
makemodelyear
makemodelyearindicative_pricebody_typeseats+5 more
1 credit

Overview

About the Carsales API

What you can get

The Carsales API returns Carsales vehicle data as JSON through 6 endpoints. Most of them share one set of filters: condition (used or new), make, model, state, body_style, transmission (Automatic or Manual), keyword, year_min, year_max, price_min, price_max, odometer_min and odometer_max.

  • Search: search takes the shared filters, with seller_type (Dealer or Private), sort (price_asc, price_desc, year_desc or odometer_asc) and limit.
  • Listings: listing takes an id.
  • Dealer stock: dealer-stock takes the shared filters, with limit.
  • Facets: facets takes the shared filters, with level (make, model, state, body_style or price) and q.
  • Taxonomy: taxonomy takes condition and make.
  • Valuation: valuation takes a make, model and year, all three required.

How a call works

Search the market: GET /v1/carsales/search?make=...&model=...&condition=...&sort=... with your key in the X-API-Key header. Fetch one listing with GET /v1/carsales/listing?id=.... Every successful call costs 1 credit; failed calls cost nothing.

CarsJSONRESTMCP

More cars APIs

Use cases

Track asking prices for a make and model across years and odometer bands

Use the Carsales API to track asking prices for a make and model across years and odometer bands

Request facets at the make, model, state, body_style or price level for a filtered search

Use the Carsales API to request facets at the make, model, state, body_style or price level for a filtered search

Keep a make and model list current from `taxonomy`

Use the Carsales API to keep a make and model list current from `taxonomy`

Pull a valuation for a make, model and year to set against listed prices

Use the Carsales API to pull a valuation for a make, model and year to set against listed prices

FAQ

Questions

Do I need a Carsales API key?

No. You call this Carsales API with your Perceptlayer key in the `X-API-Key` header, with no Carsales account or partner login.

How much does the Carsales API cost?

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

What format are responses in?

Every endpoint returns JSON, with no HTML parsing on your side.

Which filters does the Carsales API take?

`search`, `dealer-stock` and `facets` take the same filters for condition, make, model, state, body style, transmission, keyword, year, price and odometer, so one filter set works across all three.

Is this the official Carsales API?

No. Perceptlayer is an independent service and is not affiliated with Carsales. It returns Carsales data as JSON with a Perceptlayer key, so there is no Carsales developer account, app review or partner approval to get first. It only reads data: if Carsales has an official API and you need to act on your own Carsales account, such as posting, managing orders or reading private data, use that one.

Should I build a Carsales scraper instead?

You can, but a Carsales scraper is code you maintain: page changes break it, requests get blocked, and Carsales's terms govern how you collect data. The Carsales API gives you 6 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

Try the Carsales API with 100 free credits

No credit card. Failed calls are never billed.