Health
Tata 1mg logo

Tata 1mg API

https://www.1mg.com

Tata 1mg - medicines, OTC products, and wellness items with pricing and availability.

Actions
4
Category
Health
Login
Not required
Output
JSON

Call the Tata 1mg API

Submit a task, then poll the job until it settles. This example runs tmg_product_by_slug.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "tmg_product_by_slug",
    "params": {
      "slug": "inlife-vitamin-d3-5000-iu-cholecalciferol-softgel-capsule-with-coconut-oil-men-women-otc371596"
    }
  }'

4 actions on https://www.1mg.com

Read

  • Product by Slug

    tmg_product_by_slugread3 credits / call

    Returns full product details with name, manufacturer, price, discount, pack sizes, images, and ratings.

    slug
    string · required
    raw
    boolean
  • Product Search

    tmg_searchread2 credits / call

    Returns medicines, OTC products, and brands by keyword with prices, discounts, delivery ETA, and ratings.

    query
    string · required
    city
    string
    page
    integer
    per_page
    integer
    sort
    string
    types
    string
    filter
    string
    scroll_id
    string
    fetch_eta
    boolean
  • Product Widgets

    tmg_product_widgetsread2 credits / call

    Returns related content for a product including frequently bought together and similar items.

    product_id
    string · required
    otc_id
    string
    eta_pincode
    string
    ignore_widgets
    string
  • Search Autocomplete

    tmg_autocompleteread1 credit / call

    Returns up to 30 mixed suggestions for a partial query across medicines, brands, diseases, and products.

    query
    string · required
    city
    string
    types
    string
    per_page
    integer

Tata 1mg API questions

Is there an API for Tata 1mg?
Tata 1mg does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for https://www.1mg.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Tata 1mg data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when https://www.1mg.com changes its markup, Anakin updates the action.
Do I need a Tata 1mg account?
No. Every Tata 1mg action listed here runs anonymously — no account and no credentials required.
What does the Tata 1mg API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Health APIs

All Health sites