# La Centrale — 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 browse thousands of used cars from La Centrale, France's top automotive marketplace, with detailed specifications like price, mileage, engine type, gearbox, and exterior color. Find your next vehicle by filtering listings and comparing comprehensive car details all in one place.

**Category:** Automotive | **Website:** [www.lacentrale.fr/listing?makesModelsCommercialNames=FERRARI](https://www.lacentrale.fr/listing?makesModelsCommercialNames=FERRARI) | **Docs:** [parse.bot/marketplace/3448478d-df2a-4662-b464-e92c4142c14b/lacentrale-fr-api](https://parse.bot/marketplace/3448478d-df2a-4662-b464-e92c4142c14b/lacentrale-fr-api)

Pay-per-use API proxy for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/credits/la-centrale/`
**Auth:** `Authorization: Bearer <LOCUS_CREDITS_SECRET_KEY>` (an `lcr_` secret key or a scoped `lcac_` agent credential)
**Required header:** `Idempotency-Key: <fresh UUID per call>`. A retry with the same key replays the stored result without a new charge.
**Response:** the provider response after any endpoint-specific normalization. `X-Locus-Credits-Charged` carries the charge and `X-Locus-Credits-Balance` the remaining balance. Insufficient credits return `402` before the provider is called.
**Pricing:** estimated costs below are USD. Locus debits the credit equivalent at your workspace rate.

Full call contract: https://docs.paywithlocus.com/api-reference/introduction

> Using a Pay With Locus wallet key (`claw_` prefix)? Wallet routes are documented separately: https://docs.paywithlocus.com/wrapped-apis/for-agents

## Endpoints

### Search cars

Full-text search over La Centrale's used-car inventory with filters for make, model, energy type, gearbox, price range, mileage, and year. Returns paginated results (up to 16 listings per page). When no filters are supplied, returns the broadest inventory. Pagination is controlled by page and max_pages; the response includes total count for client-side page math.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `energy` | string | No | Fuel type filter. |
| `gearbox` | string | No | Transmission type filter. |
| `make` | string | No | Car manufacturer (e.g., FERRARI, BMW, PEUGEOT, RENAULT). Case-insensitive, converted to uppercase internally. |
| `max_pages` | integer | No | Maximum number of pages to fetch. Capped at 50. Each page returns up to 16 listings. |
| `mileage_max` | integer | No | Maximum mileage in kilometers. |
| `model` | string | No | Car model (e.g., 308, X5, CLIO). Must be used together with make. |
| `page` | integer | No | Starting page number for results. |
| `price_max` | integer | No | Maximum price in euros. |
| `price_min` | integer | No | Minimum price in euros. |
| `year_max` | integer | No | Maximum year of manufacture. |
| `year_min` | integer | No | Minimum year of manufacture. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/credits/la-centrale/search-cars \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"energy":"<string>","gearbox":"<string>","make":"<string>","max_pages":"<integer>","mileage_max":"<integer>","model":"<string>","page":"<integer>","price_max":"<integer>","price_min":"<integer>","year_max":"<integer>","year_min":"<integer>"}'
```

## Next steps

- [All wrapped API providers](https://paywithlocus.com/wapi/index.md): pick another provider.
- [Find and call tools](https://paywithlocus.com/agent/tools.md): price ceilings, async results, and errors.
- [Credits and billing](https://paywithlocus.com/agent/billing.md): what a call costs and how to add credits.
- [Agent docs index](https://paywithlocus.com/agent/index.md): every Locus agent page.