# Auto Data — 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 retrieve comprehensive specifications for over 53,500 cars by browsing brands, models, generations, and variants to find detailed performance, engine, dimensions, and drivetrain data. Quickly access the exact automotive information you need without navigating multiple sources.

**Category:** Automotive | **Website:** [www.auto-data.net/en/mini-electric-cooper-se-f56-facelift-2021-generation-8575](https://www.auto-data.net/en/mini-electric-cooper-se-f56-facelift-2021-generation-8575) | **Docs:** [parse.bot/marketplace/4b8f1db6-d3f1-42fe-b6f1-1329071a2735/auto-data-net-api](https://parse.bot/marketplace/4b8f1db6-d3f1-42fe-b6f1-1329071a2735/auto-data-net-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-auto-data-net-api-4b8f1db6/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_generations

Get all generations for a given car model. Returns generation names, slugs, and thumbnail image URLs. Each generation slug can be passed to get_variants.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `model_slug` | string | Yes | Model slug from get_models results (e.g., 'bmw-3-series-model-953', 'toyota-corolla-model-822'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-auto-data-net-api-4b8f1db6/get_generations \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model_slug":"<string>"}'
```

### get_models

Get all models for a given car brand. Returns model names, production year ranges, and slugs. Each model slug can be passed to get_generations.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `brand_slug` | string | Yes | Brand slug from list_brands results (e.g., 'bmw-brand-86', 'toyota-brand-40'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-auto-data-net-api-4b8f1db6/get_models \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"brand_slug":"<string>"}'
```

### get_specifications

Get full specifications for a specific car variant including performance, engine, dimensions, drivetrain, and weight data. Returns structured specification sections that vary by vehicle type, plus key FAQ-style specs and an image URL.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `variant_slug` | string | Yes | Variant slug from get_variants results (e.g., 'mini-electric-cooper-se-f56-facelift-2021-32.6-kwh-184hp-44617'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-auto-data-net-api-4b8f1db6/get_specifications \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"variant_slug":"<string>"}'
```

### get_variants

Get all variants (trims/engine options) for a given generation. Returns variant names, production years, and slugs. Each variant slug can be passed to get_specifications.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `generation_slug` | string | Yes | Generation slug from get_generations results (e.g., 'bmw-3-series-sedan-long-g28-lci-facelift-2022-generation-10417'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-auto-data-net-api-4b8f1db6/get_variants \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"generation_slug":"<string>"}'
```

### list_brands

List all car brands available in the database (376+ brands). Returns brand names, slugs, and URL paths. Each brand slug can be passed to get_models to retrieve that brand's model lineup.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-auto-data-net-api-4b8f1db6/list_brands \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search

Search for cars by keyword (brand, model, generation names) using autocomplete. Returns up to 30 matching results with their type classification (brand, model, generation, or variant) and slugs for further lookup.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword (e.g., 'BMW 3', 'Toyota Corolla', 'Audi A4'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-auto-data-net-api-4b8f1db6/search \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```
