PharmEasy Category Products API
Walk a public PharmEasy category from a category id and return its products with their selling price and printed MRP.
- 1 credit per call
- Failed calls are free
- Updated
- pharmeasy.category.products
{ "category_name": "Skin Care", "category_url": "https://pharmeasy.in/health-care/skin-care-93", "end_page": 1, "has_more": true, "start_page": 1, "products": [ { "name": "Everherb | Aloe Vera Juice With Pulp | Rejuvenates Skin & Hair | Bottle 1 Liter (By Pharmeasy)", "price": 201.96, "mrp": 374, "availability": "available", "currency": "INR", "discount_percent": 46, "manufacturer": "EVERHERB", "prescription_required": false, "product_id": "501051", "slug": "everherb-aloe-vera-juice-with-pulp---rejuvenates-skin-hair---1-litre-bottle-501051", "subtitle": "1l Juice in Bottle" }, { "name": "Ktein Derma Roller 0.5mm With 540 Titanium Needles For Hair Growth And Skin Renewal", "price": 196, "mrp": 199, "availability": "available", "currency": "INR", "discount_percent": 2, "manufacturer": "KTEIN", "prescription_required": false, "product_id": "4181753", "slug": "ktein-derma-roller-0-5mm-with-540-titanium-needles-for-hair-growth-and-skin-renewal-4181753" } ]}
| # | Name | Price | Mrp | Availability | Currency | Discount percent | Manufacturer | Prescription required | Slug | Subtitle |
|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Everherb | Aloe Vera Juice With Pulp | Rejuvenates Skin & Hair … | 201.96 | 374 | available | INR | 46 | EVERHERB | false | everherb-aloe-vera-juice-with-pulp---rejuvenates-skin-hair---1-… | 1l Juice in Bottle |
| 2 | Ktein Derma Roller 0.5mm With 540 Titanium Needles For Hair Gro… | 196 | 199 | available | INR | 2 | KTEIN | false | ktein-derma-roller-0-5mm-with-540-titanium-needles-for-hair-gro… |
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| category_id | integer | yes | A category id from pharmeasy.list_categories, including a child category from its groups. At least 1. | 93 |
| max_pages | integer | no | How many listing pages to read forward from page. From 1 to 10. Default: 1. |
1 |
| page | integer | no | Listing page to start from. Use it to resume a long category walk. From 1 to 100. Default: 1. |
1 |
| sort | string | no | Result order: popularity (default), price low to high, price high to low, or discount. Allowed values: popularity, price_low, price_high, discount. Default: popularity. |
popularity · price_low · price_high · discount |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | Example |
|---|---|---|
| products[].name | string | Everherb | Aloe Vera Juice With Pulp | Rejuvenates Skin & Hair … |
| products[].price | number | 201.96 |
| products[].mrp | integer | 374 |
| products[].availability | string | available |
| products[].currency | string | INR |
| products[].discount_percent | integer | 46 |
| products[].manufacturer | string | EVERHERB |
| products[].prescription_required | boolean | false |
| products[].product_id | string | 501051 |
| products[].slug | string | everherb-aloe-vera-juice-with-pulp---rejuvenates-skin-hair---1-… |
| products[].subtitle | string | 1l Juice in Bottle |
| category_name | string | Skin Care |
| category_url | string | https://pharmeasy.in/health-care/skin-care-93 |
| end_page | integer | 1 |
| has_more | boolean | true |
| products | array | 2 records |
| start_page | integer | 1 |
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.category.products", "input": { "category_id": 93, "max_pages": 1, "page": 1 }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "pharmeasy.category.products", "input": { "category_id": 93, "max_pages": 1, "page": 1 }}''')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.category.products", "input": { "category_id": 93, "max_pages": 1, "page": 1 }}),});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 PharmEasy category products for category id "93". Tell me what it costs before you run it, then show the results as a table.
More from the PharmEasy API
The same data from other platforms
PharmEasy Category Products API FAQ
The short answers. The docs have the long ones.
How much does the PharmEasy Category Products 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 category_id. The input fields below list every option with its type and limits.
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.category.products, 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.