# Spesaonline Conad — 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.

> Find nearby Conad supermarkets and view their current promotional flyers to discover product prices and discounts. Access detailed store information like location and hours to plan your shopping trips.

**Category:** Food & Dining | **Website:** [spesaonline.conad.it/](https://spesaonline.conad.it/) | **Docs:** [parse.bot/marketplace/658be0b1-b6dd-4660-8158-62e5b0db2b21/spesaonline-conad-it-api](https://parse.bot/marketplace/658be0b1-b6dd-4660-8158-62e5b0db2b21/spesaonline-conad-it-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-spesaonline-conad-it-api-658be0b1/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_categories

Retrieve every product category from the sitemap. Returns all category slugs and their canonical URLs, useful for discovering the full taxonomy before drilling into products. No input required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-spesaonline-conad-it-api-658be0b1/get_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_product_detail

Fetch full detail for a single product by its URL slug. The slug format is 'product-name--product-code' and appears in listing results' slug field. Returns extended information including all images, characteristics, and category hierarchy.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `slug` | string | Yes | Product URL slug in format 'product-name--product-code' (e.g., 'percorso-qualita-banane-cat-i-conad--50010977') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-spesaonline-conad-it-api-658be0b1/get_product_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slug":"<string>"}'
```

### get_products_by_category

List products belonging to a category, paginated at roughly 40 items per page. Also returns any subcategories nested under the queried category. Category slugs follow the pattern 'name--numeric-code' and are discoverable via get_categories.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_slug` | string | Yes | Category slug from the categories list (e.g., 'frutta-e-verdura--01', 'frutta-fresca--0101') |
| `page` | integer | No | Zero-based page number for pagination |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-spesaonline-conad-it-api-658be0b1/get_products_by_category \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_slug":"<string>","page":"<integer>"}'
```

### get_stores_by_province

Retrieve all Conad stores operating in a given Italian province. Each store entry carries the store format name and full street address. The province slug corresponds to the Italian city/province name in lowercase.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `province` | string | Yes | Province slug in lowercase Italian (e.g., 'milano', 'roma', 'torino', 'firenze') |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-spesaonline-conad-it-api-658be0b1/get_stores_by_province \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"province":"<string>"}'
```

### search_products

Browse the full product catalog. Without a store session the site returns all products alphabetically regardless of the search query, capped at approximately 40 per page. Returns product summaries with pricing and category data.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search query text |

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