# Smyths Toys — 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 retrieve detailed product information from Smyths Toys' catalog across UK, Ireland, Germany, and Netherlands locations. Find toy availability, pricing, and specifications in real-time across multiple regions.

**Category:** E-commerce | **Website:** [smythstoys.com/](https://smythstoys.com/) | **Docs:** [parse.bot/marketplace/c7b2b5bf-8ec3-45c8-b408-a62d9bc070b5/smythstoys-com-api](https://parse.bot/marketplace/c7b2b5bf-8ec3-45c8-b408-a62d9bc070b5/smythstoys-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-smythstoys-com-api-c7b2b5bf/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_product_details

Get detailed information for a specific product by its code.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `locale` | string | No | Region/Locale (uk, ie, de, nl) |
| `product_code` | string | Yes | Product SKU/Code (e.g., 123456) |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-smythstoys-com-api-c7b2b5bf/get_product_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"locale":"<string>","product_code":"<string>"}'
```

### search_products

Search for products by keyword query across different locales.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `locale` | string | No | Region/Locale (uk, ie, de, nl) |
| `page` | integer | No | Current page number |
| `page_size` | integer | No | Number of results per page |
| `query` | string | Yes | Search keyword |

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