# Cedeo — 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 for plumbing and heating products on CEDEO, view detailed product information with variants, and locate nearby agency stores. Access comprehensive product catalogs, specifications, and inventory across CEDEO's retail network.

**Category:** E-commerce | **Website:** [cedeo.fr/](https://cedeo.fr/) | **Docs:** [parse.bot/marketplace/82e24d40-3c9f-4893-8f6b-3c73d4d5a114/cedeo-fr-api](https://parse.bot/marketplace/82e24d40-3c9f-4893-8f6b-3c73d4d5a114/cedeo-fr-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-cedeo-fr-api-82e24d40/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_agency_locator

Retrieve all CEDEO branch/agency locations across France. Returns agency names, URLs, slugs, and IDs.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cedeo-fr-api-82e24d40/get_agency_locator \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_category

Browse products within a specific category on cedeo.fr. Returns product listings for the given category slug and ID combination.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | Yes | Internal category ID (e.g. 'x3snv3_dig_2029325R7') |
| `slug` | string | Yes | Category URL slug (e.g. 'fontes-sme') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cedeo-fr-api-82e24d40/get_category \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_id":"<string>","slug":"<string>"}'
```

### get_product_detail

Fetch full details for a single product by its URL on cedeo.fr. Returns name, brand, reference codes, images, and specifications when available.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `url` | string | Yes | Full product page URL (e.g. 'https://www.cedeo.fr/p/plomberie/robinet-arro-chrome-15x21-20x27-ref-70-5fg-A1039403') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cedeo-fr-api-82e24d40/get_product_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"<string>"}'
```

### get_product_variants

Retrieve the variants/models table for a product family by article ID. Returns the variant group name, axes (dimensions like color, size), and all variant articles with their references and URLs.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `article_id` | string | Yes | Cedeo article reference ID (e.g. '1039403') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cedeo-fr-api-82e24d40/get_product_variants \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"article_id":"<string>"}'
```

### search_products

Search for products by keyword query on cedeo.fr. Returns up to 24 products per page with name, brand, reference, and URL. Paginated by page number.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination, starts at 1 |
| `query` | string | Yes | Search keyword (e.g. 'robinet', 'chaudiere') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-cedeo-fr-api-82e24d40/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"page":"<integer>","query":"<string>"}'
```
