# 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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/autotrader-australia/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## 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/credits/autotrader-australia/get-available-makes \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/autotrader-australia/get-listing-detail \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/autotrader-australia/get-models-for-make \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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/credits/autotrader-australia/search-listings \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.