Skip to main content gottem  — one API for every scraper.
Health
Verified

1mg Scraper

Extract medical information, provider data, and health resources from 1mg. Built on spider-browser .

Get started Docs
target
1mg.com
success rate
99.9%
latency
~4ms
Quick start

Extract data in minutes.

1mg-com-scraper.ts
import { Spider } from "@spider-cloud/spider-client";

const spider = new Spider({ apiKey: process.env.SPIDER_API_KEY! });

const result = await spider.scrapeUrl("https://www.1mg.com", {
  return_format: "markdown",
});

console.log(result);
ready to run · spider-browser · TypeScript
Fetch API

One endpoint for 1mg.com.

Structured JSON from 1mg.com with a single POST. AI-resolved selectors, cached on the first call.

POST /fetch/1mg.com/
ConditionTreatmentProviderDescription
cURL
curl -X POST https://api.spider.cloud/fetch/1mg.com/ \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"return_format": "json"}'
Python
import requests

resp = requests.post(
    "https://api.spider.cloud/fetch/1mg.com/",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={"return_format": "json"},
)
print(resp.json())
Node.js
const resp = await fetch("https://api.spider.cloud/fetch/1mg.com/", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ return_format: "json" }),
});
const data = await resp.json();
console.log(data);
Extraction

Fields you can pull.

ConditionTreatmentProviderDescription
Content

Medical data extraction

Extract drug info, conditions, and health articles from 1mg.com.

Parsing

Structured health data

Clean extraction of dosage, interactions, and clinical information.

Scale

Bulk research

Process thousands of medical pages for research and comparison datasets.

Related

More Health scrapers.

Start

Start scraping 1mg.com.

Grab an API key and call the endpoint above. The first request resolves the config; every request after hits cache.