Tata 1mg Products Search API
Search Tata 1mg medicines and health products by keyword: each result's name, price, MRP, discount, availability and link.
{ "end_page": 1, "has_more": true, "limit": 20, "query": "paracetamol", "start_page": 1, "items": [ { "name": "Dolo 650 Tablet", "price": 31, "mrp": 32.28, "availability": "available", "currency": "INR", "discount_percent": 4, "product_id": "74467", "url": "https://www.1mg.com/drugs/dolo-650-tablet-74467" }, { "name": "ParaCIP 500 Tablet", "price": 9.4, "mrp": 9.65, "availability": "available", "currency": "INR", "discount_percent": 3, "product_id": "26689", "url": "https://www.1mg.com/drugs/paracip-500-tablet-26689" } ]}
| # | Name | Price | Mrp | Availability | Currency | Discount percent | Product id | Url |
|---|---|---|---|---|---|---|---|---|
| 1 | Dolo 650 Tablet | 31 | 32.28 | available | INR | 4 | 74467 | https://www.1mg.com/drugs/dolo-650-tablet-74467 |
| 2 | ParaCIP 500 Tablet | 9.4 | 9.65 | available | INR | 3 | 26689 | https://www.1mg.com/drugs/paracip-500-tablet-26689 |
| 3 | Parafast 650mg Tablet | 16.3 | 21.41 | available | INR | 24 | 882822 | https://www.1mg.com/drugs/parafast-650mg-tablet-882822 |
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 | Required | What it does | Example |
|---|---|---|---|---|
| query | string | yes | What to search for, such as a medicine or a supplement. | biotin |
| limit | integer | no | How many products to return. | |
| max_pages | integer | no | How many result pages to read in this call. | 1 |
| page | integer | no | Which results page to start from. | 1 |
| pincode | string | no | A six-digit Indian PIN code, for that delivery area. | |
| sort | string | no | Result order: relevance (default), popularity, price low to high, or price high to low. Allowed values: relevance, popularity, price_low, price_high. Default: relevance. |
relevance · popularity · price_low · price_high |
| Field | Type | What it is | Example |
|---|---|---|---|
| items[].name | string | The product name as Tata 1mg shows it. | Dolo 650 Tablet |
| items[].price | integer | The selling price, in the currency given. | 31 |
| items[].mrp | number | The maximum retail price printed for the product. | 32.28 |
| items[].availability | string | Whether the product can be ordered now. | available |
| items[].currency | string | The currency code of the prices. | INR |
| items[].discount_percent | integer | The discount off the MRP, in percent. | 4 |
| items[].product_id | string | Tata 1mg's ID for the product; the product and reviews endpoints take it. | 74467 |
| items[].url | string | https://www.1mg.com/drugs/dolo-650-tablet-74467 | |
| end_page | integer | The last results page read in this call. | 1 |
| has_more | boolean | Whether more results follow. | true |
| items | array | The products. | 3 records |
| limit | integer | How many products one page holds. | 20 |
| query | string | paracetamol | |
| start_page | integer | The first results page read in this call. | 1 |
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": "tata-1mg.search.products", "input": { "max_pages": 1, "page": 1, "query": "biotin" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "tata-1mg.search.products", "input": { "max_pages": 1, "page": 1, "query": "biotin" }}''')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": "tata-1mg.search.products", "input": { "max_pages": 1, "page": 1, "query": "biotin" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
{ "end_page": 1, "has_more": true, "limit": 20, "query": "paracetamol", "start_page": 1, "items": [ { "name": "Dolo 650 Tablet", "price": 31, "mrp": 32.28, "availability": "available", "currency": "INR", "discount_percent": 4, "product_id": "74467", "url": "https://www.1mg.com/drugs/dolo-650-tablet-74467" }, { "name": "ParaCIP 500 Tablet", "price": 9.4, "mrp": 9.65, "availability": "available", "currency": "INR", "discount_percent": 3, "product_id": "26689", "url": "https://www.1mg.com/drugs/paracip-500-tablet-26689" } ]}
More Tata 1mg endpoints
The same API key runs every one of them.
The same data from other platforms
-
Aldi UK List products from a Aldi UK grocery category with published prices and supported listing continuation. Category products1 credit per call
-
Amazon Search Amazon US for products with local prices, ratings and product links. Listings search5 credits per call
-
Apollo Pharmacy Walk a public Apollo Pharmacy brand listing with its total item count and each product's price and MRP. Brand products10 credits per call
-
Asda List paginated products from an exact Asda category, department, or aisle returned by the category taxonomy capability. Category products1 credit per 24 results per call
-
Blinkit List products from a Blinkit shelf, department default shelf or supported category URL for a chosen location. Category products1 credit per 12 results per call
-
Carrefour Browse a Carrefour category in Saudi Arabia, UAE, Egypt or Qatar, with normalized prices, stock, sellers and page metadata. Category productsContact for pricing per call
Tata 1mg Products Search API FAQ
The short answers. The docs have the long ones.
How much does the Tata 1mg Products Search API cost?
10 credits 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 a Tata 1mg login?
No. It reads public Tata 1mg data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds tata-1mg.search.products, checks its price and runs it with the same credits as the REST API.