# Boots — 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 boots.com.

**Category:** Healthcare | **Website:** [www.boots.com/health-pharmacy/medicines-treatments](https://www.boots.com/health-pharmacy/medicines-treatments) | **Docs:** [parse.bot/marketplace/f2aca51d-c909-4c06-8fe3-f5c8a601335e/boots-com-api](https://parse.bot/marketplace/f2aca51d-c909-4c06-8fe3-f5c8a601335e/boots-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-boots-com-api-f2aca51d/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_medicines

Full-text search over the Boots medicines and treatments catalog. Returns paginated product results matching the query, each with pricing, brand, availability status, pack size, active ingredients, and review scores. Results are auto-iterated across pages.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination (1-based). |
| `page_size` | integer | No | Number of results per page. |
| `query` | string | Yes | Medicine or treatment name to search for (e.g. paracetamol, ibuprofen, cough syrup). |
| `sort_by` | string | No | Sort order for results. |

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