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.
{
"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>sSaleId=OAG-AD-26408893>sViewType=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>sSaleId=OAG-AD-26348016>sViewType=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>sSaleId=OAG-AD-26483461>sViewType=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
}
}Sample data
What one call returns
A recorded run of search: the fields and shapes you will get, shortened to 3 items.
| # | idstring | urlurl | titlestring | yearinteger | makestring | modelstring | badgestring | priceinteger | price_currencystring | price_basisstring | price_ratingstring | odometer_kminteger | conditionstring | is_newboolean | body_stylestring | enginestring | transmissionstring | statestring | seller_typestring | seller_idstring | image_countinteger | imagesstring[] |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | OAG-AD-26408893 | https://www.carsales.com.au/cars/details/2019-toyota-corolla-ascent-auto/OAG-AD-26408893/?gts=OAG-AD-26408893>sSaleId=OAG-AD-26408893>sViewType=topspot&rankingType=topspot | 2019 Toyota Corolla Ascent Auto | 2019 | Toyota | Corolla | Ascent Auto | 19990 | AUD | egc | Fair price | 84753 | used | false | Sedan | 4cyl 1.8L Petrol | Automatic | ACT | dealer | AGC-SELLER-81068 | 28 | [3 items] |
| 2 | OAG-AD-26348016 | https://www.carsales.com.au/cars/details/2024-toyota-corolla-ascent-sport-auto/OAG-AD-26348016/?gts=OAG-AD-26348016>sSaleId=OAG-AD-26348016>sViewType=topspot&rankingType=topspot | 2024 Toyota Corolla Ascent Sport Auto | 2024 | Toyota | Corolla | Ascent Sport Auto | 27888 | AUD | egc | — | 42350 | used | false | Sedan | 4cyl 2.0L Petrol | Automatic | NSW | dealer | AGC-SELLER-17336 | 24 | [3 items] |
| 3 | OAG-AD-26483461 | https://www.carsales.com.au/cars/details/2018-toyota-corolla-ascent-sport-auto/OAG-AD-26483461/?gts=OAG-AD-26483461>sSaleId=OAG-AD-26483461>sViewType=showcase&rankingType=showcase | 2018 Toyota Corolla Ascent Sport Auto | 2018 | Toyota | Corolla | Ascent Sport Auto | 23999 | AUD | egc | — | 42285 | used | false | Hatch | 4cyl 2.0L Petrol | Automatic | NSW | dealer | AGC-SELLER-54 | 23 | [3 items] |
[
{
"id": "OAG-AD-26408893",
"url": "https://www.carsales.com.au/cars/details/2019-toyota-corolla-ascent-auto/OAG-AD-26408893/?gts=OAG-AD-26408893>sSaleId=OAG-AD-26408893>sViewType=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>sSaleId=OAG-AD-26348016>sViewType=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>sSaleId=OAG-AD-26483461>sViewType=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"
]
}
]id,url,title,year,make,model,badge,price,price_currency,price_basis,price_rating,odometer_km,condition,is_new,body_style,engine,transmission,state,seller_type,seller_id,image_count,images OAG-AD-26408893,https://www.carsales.com.au/cars/details/2019-toyota-corolla-ascent-auto/OAG-AD-26408893/?gts=OAG-AD-26408893>sSaleId=OAG-AD-26408893>sViewType=topspot&rankingType=topspot,2019 Toyota Corolla Ascent Auto,2019,Toyota,Corolla,Ascent Auto,19990,AUD,egc,Fair price,84753,used,false,Sedan,4cyl 1.8L Petrol,Automatic,ACT,dealer,AGC-SELLER-81068,28,"[""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""]" OAG-AD-26348016,https://www.carsales.com.au/cars/details/2024-toyota-corolla-ascent-sport-auto/OAG-AD-26348016/?gts=OAG-AD-26348016>sSaleId=OAG-AD-26348016>sViewType=topspot&rankingType=topspot,2024 Toyota Corolla Ascent Sport Auto,2024,Toyota,Corolla,Ascent Sport Auto,27888,AUD,egc,,42350,used,false,Sedan,4cyl 2.0L Petrol,Automatic,NSW,dealer,AGC-SELLER-17336,24,"[""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""]" OAG-AD-26483461,https://www.carsales.com.au/cars/details/2018-toyota-corolla-ascent-sport-auto/OAG-AD-26483461/?gts=OAG-AD-26483461>sSaleId=OAG-AD-26483461>sViewType=showcase&rankingType=showcase,2018 Toyota Corolla Ascent Sport Auto,2018,Toyota,Corolla,Ascent Sport Auto,23999,AUD,egc,,42285,used,false,Hatch,4cyl 2.0L Petrol,Automatic,NSW,dealer,AGC-SELLER-54,23,"[""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""]"
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
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.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
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:
searchtakes the shared filters, withseller_type(Dealer or Private),sort(price_asc, price_desc, year_desc or odometer_asc) andlimit. - Listings:
listingtakes anid. - Dealer stock:
dealer-stocktakes the shared filters, withlimit. - Facets:
facetstakes the shared filters, withlevel(make, model, state, body_style or price) andq. - Taxonomy:
taxonomytakesconditionandmake. - Valuation:
valuationtakes amake,modelandyear, 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.
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 bandsRequest 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 searchKeep 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 pricesFAQ
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.