# Anndemeulemeester — 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 anndemeulemeester.com.

**Category:** E-commerce | **Website:** [anndemeulemeester.com/en-us](https://anndemeulemeester.com/en-us) | **Docs:** [parse.bot/marketplace/87a51908-03cf-4d18-8a5c-fa7e6fc62c82/anndemeulemeester-com-api](https://parse.bot/marketplace/87a51908-03cf-4d18-8a5c-fa7e6fc62c82/anndemeulemeester-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-anndemeulemeester-com-api-87a51908/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product

Get full product details by handle, including all variants with sizing/pricing, high-resolution images, options, and HTML description. The handle is the URL slug of the product, obtainable from search_products or list_collection_products results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `handle` | string | Yes | Product URL handle (e.g. 'woman-ann-demeulemeester-clothing-jackets-b0014200fa728-215'). Obtain from search_products or list_collection_products results. |

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

### list_collection_products

List products within a specific collection by its handle. Returns paginated product data including variants with pricing and availability, images, and tags. Use collection handles from list_collections.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `collection_handle` | string | Yes | URL handle of the collection (e.g. 'new-in-women', 'accessories'). Obtain from list_collections results. |
| `limit` | integer | No | Number of products per page. Maximum 250. |
| `page` | integer | No | Page number for pagination (1-based). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-anndemeulemeester-com-api-87a51908/list_collection_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"collection_handle":"<string>","limit":"<integer>","page":"<integer>"}'
```

### list_collections

List product collections from the store catalog. Returns paginated collection metadata including title, handle, image, and product count. Use the handle value to retrieve products within a collection via list_collection_products.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Number of collections per page. Maximum 250. |
| `page` | integer | No | Page number for pagination (1-based). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-anndemeulemeester-com-api-87a51908/list_collections \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":"<integer>","page":"<integer>"}'
```

### search_products

Search products by keyword across the Ann Demeulemeester catalog. Returns up to 10 matching products with pricing, availability, tags, and image URLs. Results are server-ranked by relevance to the query.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `limit` | integer | No | Maximum number of products to return. Capped at 10 by the upstream API. |
| `product_type` | string | No | Resource type to search. Accepted values: product, collection, page. |
| `query` | string | Yes | Search query text to match against product titles and descriptions. |

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