WebMD API: Get condition guide
Finds WebMD's main guide for a condition through a Bing search. Returns its overview and its symptoms, causes, diagnosis, treatment and when-to-call-a-doctor sections.
Unofficial. Not affiliated with or endorsed by WebMD.
Inputs
Values from the run on Oct 23, 2026, shown under Output.
- Condition, required
condition Condition or symptom name, such as migraine or acid reflux.
migraine
Input as JSON
{ "condition": "migraine"}Output
{ "title": "What Is Migraine?", "causes": "Doctors don’t know exactly what causes migraines, though they seem to be related to your genes, as well as to changes in your brain . Your genes may even influence what triggers your headaches, whether it's fatigue , bright lights, or weather changes.\n\nFor many years, scientists thought people got m…", "overview": "Migraine is a brain and nervous system disorder whose symptoms almost always include intense headaches. You get these headaches repeatedly, in episodes that can last anywhere from 4 to 72 hours. Along with head pain, they include other symptoms like nausea and sensitivity to light.\n\nMigraine vs. hea…", "symptoms": "For many people, a migraine episode happens in stages. Symptoms you may have during these stages include:\n\nMigraine prodrome\n\nHours or days before a headache, about 60% of people who have migraine notice symptoms like:\n\nSensitivity to light, sound, or smell. Levels of light and sound that don't usua…", "diagnosis": "Before making a diagnosis, your doctor will ask about your health history and your symptoms. It may help if you keep track of your symptoms and any triggers you've noticed. Write down or enter into a tracking app:\n\nWhat symptoms you have, including where it hurts\n\nHow often you have them\n\nHow long t…", "treatment": "There's no cure for migraine, but there are many ways to treat it. Some treatments stop attacks after they start, some prevent them, and some can do both.\n\nMigraine medications\n\nCommon migraine treatments include:\n\nOTC pain relievers. These drugs often work well for headaches. The main ingredients a…", "review_date": "2024-03-14", "article_link": "https://www.webmd.com/migraines-headaches/migraines-headaches-migraines" , "medically_reviewed_by": "Poonam Sachdev, MD", "when_to_call_a_doctor": "See your doctor any time a headache doesn't go away or keeps coming back.\n\nGet medical help right away if you have an intense headache and:\n\nA stiff neck with fever, nausea, and vomiting\n\nNumbness or weakness in your limbs\n\nTrouble speaking or slurred speech\n\nIt happened very suddenly\n\nIt's the firs…"}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"webmd.com/get_condition","input":{"condition":"migraine"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "webmd.com/get_condition" , "input": { "condition": "migraine" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "webmd.com/get_condition" , "input": { "condition": "migraine" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run webmd.com/get_condition# with {"condition":"migraine"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "condition" ], "properties": { "condition": { "type": "string", "minLength": 1, "description": "Condition or symptom name, such as migraine or acid reflux." } }}Output schema
{ "type": "object", "properties": { "title": { "type": [ "string", "null" ] }, "causes": { "type": [ "string", "null" ] }, "overview": { "type": [ "string", "null" ] }, "symptoms": { "type": [ "string", "null" ] }, "diagnosis": { "type": [ "string", "null" ] }, "treatment": { "type": [ "string", "null" ] }, "review_date": { "type": [ "string", "null" ] }, "article_link": { "type": [ "string", "null" ] }, "medically_reviewed_by": { "type": [ "string", "null" ] }, "when_to_call_a_doctor": { "type": [ "string", "null" ] } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
webmd.com/get_condition- Returns
- title, overview, symptoms, causes, diagnosis, treatment, when to call a doctor, reviewer, review date, link
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method webmd.com/get_condition with the inputs above.
Ask your agent
- I need a full guide to migraine covering symptoms, causes, and when to see a doctor
- what are the common causes and treatments for acid reflux
- Can you pull up an overview of type 2 diabetes with diagnosis steps?
- webmd info on psoriasis symptoms and treatment options
- find a condition guide for anemia that lists when to call a doctor
See more
Finds a Mayo Clinic disease or condition page by name and returns its overview, symptoms, causes, when to see a doctor, risk factors, complications and prevention.
mayoclinic.org/get_conditionGets NHS guidance for a named health condition, including symptoms, when to seek help, causes, treatment and prevention. Sections not shown on NHS pages are null; for conditions with several guidance pages, the review date is the latest among the pages used.
nhs.uk/get_conditionLooks up a MedlinePlus health topic for a condition or symptom and returns its overview, related topics, and encyclopedia sections when a matching article is linked.
medlineplus.gov/get_health_topicGets CDC facts about a disease by name, including symptoms, how it spreads, prevention, treatment and higher-risk groups when covered. A review date is returned only when CDC labels one.
cdc.gov/get_disease_factsLooks up a medicine in the NHS medicines A to Z and returns its guidance: uses, key facts, who can take it, how to take it, side effects, pregnancy and interactions. Sections absent from NHS guidance are null; a plain name with separate adult and child pages selects the adult page.
nhs.uk/get_medicineFinds ICD-10-CM diagnosis codes and official names from a plain-language condition description, retrying with simplified wording when the first search finds nothing.
clinicaltables.nlm.nih.gov/search_diagnosis_codesExplains a MedlinePlus medical test: what it measures, why it is ordered, how it is done, preparation, risks, and what the results mean.
medlineplus.gov/explain_lab_testFinds ClinicalTrials.gov studies for a condition or medicine. You can filter by location, distance, recruitment status and phase. With a location, results are ordered by distance to the closest eligible site.
clinicaltrials.gov/search_trials