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

> Browse Reserved.com's complete product catalog, search for items by category, view detailed product information, and check real-time stock availability across stores. Find exactly what you're looking for with instant access to pricing, descriptions, and store locations.

**Category:** E-commerce | **Website:** [reserved.com/](https://reserved.com/) | **Docs:** [parse.bot/marketplace/388d4539-607e-4d1a-b9dd-11d5f5a78522/reserved-com-api](https://parse.bot/marketplace/388d4539-607e-4d1a-b9dd-11d5f5a78522/reserved-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-reserved-com-api-388d4539/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### check_store_availability

Checks availability of a specific product size in physical stores. Returns availability status and store details when available. Note: the upstream service may return a technical error ('Technikai probléma') in some cases.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `location` | string | No | City or location string to search for nearby stores (e.g. 'Warsaw'). |
| `product_id` | string | Yes | Numeric product ID (from product details or list_products). |
| `size_id` | string | Yes | Numeric size ID (from product details size list). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-reserved-com-api-388d4539/check_store_availability \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"location":"<string>","product_id":"<string>","size_id":"<string>"}'
```

### get_homepage

Fetches the Reserved Hungary homepage information and promotional banner URLs extracted from the page.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-reserved-com-api-388d4539/get_homepage \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### get_product_detail

Fetches detailed product information by SKU, including description, features, sizes, pricing, color options, and rating data.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sku` | string | Yes | Product SKU (e.g. '334HK-00X'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-reserved-com-api-388d4539/get_product_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sku":"<string>"}'
```

### list_categories

Returns the full category tree including category IDs, names, URLs, and nested children. Used to discover category_id values for list_products.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-reserved-com-api-388d4539/list_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### list_products

Lists products in a given category with support for pagination, sorting, and filtering. Returns product summaries including name, SKU, price, images, sizes, and color options.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | Yes | Category ID from list_categories (e.g. '239' for Women). |
| `colors` | string | No | Comma-separated color slugs to filter by. |
| `limit` | integer | No | Number of results per page. |
| `max_price` | integer | No | Maximum price filter in HUF. |
| `min_price` | integer | No | Minimum price filter in HUF. |
| `page` | integer | No | Zero-based page index. |
| `sizes` | string | No | Comma-separated size slugs to filter by (e.g. 's,m,l'). |
| `sort_by` | string | No | Sort order ID passed to the upstream API. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-reserved-com-api-388d4539/list_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_id":"<string>","colors":"<string>","limit":"<integer>","max_price":"<integer>","min_price":"<integer>","page":"<integer>","sizes":"<string>","sort_by":"<string>"}'
```

### search_products

Searches for products across all categories using a keyword via Algolia. Returns paginated search results with hit details.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of results per page. |
| `page` | integer | No | Zero-based page index. |
| `query` | string | Yes | Search keyword. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-reserved-com-api-388d4539/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>","query":"<string>"}'
```
