↑ ↓ to move ↵ to open

Tata 1mg Products Search

tata-1mg.search.products

Search Tata 1mg medicines and health products by keyword: each result's name, price, MRP, discount, availability and link.

At a glance

Endpoint ID
tata-1mg.search.products
Price
10 credits per call; failed calls are free
Runs for up to
60 seconds
Request
POST /execute
Run an endpoint
MCP tool when pinned
tata-1mg__search__products
Pin tools
OpenAPI
openapi.json
Download

Request

Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.

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"  }}'

Input

FieldTypeRequiredWhat it doesExample
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

Response

A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.

This is results[0].data from a real run:

results[0].data
{  "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"    }  ]}

Fields

FieldTypeWhat it isExample
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

If a call fails

A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.

Other Tata 1mg endpoints

Something missing or unclear? Ask the team that builds the Tata 1mg endpoints.