# Shop Sanrio — 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.

> Search and browse Sanrio products by category, character, and keyword, while viewing detailed product information including pricing and availability from the official Sanrio Online Shop. Get autocomplete suggestions and discover new product releases to find the perfect Sanrio merchandise.

**Category:** E-commerce | **Website:** [shop.sanrio.co.jp/](https://shop.sanrio.co.jp/) | **Docs:** [parse.bot/marketplace/88fe86eb-9c3f-4cd4-8c1f-4ee7718d9204/shop-sanrio-co-jp-api](https://parse.bot/marketplace/88fe86eb-9c3f-4cd4-8c1f-4ee7718d9204/shop-sanrio-co-jp-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-shop-sanrio-co-jp-api-88fe86eb/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product_detail

Get detailed information about a specific product including variants, images, specs, and stock status. Uses product_id from search_products results. Returns variant availability, material, sizing, and character association.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `product_id` | string | Yes | Product ID path from search results (e.g. '1_1_2605912808_1/KT_RED/-'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shop-sanrio-co-jp-api-88fe86eb/get_product_detail \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"product_id":"<string>"}'
```

### list_categories

List all product categories available on the Sanrio online shop. Returns category IDs usable as the category_id filter in search_products.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shop-sanrio-co-jp-api-88fe86eb/list_categories \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### list_characters

List all Sanrio characters available for filtering products. Returns character IDs usable as the character_id filter in search_products.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shop-sanrio-co-jp-api-88fe86eb/list_characters \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### list_new_products

List newly released products on the Sanrio online shop. Returns the same structure as search_products sorted by newest first. No input parameters needed.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shop-sanrio-co-jp-api-88fe86eb/list_new_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_autocomplete

Get search suggestions for a keyword. Returns keyword and product-type suggestions from the autocomplete service. Useful for discovering popular search terms.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword to get suggestions for. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shop-sanrio-co-jp-api-88fe86eb/search_autocomplete \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

### search_products

Search for products on the Sanrio online shop with keyword, category, and character filters. Returns paginated results with product summaries. Sorting and page size are configurable. Each product includes a product_id usable with get_product_detail.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `category_id` | string | No | Category ID to filter by, from list_categories results. |
| `character_id` | string | No | Character ID to filter by, from list_characters results. |
| `limit` | integer | No | Number of results per page. |
| `page` | integer | No | Page number for pagination. |
| `query` | string | No | Search keyword (e.g. 'キティ', 'hello kitty', 'ぬいぐるみ'). |
| `sort` | string | No | Sort order for results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-shop-sanrio-co-jp-api-88fe86eb/search_products \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"category_id":"<string>","character_id":"<string>","limit":"<integer>","page":"<integer>","query":"<string>","sort":"<string>"}'
```
