# Apollo247 — 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 compare medicines, view detailed product information, discover lab tests, and locate nearby Apollo 24|7 pharmacy stores. Browse medical specialties and popular diagnostic services to plan your healthcare needs in one convenient platform.

**Category:** Healthcare | **Website:** [apollo247.com/](https://apollo247.com/) | **Docs:** [parse.bot/marketplace/5499d8e1-893c-416a-a24f-534ae0c82887/apollo247-com-api](https://parse.bot/marketplace/5499d8e1-893c-416a-a24f-534ae0c82887/apollo247-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-apollo247-com-api-5499d8e1/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

## Endpoints

### get_medicine_details

Get full details of a specific medicine or health product by SKU code. Returns comprehensive product information including composition, uses, side effects, FAQs, drug interactions, safety advice, and pricing. The SKU is obtainable from search_medicines results.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `sku` | string | Yes | The product SKU code in uppercase alphanumeric format (e.g. 'DOL0026', 'CRO0091'). Obtainable from search_medicines results. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-apollo247-com-api-5499d8e1/get_medicine_details \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sku":"<string>"}'
```

### get_nearby_stores

Find nearby Apollo Pharmacy stores based on geographic coordinates. Returns store details including name, address, contact number, distance from the search point, and operating status (open/closed).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `lat` | string | Yes | Latitude coordinate of the search location (e.g. '28.6448' for Delhi, '12.9716' for Bangalore). |
| `lng` | string | Yes | Longitude coordinate of the search location (e.g. '77.216721' for Delhi, '77.5946' for Bangalore). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-apollo247-com-api-5499d8e1/get_nearby_stores \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat":"<string>","lng":"<string>"}'
```

### get_popular_lab_tests

Retrieve popular lab tests for a specific city. Returns a list of commonly booked tests with their names, IDs, inclusions, and test parameters.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `city` | integer | No | City ID for which to retrieve popular tests. |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-apollo247-com-api-5499d8e1/get_popular_lab_tests \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"city":"<integer>"}'
```

### list_doctor_specialties

Retrieve all medical specialties available for doctor consultations on the Apollo 24|7 platform. Returns specialty names, descriptions, associated symptoms, and display metadata. No input parameters required.

**Estimated cost:** Metered

_No parameters required._

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-apollo247-com-api-5499d8e1/list_doctor_specialties \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

### search_lab_tests

Search for lab tests and diagnostic packages by keyword. Returns test details including pricing, inclusions, test parameter counts, and descriptions. Results are scoped to a default city (Delhi/NCR).

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `query` | string | Yes | Search keyword for the lab test (e.g. 'lipid profile', 'CBC', 'thyroid', 'vitamin d'). |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/parse-apollo247-com-api-5499d8e1/search_lab_tests \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"<string>"}'
```

### search_medicines

Search for medicines and health products by name or keyword. Returns product listings with pricing, availability, delivery information, and search suggestions. Paginates via page number.

**Estimated cost:** Metered

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `page` | integer | No | Page number for pagination. |
| `query` | string | Yes | Search term for the product (e.g. 'paracetamol', 'dolo', 'vitamin d'). |

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