# Carsales Scraper - Australian Used Car Listings, Prices & Data (`scrape_api/carsales-scraper`) Actor

Collect Australian used car listings from Carsales Australia as a used car dataset: AUD asking price, year, mileage, seller type, state, photos and the site's price insight, with optional equipment and specifications over the API. For dealers, valuation tools and importers.

- **URL**: https://apify.com/scrape_api/carsales-scraper.md
- **Developed by:** [Scrape_API](https://apify.com/scrape_api) (community)
- **Categories:** E-commerce, Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 carsales listing rows

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Carsales Scraper

Carsales Scraper turns the active vehicle advertisements on carsales.com.au into a used car dataset for dealers, valuation tools and importers who follow the Australian market. Search by make and model, reuse a Carsales search URL, or combine vehicle and seller filters. Each delivered row carries the asking price in Australian dollars, the odometer reading, model year, seller type, advertised state and the source's own price insight, so one collection is ready for market monitoring, valuation research and inventory comparison.

Each delivered record describes one advertisement. It includes the stable Carsales listing ID, a clean vehicle URL, title, asking price in Australian dollars, manufacturer, model, year, odometer reading and advertised state when those values are available. Dealer and private advertisements use the same row structure, making the exported data suitable for spreadsheets and repeatable analysis.

### Carsales Scraper input

Start with a manufacturer such as Toyota and optionally add a model such as RAV4. A model requires a manufacturer. Set the maximum number of unique advertisements with `limit`; the default is 100 and the supported maximum is 10,000. This is a collection limit, rather than a guarantee that the source contains that many accessible advertisements.

Alternatively, supply a Carsales search URL in `url`. The URL takes precedence over the individual search filters. Use a public vehicle search path on carsales.com.au. Vehicle detail URLs, other websites and URLs containing credentials are rejected. Saved links containing an offset parameter have that parameter removed before collection.

Filters include used or new condition, dealer or private seller, Australian state or territory, minimum and maximum price, model year and odometer reading. Prices are interpreted in AUD and distances in kilometres. Range endpoints are inclusive. Minimum values must not exceed maximum values. Demonstrator vehicles can be included by the source in a used-vehicle search.

The available ordering options include featured results, price ascending or descending, odometer ascending or descending and year ascending or descending. Promoted advertisements can appear alongside ordinary results. The scraper marks them explicitly and removes duplicates using the stable listing identifier.

### Output and vehicle fields

Every row contains `source`, `fetched_at`, `listing_id`, `url`, `title`, `price`, `currency`, `country` and `position`. The country is AU and the currency is AUD. The price is a number, never a formatted currency string. Missing asking prices remain null. The displayed price text and its qualification are retained separately when present.

Vehicle fields include `brand`, `make`, `model`, `variant`, `year`, `condition`, `odometer_km`, `body_type`, `engine` and `transmission`. Seller information includes the public seller identifier and seller type. Search cards do not provide a reliable seller name. The main photo URL and photo count are included when published.

Price insight fields preserve the source comparison badge. GREAT PRICE becomes `well_below_market`, GOOD PRICE becomes `below_market` and FAIR PRICE becomes `around_market`. An absent badge remains null. These labels describe the source comparison, rather than an independent valuation or an appraisal performed by this actor.

Cars advertised as new cars to order are classified as new. They may have no odometer reading or advertised state. A state filter can also include advertisements from another state because of source search behaviour. Source fields are retained so you can make your own downstream selection.

#### Output example

The first row of a RAV4 search for 100 advertisements, collected on 11 November 2026:

```json
{
  "source": "carsales-scraper",
  "fetched_at": "2026-11-11T01:43:53.212Z",
  "listing_id": "OAG-AD-26429861",
  "listing_uuid": "86682153-9a89-4c76-ad85-16790ca88740",
  "url": "https://www.carsales.com.au/cars/details/2026-toyota-rav4-cruiser-auto-2wd/OAG-AD-26429861/",
  "title": "2026 Toyota RAV4 Cruiser Auto 2WD",
  "price": 61990,
  "currency": "AUD",
  "country": "AU",
  "brand": "Toyota",
  "make": "Toyota",
  "model": "RAV4",
  "year": 2026,
  "condition": "demo",
  "image_url": "https://carsales.pxcrush.net/carsales/car/dealer/82yndgaytd3xfzfyav1s5wve2.jpg?pxc_method=fitfill&pxc_bgtype=self&pxc_size=720,480",
  "position": 1,
  "variant": "Cruiser Auto 2WD",
  "odometer_km": 2688,
  "body_type": "SUV",
  "engine": "4cyl 2.5L Hybrid",
  "transmission": "Automatic",
  "price_text": "$61,990",
  "price_type": null,
  "price_insight": "below_market",
  "price_insight_label": "GOOD PRICE",
  "ad_type": "Dealer Demo",
  "seller_type": "dealer",
  "seller_id": "AGC-SELLER-56024",
  "state": "VIC",
  "photo_count": 27,
  "is_promoted": true,
  "promotion_type": "topspot",
  "details_fetched": false
}
```

Here the source showed the vehicle as a good price against comparable RAV4 listings, which is why `price_insight` reads `below_market`. `details_fetched` is false because this run did not ask for detail pages.

### Optional vehicle details

Enable `include_details` to collect the public detail page for each delivered advertisement. Successful detail collection adds exterior and interior colour, suburb, region, postcode, dealer stock reference, build and compliance labels, seller comments, feature labels and a dictionary of vehicle specifications where available.

The `details_fetched` boolean records whether the matching detail page was successfully read. If an individual page cannot be collected, the original search row is still delivered with that flag set to false. Run warnings explain that the detail phase was incomplete. Unavailable fields are not reconstructed from guesses.

The scalar detail fields of a real row from a ten-row detail run on 11 November 2026 are shown below. The seller comments, feature labels and specifications dictionary travel with the same row and are left out of this excerpt only because of their length:

```json
{
  "listing_id": "OAG-AD-25804305",
  "details_fetched": true,
  "exterior_colour": "Silver Sky",
  "interior_colour": "Black",
  "suburb": "acacia ridge",
  "region": "brisbane all",
  "postcode": "4110",
  "price_type_code": "dap",
  "sale_status": "for sale",
  "stock_number": "39170",
  "build_date": "February 2023",
  "compliance_date": "March 2023",
  "redbook_code": null
}
```

VIN is not available in the measured Carsales listing pages and this actor does not provide a VIN field. Registration plates displayed only as images are not transcribed. A source catalogue publication date is not treated as the advertisement creation date. If your workflow requires these fields, check another authorised source before selecting this dataset.

### Pagination and completeness

Collection resumes automatically across result pages. For searches requesting more than 400 advertisements, the actor divides the search into inclusive price bands because Carsales limits the accessible pages of an individual search. Duplicate listing IDs are removed across pages and bands, and delivered positions remain contiguous.

Large collections follow price-band order, with your selected source ordering applied inside each band. They are not globally sorted by that ordering. An indivisible price band containing too many advertisements can remain incomplete and produces a warning. Narrower filters can improve coverage. Source totals can change while a collection is running because advertisements are added, removed or updated.

Results are saved as dataset rows and can be exported with Apify's normal export formats. The run summary includes delivery status and charging information. Review warnings alongside the dataset when a source page or an optional detail could not be collected.

### Use cases

#### Dealer inventory monitoring

Run the same search on a schedule and follow what competing dealers advertise, in which state, at what price and with what odometer reading. Because every row keeps `listing_id`, `fetched_at`, `seller_id` and `position`, two runs compare directly: what disappeared, what was repriced and what arrived. `is_promoted` separates paid placements from ordinary results so a promoted row is not read as new inventory.

#### Used car valuation and price research

`price_insight` and `price_insight_label` carry the source's own comparison of an advertisement against similar vehicles: `well_below_market`, `below_market` or `around_market`, with the displayed badge text beside them. Asking prices in AUD plus year, model, variant and odometer readings give a valuation model current Australian inputs, and repeating the search turns one snapshot into a price series. The badges describe what the source claims; they are not an independent appraisal.

#### Import market research

Importers weigh the Australian market by model, year, odometer and state. A single collection spans dealer and private advertisements across every state and territory, with `condition` separating used, new and demonstrator vehicles, so supply and asking prices can be compared before a vehicle is shortlisted.

#### Dashboards and repeatable exports

Rows land in the default Apify dataset and export as JSON, CSV or Excel, or read through the Apify API on a schedule. The result is plain used car data: one row per advertisement with stable identifiers, ready for spreadsheets, warehouses and dashboards alike. Add `include_details` only when colours, suburb, stock reference, feature labels and specifications are needed; the search fields stand on their own.

### Carsales Scraper compared with other options

Carsales publishes its listings for people browsing the site. There is no public export of live search results, and one search only pages so far, which is why a large collection here is split into price bands and delivered as one dataset with contiguous positions. Duplicate listing identifiers are removed across pages and bands.

Other Carsales scrapers on the Apify Store also return search rows. Several charge a second event for each vehicle whose detail page is collected as well; this actor does the same, so you never pay for details you did not enable. Where the implementations differ, the details that matter downstream are: a failed detail page keeps the search row and sets `details_fetched` to false instead of dropping the vehicle, source fields such as the displayed price text and the promoted flag are retained rather than cleaned away, and no VIN is invented — Carsales does not publish one on these pages. Direct integrations offered to Carsales' business customers cover their own dealer leads and inventory, not a bulk read of the consumer search.

### Pricing and free usage

The actor uses two result events: `listing` for each delivered unique advertisement and `listing_detail` for a delivered advertisement whose optional details were successfully collected. The list price of the listing event is $0.0009 per delivered advertisement, that is $0.90 per 1,000. The detail event is additional to the listing event, and the actor's Pricing tab shows the current rate of both events. Failed detail attempts do not incur the successful-detail event, and duplicate advertisements do not create extra listing events.

Empty searches do not incur result charges and there is no actor start event. Free users receive at most ten delivered advertisements per run. Set `include_details` only when the additional fields help your analysis; basic search fields are available without that option.

### FAQ

#### Can I collect more than 400 Carsales advertisements?

Yes. Set a higher limit to activate price-band collection. Coverage depends on source availability, matching filters and whether a price band can be subdivided sufficiently. Check warnings for any remaining limitation.

#### Does the actor return VIN numbers?

No. The measured public source pages do not publish VIN values. Optional details return the public equipment, location and specification fields described above.

#### What happens when a vehicle detail page fails?

The advertisement still appears with its available search fields. `details_fetched` remains false, a warning reports the incomplete phase and no successful-detail event is counted for that row.

#### Are prices always in Australian dollars?

Yes. Numeric asking prices use AUD. Displayed qualifications such as exclusions or drive-away labels remain separate source fields, allowing you to compare equivalent prices in your own analysis.

#### Is there a Carsales API?

Carsales offers integrations to its own business customers, but it does not publish a public API that returns consumer search results as data. Carsales Scraper works as a Carsales API for that purpose: send a search URL or a set of filters through the Apify API, receive JSON rows in the dataset, or schedule the actor and export JSON, CSV or Excel.

# Actor input Schema

## `url` (type: `string`):

Carsales search URL. Takes precedence over filters; offset is removed.

## `make` (type: `string`):

Manufacturer name, for example Toyota.

## `model` (type: `string`):

Model name, for example RAV4. Requires make.

## `condition` (type: `string`):

Used includes demonstrators.

## `seller_type` (type: `string`):

Dealer or private advertisements.

## `state` (type: `string`):

Australian state or territory. The source may include nearby listings.

## `sort` (type: `string`):

Source ordering within each price band; promoted listings may appear first.

## `include_details` (type: `boolean`):

Fetch public colour, location, equipment and specifications. VIN is not published.

## `limit` (type: `integer`):

Maximum unique listings across cursor calls. More than 400 activates price splitting.

## `cursor` (type: `string`):

Signed continuation token. Repeat the original input unchanged with this token.

## `price_min` (type: `integer`):

Price in AUD, inclusive minimum.

## `price_max` (type: `integer`):

Price in AUD, inclusive maximum.

## `year_min` (type: `integer`):

Model year, inclusive minimum.

## `year_max` (type: `integer`):

Model year, inclusive maximum.

## `odometer_min` (type: `integer`):

Odometer in km, inclusive minimum.

## `odometer_max` (type: `integer`):

Odometer in km, inclusive maximum.

## Actor input object example

```json
{
  "url": "https://www.carsales.com.au/cars/toyota/",
  "condition": "all",
  "seller_type": "all",
  "sort": "featured",
  "include_details": false,
  "limit": 100
}
```

# Actor output Schema

## `results` (type: `string`):

Delivered vehicle rows.

## `summary` (type: `string`):

Delivery and charging status.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "url": "https://www.carsales.com.au/cars/toyota/"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrape_api/carsales-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "url": "https://www.carsales.com.au/cars/toyota/" }

# Run the Actor and wait for it to finish
run = client.actor("scrape_api/carsales-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "url": "https://www.carsales.com.au/cars/toyota/"
}' |
apify call scrape_api/carsales-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrape_api/carsales-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/mrdSCO52dpO44XXwn/builds/8bMrHg9lLrJzusoqK/openapi.json
