# Grandiose — 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 grandiose.ae.

**Category:** Food & Dining | **Website:** [www.grandiose.ae/](https://www.grandiose.ae/) | **Docs:** [parse.bot/marketplace/260e084e-f37d-4bc0-8843-464049369dd0/grandiose-ae-api](https://parse.bot/marketplace/260e084e-f37d-4bc0-8843-464049369dd0/grandiose-ae-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-grandiose-ae-api-260e084e/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product_by_barcode

Get detailed product information for a specific barcode. Returns exactly one product when the barcode matches a product SKU. Raises ProductNotFound when no exact match exists.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `barcode` | string | Yes | Product barcode in EAN/UPC format (e.g. 6291030200025). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-grandiose-ae-api-260e084e/get_product_by_barcode \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"barcode":"<string>"}'
```

### search_by_barcode

Search for products on Grandiose by barcode (EAN/UPC). Returns matching products with pricing, availability, and category information. Results are auto-iterated.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `barcode` | string | Yes | Product barcode in EAN/UPC format (e.g. 6291030200025). |

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