# Toyota (Malaysia) — 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.

> Browse Toyota Malaysia's complete vehicle lineup with detailed specs, galleries, and videos for each model, then compare variants side-by-side to find the perfect match for your needs. Access comprehensive information on pricing tiers, features, and specifications across all available Toyota models in Malaysia.

**Category:** Automotive | **Website:** [toyota.com.my/](https://toyota.com.my/) | **Docs:** [parse.bot/marketplace/c2390f7a-244c-4764-a2f4-77d5883ff303/toyota-com-my-api](https://parse.bot/marketplace/c2390f7a-244c-4764-a2f4-77d5883ff303/toyota-com-my-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-my-api-c2390f7a/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### compare_variants

Compare variants side-by-side with specs including engine, measurements, in-vehicle features, and safety. Filter by specific variant slugs, body type, or model slug. If no filter is provided, all variants are returned. Returns structured comparison data with spec labels for each section.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `body_type` | string | No | Filter by body type category |
| `model_slug` | string | No | Filter variants matching a model slug (e.g., 'fortuner' returns all Fortuner variants) |
| `variant_slugs` | string | No | Comma-separated variant slugs to compare (e.g., 'fortuner-2-8-vrz-at-4wd,fortuner-2-4-at-4wd') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-toyota-com-my-api-c2390f7a/compare_variants \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"body_type":"<string>","model_slug":"<string>","variant_slugs":"<string>"}'
```

### get_model_details

Get detailed information for a specific Toyota model including hero image, video URL, gallery images, colors, variants with regional pricing, overview specs, and feature sections. Each model page provides comprehensive marketing and specification data.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `model_slug` | string | Yes | Model slug identifier used in Toyota Malaysia URLs (e.g., 'fortuner', 'hilux', 'vios', 'corolla-cross-hybrid-electric', 'gr-supra') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-toyota-com-my-api-c2390f7a/get_model_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model_slug":"<string>"}'
```

### get_variant_specs

Get full detailed specifications for a specific model variant, organized by category (Engine, Transmission, Chassis, Dimensions, Exterior Features, Interior Features, Safety, Security, Optional). Each spec section contains key-value pairs of specification labels and values.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `model_slug` | string | Yes | Model slug (e.g., 'fortuner', 'vios', 'hilux') |
| `variant_slug` | string | Yes | Variant slug identifying the specific trim/configuration (e.g., 'fortuner-2-8-vrz-at-4wd', 'new-vios-1-5g-at') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-toyota-com-my-api-c2390f7a/get_variant_specs \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model_slug":"<string>","variant_slug":"<string>"}'
```

### list_models

List all available Toyota Malaysia models with basic info including name, body type, category, starting price, image URL, and available grades/variants. Returns the complete catalog extracted from the global navigation model list. No parameters required.

**Estimated cost:** Metered

_No parameters required._

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