# AutoTrader Australia — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> Search and browse car listings on AutoTrader Australia with filters by make and model, then view detailed information about specific vehicles. Find available cars with full specs and compare options across thousands of listings using customizable filters.

**Category:** Automotive | **Website:** [autotrader.com.au/](https://autotrader.com.au/) | **Docs:** [parse.bot/marketplace/a1428dd4-b442-41c2-9fa5-3379503a68c2/autotrader-com-au-api](https://parse.bot/marketplace/a1428dd4-b442-41c2-9fa5-3379503a68c2/autotrader-com-au-api)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/parse-autotrader-com-au-api-a1428dd4/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_available_makes

Retrieve all available car makes with their listing counts. Returns a list of makes sorted by number of listings. Useful for discovering valid make values to pass to search_listings or get_models_for_make.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-autotrader-com-au-api-a1428dd4/get_available_makes \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_listing_detail

Retrieve full details for a single car listing by its ID. Returns comprehensive information including vehicle specifications, pricing, photos, dealer details, and location. The listing_id is obtainable from search_listings results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `listing_id` | string | Yes | Numeric listing ID (e.g. '14849483'). Obtainable from search_listings results at data[*].id. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-autotrader-com-au-api-a1428dd4/get_listing_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"listing_id":"<string>"}'
```

### get_models_for_make

Retrieve all models for a specific car make with their listing counts. Returns a list of models sorted by number of listings. Useful for discovering valid model values to pass to search_listings.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `make` | string | Yes | Car make name (e.g. 'Toyota'). Values available from get_available_makes endpoint. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-autotrader-com-au-api-a1428dd4/get_models_for_make \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"make":"<string>"}'
```

### search_listings

Search for car listings with various filters. Returns a paginated list of listings sorted by the specified criteria. Each listing includes full vehicle details, pricing, photos, dealer info, and location. Pagination via integer page counter; default sort is by price ascending.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `condition` | string | No | Vehicle condition filter. |
| `location` | string | No | Australian state abbreviation (e.g. 'NSW', 'VIC', 'QLD', 'WA', 'SA', 'TAS', 'ACT', 'NT'). |
| `make` | string | No | Car make to filter by (e.g. 'Toyota', 'Ford', 'Mazda'). Values available from get_available_makes endpoint. |
| `model` | string | No | Car model to filter by (e.g. 'Corolla', 'RAV4'). Values available from get_models_for_make endpoint. |
| `orderBy` | string | No | Sort order. |
| `page` | integer | No | Page number for pagination (1-based). |
| `paginate` | integer | No | Number of results per page. |
| `postcode` | string | No | Australian postcode for location-based search (4-digit string, e.g. '2000'). |
| `priceFrom` | integer | No | Minimum price filter. |
| `priceTo` | integer | No | Maximum price filter. |
| `radius` | integer | No | Search radius in km from postcode location. |
| `sortBy` | string | No | Field to sort results by. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-autotrader-com-au-api-a1428dd4/search_listings \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"condition":"<string>","location":"<string>","make":"<string>","model":"<string>","orderBy":"<string>","page":"<integer>","paginate":"<integer>","postcode":"<string>","priceFrom":"<integer>","priceTo":"<integer>","radius":"<integer>","sortBy":"<string>"}'
```
