SYSTEM all green source 1mg.com queue 31,042 pages p99 latency 189ms dataflirt.com · scraper/1mg-com
RUN · 87 active pipelines · 1mg.com live

1mg health data,
at pharma scale.

We extract medicine listings, pricing signals, substitute mappings, manufacturer intelligence, reviews, and lab test catalogs from 1mg. Delivered as clean JSON, CSV, or Parquet to S3, BigQuery, or Snowflake on your cadence.

Products extracted
420K /day
Price updates
1.2M /24h
Review records
210K /run
Active pipelines
87
Uptime
99.94%
Data Dictionary

Every field we extract from 1mg.com

Structured, schema-consistent data across all major object types — delivered clean, typed, and ready to query.

Complete list of extractable fields for Medicine Listings objects from 1mg.com. All fields typed and schema-versioned.

product_idnamebrandmanufacturersalt_compositioncategorysub_categoryprescription_requiredpricemrpcurrencydiscount_pctin_stockpack_sizepack_unitformratingreview_countusesside_effectshow_to_usesafety_adviceimage_urlssubstitute_countpage_url
medicine_listings
● 200 OK
"product_id": "1MG-MED-00291847",
"name": "Dolo 650 Tablet",
"manufacturer": "Micro Labs Ltd",
"salt_composition": "Paracetamol (650mg)",
"price": 30.36,
"mrp": 33.73,
"currency": "INR",
"discount_pct": 10,
"prescription_required": false,
"rating": 4.6,
"in_stock": true
# product_idnamebrandmanufacturersalt_compositioncategory
1
2
3

Complete list of extractable fields for Pricing & Substitutes objects from 1mg.com. All fields typed and schema-versioned.

product_idnamepricemrpdiscount_pctpack_sizeprice_per_unitcurrencysubstitute_idsubstitute_namesubstitute_pricesubstitute_manufacturersubstitute_discount_pctprice_timestamp
pricing_& substitutes
● 200 OK
"product_id": "1MG-MED-00291847",
"price": 30.36,
"mrp": 33.73,
"price_per_unit": 2.02,
"substitute_name": "Calpol 650mg Tablet",
"substitute_price": 27.90,
"substitute_discount_pct": 12,
"price_timestamp": "2026-05-12T08:30:00Z"
# product_idnamepricemrpdiscount_pctpack_size
1
2
3

Complete list of extractable fields for Reviews & Ratings objects from 1mg.com. All fields typed and schema-versioned.

review_idproduct_idreviewer_namestar_ratingreview_titlereview_bodyreview_datehelpful_votesverified_purchasecondition_treatedduration_of_use
reviews_& ratings
● 200 OK
"review_id": "1MG-REV-00847321",
"product_id": "1MG-MED-00291847",
"star_rating": 5,
"verified_purchase": true,
"review_title": "Works fast for fever relief",
"helpful_votes": 84,
"condition_treated": "Fever",
"review_date": "2026-04-02"
# review_idproduct_idreviewer_namestar_ratingreview_titlereview_body
1
2
3

Complete list of extractable fields for Lab Tests objects from 1mg.com. All fields typed and schema-versioned.

test_idtest_namecategorypricemrpdiscount_pcthome_collection_availablereport_turnaround_hrslab_namelab_accreditationsample_typefasting_requiredparameters_countalso_known_aspage_url
lab_tests
● 200 OK
"test_id": "1MG-LAB-00034821",
"test_name": "Complete Blood Count (CBC)",
"price": 299.00,
"mrp": 499.00,
"home_collection_available": true,
"report_turnaround_hrs": 24,
"fasting_required": false,
"parameters_count": 24
# test_idtest_namecategorypricemrpdiscount_pct
1
2
3

Capabilities

Everything you need from 1mg — nothing you don't

Our 1mg scraper handles every layer of the platform: medicine catalogs, MRP vs selling price, substitute chains, manufacturer data, and the full review corpus — with JavaScript rendering and anti-bot circumvention built in.

Full Medicine Catalog Extraction

Name, salt composition, manufacturer, pack size, dosage form, prescription status, uses, side effects, and every metadata field 1mg surfaces — at product level.

MRP & Discount Price Tracking

Capture MRP, selling price, discount percentage, price-per-unit, and promotional offer details — timestamped per crawl across the entire catalog.

Substitute & Alternate Mapping

Extract full substitute chains with comparative pricing, manufacturer, salt equivalence, and discount differentials — critical for pharma pricing intelligence.

Review & Rating Mining

Full review text, star ratings, helpful votes, verified purchase flags, condition treated, and duration of use — paginated across all review pages.

Lab Test Catalog

Test name, category, price, lab accreditation, turnaround time, home collection availability, fasting requirements, and parameter counts — across all diagnostic offerings.

Manufacturer Intelligence

Manufacturer name, country of origin, full product portfolio on 1mg, pricing position vs category peers, and market share by therapeutic category.

OTC vs Rx Classification

Capture prescription requirement flags, Schedule H/H1 status, and narcotic classification at product level across the full catalog.

Search Result Scraping

Track organic position for any drug name, salt, or condition keyword — with sponsored placement detection and badge capture.

Scheduled + Streaming Modes

One-off catalog dumps or continuous price-monitoring pipelines at hourly, daily, or custom cadences with change-detection diffing.

// engagement pipeline

From medicine name to warehouse record

Brief in. Clean data out.

Define Scope
d 0

Provide product IDs, category URLs, therapeutic segment lists, or manufacturer names. We design the extraction schema together.

Pipeline Build
d 2–4

We configure Scrapy / Playwright crawlers, proxy rotation, session management, and anti-bot handling for 1mg.com.

Validation & QA
d 4–6

Schema validation, MRP sanity checks, null-rate monitoring, and sample review before full launch.

Delivery
ongoing

JSON / CSV / Parquet pushed to your S3 bucket, BigQuery dataset, or Snowflake stage on agreed cadence.

Under the hood

How our 1mg pipeline handles the hard parts

Pharmaceutical data has unique extraction challenges — dynamic pricing, prescription gating, and deep substitute trees. Here's how we stay resilient.

pipeline-monitor · 1mg.com · live ● active
// fingerprinting
Identity rotation
TLS fingerprintrandomised
User-agentrotated
IP poolresidential
Challenges blocked0
// pagination
Page coverage
48,291 pages queued running
// observability
Pipeline health
99.9%
uptime
142ms
p99 lat
0.3%
null rate
2
alerts
Anti-bot layer
Residential proxy rotation + session management

1mg rate-limits aggressive crawlers using IP reputation scoring and session fingerprinting. Our crawlers use Indian residential ISP proxies with realistic browser fingerprints, randomised request intervals, and full cookie session management to appear as genuine consumer traffic.

JavaScript rendering
Full Playwright execution for dynamic content

Pricing, stock availability, and substitute panels on 1mg are heavily JavaScript-rendered. We run full Playwright browser sessions with lazy-load triggering and dynamic widget hydration — capturing data that lightweight HTTP clients miss entirely.

Schema stability
Resilient selectors with fallback chains

1mg updates its page structure regularly. Our selector strategy uses multiple fallback chains per field — CSS selectors, XPath, structured data (LD+JSON), and text-pattern matching — so layout changes don't break your pipeline overnight.

Change detection
Only re-scrape what's changed

For large medicine catalogs, we maintain a hash index of last-seen values per field. Subsequent runs only push diffs — reducing compute cost and downstream load. You get a clean changelog rather than full re-dumps.

Monitoring & alerting
24/7 pipeline health with anomaly detection

Every run emits structured logs to our observability stack. We alert on null-rate spikes, MRP anomalies, schema drift, and coverage drops — and respond before you notice. SLA uptime is contractual, not aspirational.

Applications

Who uses 1mg data — and how

Teams across industries use 1mg.com data to build competitive products and smarter operations.

01
Pharma Pricing Intelligence

Pharmaceutical companies and distributors monitor MRP vs selling price, discount depth, and substitute pricing to benchmark their portfolio and identify margin pressure points.

02
Generic Drug Strategy

Generic manufacturers track branded-to-generic price ratios, substitute chain penetration, and market share by salt composition to time product launches and set pricing.

03
Healthcare Market Research

Analysts map therapeutic category sizes, OTC vs Rx mix, manufacturer dominance, and emerging product segments to support investment and strategy decisions.

04
Diagnostics Benchmarking

Diagnostic chains track lab test pricing, home collection availability, and turnaround time across 1mg's partner network to benchmark their own offering.

05
Health-Tech Product Development

Health platforms use 1mg catalog data to power medicine search, dosage lookup, and substitute recommendation features in their own products.

06
Regulatory & Compliance Research

Policy researchers and compliance teams track MRP adherence, prescription requirement labelling, and schedule classification consistency across the catalog.

Why DataFlirt

"1mg is India's most comprehensive digital pharmacy — but without a structured pipeline, its pricing and substitute intelligence is inaccessible to analysts."

Reliable 1mg scraping requires handling dynamic pricing widgets, substitute tree traversal, and session-based rate limiting — all while maintaining schema stability across frequent layout updates. DataFlirt absorbs that complexity so your pharma, health-tech, or research team can focus on the analysis.

Technical Spec

1mg scraper — technical capabilities

Everything supported by our 1mg.com scraper — rendered SPA elements, auth walls, rate-limit evasion and beyond.

JavaScript rendering
Full Playwright sessions — required for pricing widgets, stock status, and substitute panels
Supported
CAPTCHA bypass
Automated 2Captcha + CapSolver integration with fallback to manual queue
Supported
Residential proxy rotation
ISP-grade residential IPs from IN pools — rotated per request
Supported
Substitute chain traversal
Full substitute tree extraction including cross-manufacturer pricing comparison
Supported
Lab test catalog
Full diagnostic catalog including pricing, accreditation, turnaround time, and parameters
Supported
Review pagination
Full review corpus including all star-filter pages, condition-of-use filters
Supported
OTC / Rx classification
Prescription requirement, Schedule H/H1, and narcotic flags captured at product level
Supported
Change detection (diffs)
Hash-based diff: only emit records with changed fields since last run
Supported
Webhook delivery
HTTP POST per record or batch — useful for real-time price alert workflows
Supported
Personalised / logged-in prices
Some member-exclusive discounts require authenticated sessions
Partial
Infrastructure

Infrastructure powering the 1mg pipeline

Open-source tooling on proven cloud infra — no vendor lock-in, full observability.

ScrapyPlaywrightPython 3.12RedisPostgreSQLApache AirflowAWS LambdaS3CloudWatch2CaptchaCapSolverResidential ProxiesDockerKubernetesGrafanaPrometheus
Scrapy + Playwright Stack

Scrapy handles crawl orchestration, deduplication, and retry logic. Playwright handles JavaScript rendering, cookie sessions, and substitute panel interactions. Combined via scrapy-playwright middleware.

Residential Proxy Infrastructure

We maintain pools of Indian residential ISP proxies to match 1mg's primary user geography. Rotation happens per-request with sticky sessions where required for session continuity.

Cloud-Native Orchestration

Pipelines run on AWS Lambda (burst) and ECS (sustained). Airflow handles scheduling, dependency management, and SLA alerting. All state stored in managed Postgres.

Output & Delivery

Your data, your destination

Data delivered to where your team already works — no new tooling required.

JSON
Newline-delimited or nested — schema versioned per run
CSV
Flat file with typed columns — Excel/Sheets compatible
Parquet
Columnar format for BigQuery, Snowflake, Athena
S3
Direct bucket delivery — compatible with any data lake
BigQuery
Streamed directly into your dataset with schema auto-detect
Webhook
HTTP POST per record for real-time downstream processing
Postgres
Upsert into your existing schema with conflict resolution
Snowflake
Stage + COPY INTO workflow — incremental or full-replace
// faq

Common questions.

About 1mg.com scraping, legality, and pipeline operations.

Ask us directly →
Is scraping 1mg legal?

Scraping publicly available information from 1mg is generally permissible under applicable Indian law. DataFlirt targets only public, non-authenticated product, pricing, and review data. We do not extract personal user data, circumvent authentication walls, or access prescription-gated records. We recommend clients review 1mg's ToS independently and consult legal counsel for specific use cases.

How do you handle 1mg's rate limiting?

We use Indian residential ISP proxies that appear as genuine consumer traffic, full Playwright sessions with realistic browser fingerprints, and request timing modelled on human behaviour. Our selectors include multi-layer fallback chains so DOM changes don't break the pipeline.

Can you extract substitute and alternate medicine data?

Yes — including full substitute chains with comparative pricing, manufacturer details, salt equivalence, and discount differentials for each substitute. This is one of the most requested data points from pharma clients.

Do you cover 1mg's lab test and diagnostics catalog?

Yes. We extract the full diagnostics catalog including test name, category, price, MRP, lab accreditation, turnaround time, home collection availability, fasting requirements, and parameter count.

How fresh is the data?

Real-time pipelines achieve sub-60-minute latency for price and stock updates on a defined product set. Full catalog refreshes at daily cadence complete within a 4–8 hour window depending on scope.

What's the minimum viable engagement?

Our smallest packages start at a defined product list (typically 1,000–20,000 SKUs) with weekly delivery. For larger catalogs or ongoing monitoring, we price based on volume and delivery frequency. Contact us for a scoped quote.

Can I get a sample dataset before committing?

Yes. We provide a sample run of up to 500 products as part of the pre-engagement scoping process — so you can validate schema fit, field completeness, and data quality before signing any contract.

$ dataflirt scope --new-project --source=1mg.com ready

Tell us what
to extract.
We do the rest.

20-minute scoping call. Pilot dataset within the week. Production within two. Whether you need a one-off pharma catalog snapshot or a continuous price-monitoring feed — we scope, build, and operate the pipeline. Tell us what you need.

hello@dataflirt.com · Bengaluru · IST · typical reply < 4h
Services

Data Extraction for Every Industry

View All Services →