Tata 1mg & PharmEasy

Each record is one medicine at one online pharmacy: name, maker, ingredients, pack, prices, discount, prescription need and stock.

$2 per 1,000 records

You pay only for the records you get. Zero records cost zero. 2,500 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it

Compare Indian medicine prices on Tata 1mg and PharmEasy: MRP, selling price, discount, pack size, price per unit, composition, maker, prescription flag and stock, one row per product per pharmacy. Search by brand name or paste product links.

Ready-made, maintained by usProducts, 22 fieldsv1.0

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Medicine namesoptional
One brand name per line; each is searched on every chosen pharmacy. Commas between them work too.
Pharmaciesoptional
Pick which online pharmacies to check; keep both to compare prices. One per line, or separated by commas.
Product pagesoptional
One product page address per line, read directly instead of searching. Commas between them work too.
Most products per nameoptional
How many matching products to keep for each name on each pharmacy.
Example: 5
Include full detailsoptional
On adds selling price and discount for 1mg; off is faster with maximum price only.
Name matchingoptional
Match whole words only, or any name that starts with your letters.
Pages to checkoptional
How many 1mg list pages of 30 medicines to check for each name.
Example: 5

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 2,500 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/india-pharmacy-price/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
2,500 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/india-pharmacy-price/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"max_items_per_query":5},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

querieslist
Brand names to look up, e.g. "Dolo 650", "Pan 40", "Azithral 500", "Shelcal". Each name is searched on every pharmacy you pick.
default: dolo 650
siteslist
Which online pharmacies to read. Both by default, so you can compare prices for the same medicine.
default: onemg, pharmeasyone of: onemg, pharmeasy
start_urlslist
Product pages to read directly, e.g. https://www.1mg.com/drugs/dolo-650-tablet-74467 or https://pharmeasy.in/online-medicine-order/dolo-650mg-strip-of-15-tablets-44140. Handy for a daily price watch on a fixed list.
max_items_per_querynumber
How many matching products (pack sizes, strengths, forms) to save for each name on each pharmacy.
default: 20example: 5
include_detailsyes/no
On: each 1mg row gets the selling price, discount, marketer, pack form and therapeutic class from its product page. Off: faster, 1mg rows carry the MRP from 1mg's medicine index only.
default: true
match_modetext
"Whole words": "dolo" finds Dolo 650 and Dolo 500 but not Dolonex. "Name starts with": "pan" also finds Pantocid, Pandor and every other name beginning with those letters.
default: wordsone of: words, startsWith
max_pages_per_querynumber
1mg lists every medicine starting with your first word, most popular first, 30 per page. This is how many of those pages are checked for matches per name.
default: 5

What's in each record

22 fields: 18 here, 4 technical ones under Technical details.

Basics

  • Pharmacy

    Which online pharmacy listed this product, 1mg or PharmEasy.

    Example 1mg

  • Product name

    The medicine's name as the pharmacy lists it.

    Example Dolo 650 Tablet

  • Maker

    The company that makes or sells the medicine.

    Example Micro Labs Ltd

  • Ingredients

    Active ingredients with their strength.

    Example Paracetamol (650mg)

  • Pack size

    How much comes in one pack, such as 15 tablets.

    Example strip of 15 tablets

  • Pack type

    The kind of pack, such as strip, bottle or tube.

  • Needs prescription

    Whether a doctor's prescription is needed to buy it.

    Example No

  • In stock

    Whether it can be ordered right now.

    Example Yes

  • Discontinued

    Whether the pharmacy marks this product as no longer made.

  • Medicine type

    The kind of treatment, such as pain relief.

    Example PAIN ANALGESICS

Prices

  • Maximum retail price

    The highest price allowed on the pack, in Indian rupees.

    Example 32.28

  • Selling price

    What the pharmacy charges, in rupees, when known.

    Example ₹29.00

  • Discount

    How much below the maximum retail price, as a percentage.

    Example 10%

  • Amount saved

    Maximum retail price minus selling price, in rupees.

    Example 3.28

  • Price per unit

    Cost of one tablet or unit, as the pharmacy shows it.

    Example 1.55/tablet

  • Currency

    The money the prices are in, always Indian rupees.

    Example INR

Pictures and media

  • Product picture

    A photo of the product.

Technical detailsField names and types for developers, and the 4 fields hidden above

Hidden by default

These 4 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • Searched medicine queryThe medicine name typed in the search, empty for pasted links.
  • Product number productIdThe pharmacy's own code for this product.
  • Price source priceSourceWhere the price was read: product page or medicine index.
  • Saved on scrapedAtDate and time this record was saved.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 2 sample records carry the field.

Field nameTypeShown on this page asFilled
sitetextPharmacy2 of 2
querytextSearched medicine (hidden)2 of 2
productIdtextProduct number (hidden)2 of 2
nametextProduct name2 of 2
manufacturertextMaker2 of 2
compositiontextIngredients2 of 2
packSizetextPack size2 of 2
packFormtextPack type0 of 2
mrpnumberMaximum retail price2 of 2
pricemoneySelling price2 of 2
discountPercentnumberDiscount2 of 2
savingsnumberAmount saved2 of 2
pricePerUnittextPrice per unit1 of 2
currencytextCurrency2 of 2
prescriptionRequiredyes or noNeeds prescription2 of 2
inStockyes or noIn stock2 of 2
discontinuedyes or noDiscontinued0 of 2
therapeuticClasstextMedicine type2 of 2
imageUrlimage linkProduct picture0 of 2
urllinkProduct page2 of 2
priceSourcetextPrice source (hidden)2 of 2
scrapedAtdate and timeSaved on (hidden)0 of 2

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordProduct namePharmacyMakerIngredientsPack sizePack typeNeeds prescriptionIn stockDiscontinuedMedicine typeMaximum retail priceSelling priceDiscountAmount savedPrice per unitCurrencyProduct pageProduct picture
1Dolo 650 Tablet1mgMicro Labs LtdParacetamol (650mg)strip of 15 tablets—NoYes—PAIN ANALGESICS32.28₹29.0010%3.28—INR1mg.com/drugs/dolo-650-tablet-74467—
2Dolo 650Mg Strip Of 15 TabletspharmeasyMICRO LABSParacetamol / Acetaminophen(650.0 Mg)15 Tablet(s) in Strip—NoYes—ANALGESIC/ANTIPYRETIC32.28₹23.2428%9.041.55/tabletINRpharmeasy.in/online-medicine-order/dolo-650mg-strip-of-15-tablets-44140—

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.

Version history

A run uses the live version unless the request names another one with version.