# Apollo Pharmacy — 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 for medicines on Apollo Pharmacy by name and instantly access product details like price, manufacturer, availability status, and pack sizes. Perfect for comparing medication options and checking stock availability before purchase.

**Category:** Healthcare | **Website:** [www.apollopharmacy.in/](https://www.apollopharmacy.in/) | **Docs:** [parse.bot/marketplace/957f7b41-78a9-4483-9446-5c8801cbe27b/apollopharmacy-in-api](https://parse.bot/marketplace/957f7b41-78a9-4483-9446-5c8801cbe27b/apollopharmacy-in-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-apollopharmacy-in-api-957f7b41/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### search_medicines

Search medicines by name on Apollo Pharmacy. Returns up to 20 matching products with pricing, availability, manufacturer, and pack size information. Results are sorted by relevance to the search query.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `pincode` | string | No | Indian PIN code for delivery availability check. 6-digit string (e.g. '110055' for Delhi). |
| `query` | string | Yes | Medicine name or keyword to search for (e.g. 'paracetamol', 'dolo 650', 'amoxicillin'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-apollopharmacy-in-api-957f7b41/search_medicines \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pincode":"<string>","query":"<string>"}'
```
