WebMD+API.SH

WebMD API

Pull WebMD drug information, patient reviews and health reference articles as clean JSON.

The API.SH WebMD API turns public WebMD pages into structured JSON. Search drugs and supplements, then get a drug's monograph with generic and brand names, drug class, availability, rating and every section (uses, side effects, warnings and precautions, interactions, overdose and missed dose). Read patient reviews with effectiveness, ease of use and satisfaction ratings, filtered by condition and sorted, browse the A-Z drug and health topic indexes, and pull any health reference article with its sections, author, medical reviewer and dates.

  • 6 endpoints
  • from $1 / 1,000 calls
  • 1,000 free credits / month
  • failed calls free
WebMD drug and vitamin search
GET https://api.api.sh/webmd/v1/search
{"query": "metformin","type": "all","total": 13,"count": 13,"results": [{"type": "drug","name": "Metformin (Glucophage, Glumetza, and others)","url": "https://www.webmd.com/drugs/metformin-glucophage-glumetza","slug": "metformin-glucophage-glumetza"},{"type": "drug","name": "Alogliptin/ Metformin (Kazano)","url": "https://www.webmd.com/drugs/alogliptin-metformin-kazano","slug": "alogliptin-metformin-kazano"},"… 11 more"],"cached": false,"credits_used": 1}
1 credit · $1 per 1,000 calls

What you can build with the WebMD API

Patient review analysis

Collect WebMD reviews for a drug by condition, with effectiveness, ease of use and satisfaction scores, age range and time on the drug.

Drug information apps

Show uses, side effects, warnings and interactions for a drug from its WebMD monograph, found by name with search.

Health content research

Pull a health reference article's sections, sources, author and medical reviewer to study coverage of a condition.

Drug catalog building

Walk the A-Z drug index letter by letter to list drugs and supplements with Rx/OTC status and links to their pages and reviews.

Pharma and market research

Compare ratings and review volumes across drugs in a class to see how patients rate competing treatments.

WebMD data you get

Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.

WebMD health article/webmd/v1/article
urlhttps://www.webmd.com/diabetes/t…titleType 2 Diabetes: Symptoms, Cause…descriptionType 2 diabetes is a long-term m…topicDiabetes - Type 2channelDiabetespublicationWebMD Medical Referencereviewed_date09/04/2024 20:00:00published_date12/31/2006 20:00:00first_live_date09/01/2005 01:00:00sourcesSOURCES: Alzheimer’s Association…
authors[]name · suffix · bio_url
medically_reviewed_by[]name · suffix · bio_url
sections[]heading · text
related[]title · url · description
WebMD drug monograph/webmd/v1/drug
idWBMD_7811755998external_id6873-9371sluglisinopril-prinivil-zestrilurlhttps://www.webmd.com/drugs/lisi…nameLisinopril (Prinivil, Zestril, a…common_brand_namesPrinivil, Qbrelis, Zestrilavailabilityprescription only, generic avail…how_its_usedliquid or tablet that is swallowedpronunciationlyse-IN-oh-prilrating3.7reviews_count136reviews_urlhttps://reviews.webmd.com/drugs/…reviews_slugdrugreview-lisinopril-prinivil-z…written_byAlex Poppen, PharmDmedically_reviewed_byChristina Bookwalter, BCPS, BCA…updatedJun 15, 2026published2024-06-05T19:00:00ZsourcesLisinopril tablet (Camber Pharma…
generic_names[]name · monograph_id
brand_names[]name · url
sections[]heading · text
WebMD drug reviews/webmd/v1/drug-reviews
drugLisinopril (Prinivil, Zestril, a…reviews_slugdrugreview-lisinopril-prinivil-z…urlhttps://reviews.webmd.com/drugs/…drug_urlhttps://www.webmd.com/drugs/lisi…sortmost_recentpage1overall_rating3.65total_reviews136most_helpful_reviewHigh Blood pressure since I was …most_critical_reviewFound out my blood pressure was …total136count20next_page2
ratings[]effectiveness · ease_of_use · satisfaction
conditions[]condition_id · condition · reviews
reviews[]review_id · author · date · condition · condition_id · rating · effectiveness · ease_of_use · satisfaction · text · reviewer_type · age_range

WebMD API endpoints and prices

WebMD endpoints cost 1 to 2 credits per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing

Search and discovery2
WebMD A-Z health topics
/webmd/v1/health-topics
params none required +1 optionaldocstry
$1 · $2 PAYG
1 credit
WebMD drug and vitamin search
/webmd/v1/search
params q +1 optionaldocstry
$1 · $2 PAYG
1 credit
Comments and reviews1
WebMD drug reviews
/webmd/v1/drug-reviews
params drug +3 optionaldocstry
$2 · $4 PAYG
2 credits
More data3
WebMD health article
/webmd/v1/article
params urldocstry
$1 · $2 PAYG
1 credit
WebMD drug monograph
/webmd/v1/drug
params drugdocstry
$1 · $2 PAYG
1 credit
WebMD A-Z drug index
/webmd/v1/drugs-a-z
params letterdocstry
$1 · $2 PAYG
1 credit

Call the WebMD API

WebMD drug and vitamin search: GET https://api.api.sh/webmd/v1/search

curl "https://api.api.sh/webmd/v1/search?q=metformin" \
  -H "x-api-key: $APISH_KEY"
  1. Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
  2. Create an API keyOne key works for all 921 platforms.
  3. Send the requestJSON back in one call. Add output=csv or output=ndjson for files.

Why API.SH for WebMD data

  • Public data only: no WebMD login, cookies or account needed
  • One key and one response shape for WebMD and 920 other platforms
  • Built and maintained by API.SH, not third-party publishers
  • Pay per call; errors on our side cost nothing
  • No rate limits: run as many calls in parallel as you need
  • Live status for every endpoint

API.SH vs the official WebMD API

WebMD does not offer a public API for its drug and health content; its developer services are for partner and employer products. API.SH reads the public pages and returns drug monographs, reviews and articles as JSON, with no partner agreement.

Skip building a WebMD scraper or relying on an old static review dataset: API.SH returns the live pages with one key and a fixed price per call.

WebMD API questions

What WebMD data can I get?+

Drug and supplement search (/webmd/v1/search), drug monographs (/webmd/v1/drug), patient drug reviews (/webmd/v1/drug-reviews), the A-Z drug index (/webmd/v1/drugs-a-z), the A-Z health topics index (/webmd/v1/health-topics) and health reference articles (/webmd/v1/article).

How much does the WebMD API cost?+

Most WebMD endpoints cost 1 credit per call; /webmd/v1/drug-reviews costs 2 credits. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.

Is there a free trial?+

Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /webmd/v1/article at 1 credit each.

Is there an official WebMD API?+

Not for its public content. WebMD's developer services are for partners and employers. API.SH returns the public drug, review and article pages as JSON without a partner agreement.

Do I need a WebMD account or login?+

No. API.SH reads public WebMD pages only. No endpoint uses a login or anyone's account.

How do I get a drug's reviews?+

Call /webmd/v1/drug and pass its reviews_slug to /webmd/v1/drug-reviews, or pass the drug slug directly. Filter with condition_id and sort by most recent, most helpful, highest rating or satisfaction; pass next_page back as page.

Is scraping WebMD legal?+

API.SH reads publicly visible pages and returns only what any visitor can see. How you use the data is up to you: follow WebMD's terms and the laws that apply to you, especially for health content.

How do I get started?+

1. Sign up at api.sh. 2. Copy your API key. 3. Call /webmd/v1/drug with drug=lisinopril-prinivil-zestril. Every parameter and a request example are in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.

Does the WebMD API have a rate limit?+

No. API.SH puts no rate limit on your key: send as many WebMD calls in parallel as you need and pay only for the calls that run. If WebMD itself slows down, the call returns 503 with a retry-after header and is not charged.

More reference APIs all developer & reference APIs →

Start with 1,000 free credits
Every month, on every account. One key works for all 921 platforms.
Get a free API key