# Lacentrale — 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 used car listings on lacentrale.fr to instantly compare price statistics—including minimum, maximum, average, and median values—filtered by make, model, year, fuel type, gearbox, and other specifications. Make informed pricing decisions by analyzing real market data for the exact vehicle configuration you're interested in.

**Category:** Automotive | **Website:** [lacentrale.com/](https://lacentrale.com/) | **Docs:** [parse.bot/marketplace/7633e0ce-064b-4029-89ad-3fd046634709/lacentrale-com-api](https://parse.bot/marketplace/7633e0ce-064b-4029-89ad-3fd046634709/lacentrale-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-lacentrale-com-api-7633e0ce/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_price_stats

Get price statistics for a given car configuration from La Centrale listings. Fetches listing pages and computes min, max, average, and median prices. Returns up to 20 sample listings with details. Supports filtering by make, model, year, fuel type, gearbox, version title, and DIN horsepower. Each page contains 23 listings; pagination is bounded by max_pages (default: all up to 50). Local filters (titre, puissance_din) are applied after fetching.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `annee` | string | No | Model year to filter by exact year (e.g., 2020). |
| `boite` | string | No | Gearbox type filter: MANUELLE or AUTOMATIQUE. |
| `energie` | string | No | Fuel type filter: ESSENCE, DIESEL, ELECTRIQUE, HYBRIDE, or GPL. |
| `marque` | string | Yes | Car make/brand in uppercase (e.g., RENAULT, PEUGEOT, BMW). |
| `max_pages` | integer | No | Maximum number of pages to fetch (23 listings per page). 0 fetches all pages up to 50. |
| `modele` | string | Yes | Car model in uppercase (e.g., CLIO, 308, SERIE 3). |
| `puissance_din` | string | No | Filter by DIN horsepower extracted from motorization (e.g., 75, 100). Applied locally after fetching listings. |
| `titre` | string | No | Filter by version/title substring match (e.g., TCE 75 GENERATION). Applied locally after fetching listings. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-lacentrale-com-api-7633e0ce/get_price_stats \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"annee":"<string>","boite":"<string>","energie":"<string>","marque":"<string>","max_pages":"<integer>","modele":"<string>","puissance_din":"<string>","titre":"<string>"}'
```
