# Iaai — 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.

> Access data from iaai.com.

**Category:** Automotive | **Website:** [www.iaai.com/Search?url=gltVFa1JNUe83UUL3fBDlsvpcyZrCQB5jIX2R4CfQ00%3d](https://www.iaai.com/Search?url=gltVFa1JNUe83UUL3fBDlsvpcyZrCQB5jIX2R4CfQ00%3d) | **Docs:** [parse.bot/marketplace/31c6321f-f1ee-4453-a201-0024a3d3df64/iaai-com-api](https://parse.bot/marketplace/31c6321f-f1ee-4453-a201-0024a3d3df64/iaai-com-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-iaai-com-api-31c6321f/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_buy_now_vehicles

Search for vehicles with Buy Now pricing on IAAI. Returns paginated results including vehicle title, URL, stock number, mileage, auction location, auction lane, and buy now price. Results are ordered by auction date (soonest first) by default. Optionally filter by keyword to narrow results to specific makes, models, or other terms.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `keyword` | string | No | Optional keyword to filter vehicles (e.g. make, model, or other search term). When omitted, returns all Buy Now vehicles. |
| `page` | integer | No | Page number for pagination, starting at 1. |
| `page_size` | integer | No | Number of vehicles per page, between 1 and 100. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-iaai-com-api-31c6321f/search_buy_now_vehicles \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword":"<string>","page":"<integer>","page_size":"<integer>"}'
```
