# Carrefour (France) — 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.

> Carrefour provides 4 callable API endpoints through the Parse marketplace.

**Category:** Food & Dining | **Website:** [carrefour.fr/](https://carrefour.fr/) | **Docs:** [parse.bot/marketplace/cc2b5dad-f412-4bee-9b32-fd5f482dea10/carrefour-fr-api](https://parse.bot/marketplace/cc2b5dad-f412-4bee-9b32-fd5f482dea10/carrefour-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-carrefour-fr-api-cc2b5dad/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### browse_category_products

List promoted and featured products within a specific category. Categories are identified by slug. Returns a curated set of products (typically 20-30) that Carrefour promotes for that category.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_slug` | string | Yes | Category slug (e.g., 'cremerie', 'boissons', 'epicerie-sucree', 'epicerie-salee', 'fruits-et-legumes') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-carrefour-fr-api-cc2b5dad/browse_category_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_slug":"<string>"}'
```

### get_product_details

Retrieve full details for a single product by its EAN barcode. Returns pricing, ingredients, nutritional information, description, categories, and regulated name. The slug parameter is optional and may improve lookup reliability when the EAN alone is ambiguous.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `ean` | string | Yes | Product EAN barcode (e.g., '3428271240029') |
| `slug` | string | No | Product slug from the URL (e.g., 'lait-demi-ecreme-vitamine-1-mg-lactel') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-carrefour-fr-api-cc2b5dad/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ean":"<string>","slug":"<string>"}'
```

### get_store_locations

Find Carrefour store locations across France. Returns up to 100 stores with address, contact, services, opening hours, and GPS coordinates. Optionally filter by city name.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `city` | string | No | City name to filter stores (e.g., 'Paris', 'Lyon', 'Marseille'). When omitted, returns all stores up to the 100-store limit. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-carrefour-fr-api-cc2b5dad/get_store_locations \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"city":"<string>"}'
```

### search_products

Full-text search over Carrefour.fr grocery products. Returns a list of matching products with pricing, packaging, promotions, and customer review data. Results are ordered by relevance. Typically returns 10-30 products per query.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword (e.g., 'lait', 'pain', 'fromage', 'beurre') |

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