PharmEasy Categories API
List PharmEasy's health and medicine categories.
{ "categories": [ { "name": "Health Must Haves", "category_id": 9297, "deeplink": "push.pharmeasy.clevertap://deeplink/healthcare_product_list?category_id=9297&category_name=Health Must Haves", "slug": "top-products-9297" }, { "name": "Vitamins & Supplements", "category_id": 623, "deeplink": "push.pharmeasy.clevertap://deeplink/healthcare_product_list?category_id=623&category_name=Vitamins and Supplements", "discount_text": "Upto 80% off", "slug": "fitness-supplements-623" } ]}
| # | Name | Deeplink | Discount text | Slug | Category id |
|---|---|---|---|---|---|
| 1 | Health Must Haves | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | top-products-9297 | 9297 | |
| 2 | Vitamins & Supplements | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 80% off | fitness-supplements-623 | 623 |
| 3 | Personal Care | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 80% off | personal-care-877 | 877 |
| 4 | Sexual Wellness | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 53% off | sexual-wellness-575 | 575 |
| 5 | Diabetes Essentials | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 65% off | diabetic-care-145 | 145 |
| 6 | Heart Care | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | cardiac-store-14374 | 14374 | |
| 7 | Sports Nutrition | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | sports-nutrition-12931 | 12931 | |
| 8 | Healthcare Devices | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 65% off | healthcare-devices-717 | 717 |
| 9 | Pet Care | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | pet-easy-16819 | 16819 | |
| 10 | Health Food and Drinks | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 57% off | health-food-and-drinks-648 | 648 |
| 11 | Homeopathy Care | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | homeopathy-care-12811 | 12811 | |
| 12 | Ayurvedic Care | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 70% off | ayurvedic-care-765 | 765 |
| 13 | Mother and Baby Care | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 50% off | mother-and-baby-care-838 | 838 |
| 14 | Mobility & Elderly Care | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 45% off | elderly-care-750 | 750 |
| 15 | Health Concern | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 65% off | health-condition-693 | 693 |
What you send, what comes back
The input object it accepts, and every field of a record, with the values from the response above.
| Field | Type | What it is | Example |
|---|---|---|---|
| categories[].name | string | The medicine or category name as PharmEasy shows it. | Health Must Haves |
| categories[].category_id | integer | PharmEasy's ID for the category. | 9297 |
| categories[].slug | string | The name in its page address. | top-products-9297 |
| categories[].deeplink | string | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | |
| categories | array | PharmEasy's categories. | 16 records |
Call it from your code
Set UPSCRAPE_API_KEY to your key and copy a working request. No SDK needed.
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": "pharmeasy.list_categories", "input": {}}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "pharmeasy.list_categories", "input": {}}''')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": "pharmeasy.list_categories", "input": {}}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
{ "categories": [ { "name": "Health Must Haves", "category_id": 9297, "deeplink": "push.pharmeasy.clevertap://deeplink/healthcare_product_list?category_id=9297&category_name=Health Must Haves", "slug": "top-products-9297" }, { "name": "Vitamins & Supplements", "category_id": 623, "deeplink": "push.pharmeasy.clevertap://deeplink/healthcare_product_list?category_id=623&category_name=Vitamins and Supplements", "discount_text": "Upto 80% off", "slug": "fitness-supplements-623" } ]}
More PharmEasy endpoints
The same API key runs every one of them.
The same data from other platforms
-
Aldi UK Browse the public Aldi UK grocery category taxonomy to discover categories for shelf product listings. Categories1 credit per call
-
Apollo Pharmacy List the Apollo Pharmacy category tree with category ids, slugs, names and parent-child structure. Categories1 credit per call
-
Asda List the Asda Groceries category taxonomy (category > department > aisle) with product counts, derived from the catalog index facets. Categories1 credit per call
-
Blinkit List Blinkit departments and shelves for a location, with IDs for browsing category products. Categories1 credit per call
-
Carrefour Fetch a Carrefour country's category tree (Saudi Arabia, UAE, Egypt or Qatar) as parent-linked rows with leaf flags, in English or Arabic. CategoriesContact for pricing per call
-
Flipkart Return hierarchical category and subcategory candidates discovered from listing pages. Search categories5 credits per call
PharmEasy Categories API FAQ
The short answers. The docs have the long ones.
How much does the PharmEasy Categories API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Every input is optional; the input fields below list what each one does.
Do I need a PharmEasy login?
No. It reads public PharmEasy data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds pharmeasy.list_categories, checks its price and runs it with the same credits as the REST API.