# Toyota (Argentina) — 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 Toyota Argentina's complete vehicle catalog with structured data on models, versions, pricing (including prices with and without national taxes), specifications, and dealership locations by province and city.

**Category:** Automotive | **Website:** [toyota.com.ar/](https://toyota.com.ar/) | **Docs:** [parse.bot/marketplace/897a5a1c-d8f4-4905-9dc5-5ee2b1a9cc8e/toyota-com-ar-api](https://parse.bot/marketplace/897a5a1c-d8f4-4905-9dc5-5ee2b1a9cc8e/toyota-com-ar-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-toyota-com-ar-api-897a5a1c/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_all_models

Get a list of all current Toyota vehicle models available in Argentina, including their categories and slugs. Returns models grouped from the official Toyota Argentina lineup page.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-toyota-com-ar-api-897a5a1c/get_all_models \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_all_vehicle_prices

Aggregate endpoint that returns pricing and version data for multiple vehicle models in the lineup. Iterates through models sequentially, so response time scales with the limit parameter.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of models to process. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-toyota-com-ar-api-897a5a1c/get_all_vehicle_prices \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>"}'
```

### get_dealership_finder

Search for Toyota dealerships in Argentina. Can be filtered by province or city. Filtering uses case-insensitive substring matching against stored dealership data. Returns all dealerships when no filters are provided.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `ciudad` | string | No | Filter by city name as stored in the dealership database. Case-insensitive substring match. City examples that return results: 'Bahia Blanca', 'Mar Del Plata', 'La Plata', 'Trelew'. |
| `provincia` | string | No | Filter by province name. Case-insensitive substring match (e.g., 'Buenos Aires', 'Santa Fe', 'Chubut'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-toyota-com-ar-api-897a5a1c/get_dealership_finder \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ciudad":"<string>","provincia":"<string>"}'
```

### get_model_categories

Get the vehicle category structure (Autos, Pick-Up, SUV, Comercial, Deportivos, Electrificados, Camiones) and models within each category.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-toyota-com-ar-api-897a5a1c/get_model_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_vehicle_detail

Get detailed information for a specific vehicle model, including all available versions, pricing, key features, colors, and configuration URLs. Uses the model slug from get_all_models.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | The vehicle model slug from get_all_models results (e.g., 'yaris-hatchback', 'hilux-srvsrx', 'corolla-cross-hybrid'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-toyota-com-ar-api-897a5a1c/get_vehicle_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_vehicle_versions

Alias for get_vehicle_detail. Returns all versions and pricing for a specific vehicle model. Response structure is identical to get_vehicle_detail.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | The vehicle model slug from get_all_models results (e.g., 'corolla', 'hilux-srvsrx', 'gr86'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-toyota-com-ar-api-897a5a1c/get_vehicle_versions \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```
