# Carrefouruae — 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.

> Access data from carrefouruae.com.

**Category:** E-commerce | **Website:** [www.carrefouruae.com/mafuae/en/still-water/masafi-330mlx12-special-offer-/p/1590989?offer=offer_carrefour_&sid=SLOTTED&sellerId=0000](https://www.carrefouruae.com/mafuae/en/still-water/masafi-330mlx12-special-offer-/p/1590989?offer=offer_carrefour_&sid=SLOTTED&sellerId=0000) | **Docs:** [parse.bot/marketplace/34a25ecc-b788-46e0-a7ae-bd9056525516/carrefouruae-com-api](https://parse.bot/marketplace/34a25ecc-b788-46e0-a7ae-bd9056525516/carrefouruae-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-carrefouruae-com-api-34a25ecc/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product

Retrieve full product details including barcode (EAN), pricing, availability, brand, origin, category hierarchy, and images for a given Carrefour UAE product ID. Returns a single product record or an error when the ID does not match any listed product.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | Carrefour UAE numeric product identifier (e.g. 1590989). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-carrefouruae-com-api-34a25ecc/get_product \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id":"<string>"}'
```

### search_by_barcode

Search for a product by EAN/barcode and return its full details. Searches the Carrefour UAE catalog using the barcode as a keyword, identifies the matching product, and returns its complete product record including pricing, availability, brand, origin, category hierarchy, and images. Returns a single product record or an error when no product matches the barcode.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `barcode` | string | Yes | EAN/barcode string to search for (e.g. 6291001014583). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-carrefouruae-com-api-34a25ecc/search_by_barcode \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"barcode":"<string>"}'
```
