Epocrates Scraper
Spider read epocrates.com in 118 ms without a browser and returned 88 lines of clean markdown, including the section "The clinical information you need, at your fingertips".
# The clinical information you need, at your fingertips.FDA 2h FDA approves first mRNA flu vaccine for adults 50 and older mFLUSIVA adds a new influenza vaccine option, with availability expected for the 2026-2027 respiratory virus season. . .Neurol Open Access 3h Three midlife risks tied to much earlier dementia onset Nearly 13 additional years of dementia-free life separated adults with clean vascular profiles at midlife from those with all three risk factors. . .Johns Hopkins University 3h Johns Hopkins launches disease tracker to complement CDC surveillance Adds state, substate, and age-specific views of measles, meningococcal disease, and pertussis trends. . .Front Environ Health 4h Wildfire smoke drives most unhealthy air days during pregnancy Overall prenatal fine-particle exposure fell, but wildfire smoke offset part of those hard-won gains. . .Pediatrics 4h Telemedicine finds lasting role in pediatric chronic care Large primary care study suggests virtual visits are most often used for behavioral health and endocrine conditions and may help practices see more patients. . . JAMA Dermatol 5h Hyperpigmentation in darker skin may indicate active inflammation Pigment-focused care alone may miss an inflammatory process that still needs treatment. . .Cell Host Microbe 5h Uterine microbiome tied to IVF pregnancy rate Patients over 35 are already self-treating with over-the-counter fertility probiotics. The biology behind that instinct is real, but the products on the shelf remain unproven. . .PLoS One 6h Poor housing rivals prior falls in predicting falls In adults aged 65 and older, electrical or plumbing problems were associated with a larger increase in fall probability than several health and functional risk factors. . . Load More ## TRENDING THIS WEEK ## Clinical FAQs Check out the answers to frequently asked questions about our clinical content. The same call, in code.
The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on epocrates.com.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.epocrates.com/drugs");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.epocrates.com/drugs");
await page.content();
const data = await page.evaluate(`(() => {
const drugs = [];
document.querySelectorAll(".drug-list-item, .drug-card").forEach(el => {
const name = el.querySelector("h3, .drug-name a")?.textContent?.trim();
const drugClass = el.querySelector(".drug-class")?.textContent?.trim();
const link = el.querySelector("a")?.href;
if (name) drugs.push({ name, drugClass, link });
});
return JSON.stringify({ total: drugs.length, drugs: drugs.slice(0, 15) });
})()`);
console.log(JSON.parse(data));
await spider.close(); Ready for volume? Get an API key →
Fields you can pull.
Spider names these from the page. The capture above came back as markdown; the same
call with return_format: "json" returns them as keys.
What epocrates.com costs to scrape.
The capture above cost $0.001279 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
Run it keyless, no account
More Health scrapers.
WebMD Scraper
Extract drug info, condition descriptions, symptom data, and health articles from WebMD.
Healthline Scraper
Extract health articles, condition guides, nutrition data, and wellness content from Healthline.
GoodRx Scraper
Extract drug pricing, pharmacy comparisons, coupon data, and generic alternatives from GoodRx.
Start scraping epocrates.com.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.