# Carrefour (France) — Wrapped API

> **You are on:** `https://api.beta.paywithlocus.com/api` | [llms.txt](https://beta.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 for Locus Pro. Each call burns credits from your workspace balance.

## Access

**Base URL:** `https://api.beta.paywithlocus.com/api/wrapped/credits/carrefour-france/`
**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

### 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.beta.paywithlocus.com/api/wrapped/credits/carrefour-france/browse-category-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/carrefour-france/get-product-details \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/carrefour-france/get-store-locations \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -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.beta.paywithlocus.com/api/wrapped/credits/carrefour-france/search-products \
  -H "Authorization: Bearer $LOCUS_CREDITS_SECRET_KEY" \
  -H "Idempotency-Key: $(uuidgen)" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

## Next steps

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