PharmEasy Categories API
List PharmEasy's health and medicine categories.
- 1 credit per call
- Failed calls are free
- Updated
- pharmeasy.list_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" } ]}
| # | Category | ID | Slug | Deeplink | Discount text |
|---|---|---|---|---|---|
| 1 | Health Must Haves | 9297 | top-products-9297 | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | |
| 2 | Vitamins & Supplements | 623 | fitness-supplements-623 | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 80% off |
| 3 | Personal Care | 877 | personal-care-877 | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 80% off |
| 4 | Sexual Wellness | 575 | sexual-wellness-575 | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 53% off |
| 5 | Diabetes Essentials | 145 | diabetic-care-145 | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 65% off |
| 6 | Heart Care | 14374 | cardiac-store-14374 | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | |
| 7 | Sports Nutrition | 12931 | sports-nutrition-12931 | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | |
| 8 | Healthcare Devices | 717 | healthcare-devices-717 | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 65% off |
| 9 | Pet Care | 16819 | pet-easy-16819 | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | |
| 10 | Health Food and Drinks | 648 | health-food-and-drinks-648 | push.pharmeasy.clevertap://deeplink/healthcare_product_list?cat… | Upto 57% off |
Fields it returns
What each record in the response holds, with the values from the sample 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, 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": "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));
https://data.upscrape.com/mcp
Use Upscrape to list PharmEasy's categories.
More from the PharmEasy API
The same data from other platforms
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.
Your first PharmEasy call is free.
Up to 100 free credits to start, no card needed.