Apollo Pharmacy Products Search API
Products search from Apollo Pharmacy, as JSON.
- 1 credit per call
- Failed calls are free
- Updated
- apollo-pharmacy.search.products
{ "end_page": 1, "has_more": true, "start_page": 1, "total_results": 200, "facets": [ { "name": "Age Group", "id": "Age Group", "type": "checkbox", "values": [ { "name": "Adult", "id": "adult" }, { "name": "Pediatric", "id": "pediatric" } ] }, { "name": "Country Of Origin", "id": "Country Of Origin", "type": "checkbox", "values": [ { "name": "India", "id": "india" } ] } ], "products": [ { "name": "Pacimol 650 Tablet 15's", "price": 23.68, "mrp": 32, "rating": 3.9, "review_count": 44, "availability": "in_stock", "currency": "INR", "delivery_eta": "3 hr", "discount_percent": 26, "image_url": "https://images.apollo247.in/pub/media/catalog/product/P/A/PAC0003_1_1.jpg", "prescription_required": false, "product_id": "26263", "sku": "PAC0003", "subcategory": "C.N.S Drugs", "unit_price": "₹1.57/unit", "url": "https://www.apollopharmacy.in/otc/pacimol-650mg-tablet", "tags": [ "Fever", "Pain" ] }, { "name": "Crocin Advance Tablet 20's", "price": 19, "mrp": 19, "availability": "in_stock", "brand": "CROCIN", "currency": "INR", "delivery_eta": "3 hr", "image_url": "https://images.apollo247.in/pub/media/catalog/product/C/R/CRO0091_1.jpg", "prescription_required": false, "product_id": "48741", "sku": "CRO0091", "subcategory": "Otc", "unit_price": "₹0.95/unit", "url": "https://www.apollopharmacy.in/otc/crocin-advance-tablet", "tags": [ "Fever", "Pain" ] } ]}
| # | Name | Type | Id |
|---|---|---|---|
| 1 | Age Group | checkbox | Age Group |
| 2 | Country Of Origin | checkbox | Country Of Origin |
| 3 | Health Condition | checkbox | Health Condition |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| query | string | yes | Medicine, brand or health product to search for. | paracetamol |
| filters | array<object> | no | Filters to apply, using the ids and values returned in facets. | |
| include_facets | boolean | no | Return the filter options the route offers for this query. Default: false. |
true |
| max_pages | integer | no | How many pages to read forward from page, de-duplicated by SKU. From 1 to 5. Default: 1. |
|
| page | integer | no | First result page. The route stops at 200 results, ten pages of twenty. From 1 to 10. Default: 1. |
1 |
| per_page | integer | no | Results per page. The route returns at most 20. From 1 to 20. Default: 20. |
5 |
| pincode | string | no | Indian PIN code used to localise prices, substitutes, offers and availability. | 110001 |
| sort | string | no | Result order offered by the search route. Allowed values: relevance, price_low, price_high. Default: relevance. |
relevance |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | Example |
|---|---|---|
| facets[].name | string | Age Group |
| facets[].values[].name | string | Adult |
| facets[].id | string | Age Group |
| facets[].type | string | checkbox |
| facets[].values | array | 2 records |
| facets[].values[].id | string | adult |
| end_page | integer | 1 |
| facets | array | 3 records |
| has_more | boolean | true |
| products | array | 3 records |
| products[].availability | string | in_stock |
| products[].currency | string | INR |
| products[].delivery_eta | string | 3 hr |
| products[].discount_percent | integer | 26 |
| products[].image_url | string | https://images.apollo247.in/pub/media/catalog/product/P/A/PAC00… |
| products[].mrp | integer | 32 |
| products[].name | string | Pacimol 650 Tablet 15's |
| products[].prescription_required | boolean | false |
| products[].price | number | 23.68 |
| products[].product_id | string | 26263 |
| products[].rating | number | 3.9 |
| products[].review_count | integer | 44 |
| products[].sku | string | PAC0003 |
| products[].subcategory | string | C.N.S Drugs |
| products[].tags | array | Fever, Pain, Headache |
| products[].unit_price | string | ₹1.57/unit |
| products[].url | string | https://www.apollopharmacy.in/otc/pacimol-650mg-tablet |
| start_page | integer | 1 |
| total_results | integer | 200 |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "apollo-pharmacy.search.products", "input": { "include_facets": true, "page": 1, "per_page": 5, "pincode": "110001", "query": "paracetamol", "sort": "relevance" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "apollo-pharmacy.search.products", "input": { "include_facets": true, "page": 1, "per_page": 5, "pincode": "110001", "query": "paracetamol", "sort": "relevance" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "apollo-pharmacy.search.products", "input": { "include_facets": true, "page": 1, "per_page": 5, "pincode": "110001", "query": "paracetamol", "sort": "relevance" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the Apollo Pharmacy products search for per page "5", pincode "110001" and query "paracetamol". Tell me what it costs before you run it, then show the results as a table.
More from the Apollo Pharmacy API
- Apollo Pharmacy Brand Products API1 credit
- Apollo Pharmacy Categories API1 credit
- Apollo Pharmacy Category Products API1 credit
- Apollo Pharmacy Check PIN Code API1 credit
- Apollo Pharmacy Product API1 credit
- Apollo Pharmacy Product Offers API1 credit
- Apollo Pharmacy Product Reviews API1 credit
- Apollo Pharmacy Product Substitutes API1 credit
- Apollo Pharmacy Suggestions Search API1 credit
- Apollo Pharmacy Nearby Stores API1 credit
- Apollo Pharmacy Trending Searches API1 credit
The same data from other platforms
Apollo Pharmacy Products Search API FAQ
The short answers. The docs have the long ones.
How much does the Apollo Pharmacy Products Search API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send query. The input fields below list every option with its type and limits.
Do I need an Apollo Pharmacy login?
No. It reads public Apollo Pharmacy data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds apollo-pharmacy.search.products, checks its price and runs it with the same credits as the REST API.
Your first Apollo Pharmacy call is free.
Up to 100 free credits to start, no card needed.