Health Misinformation Filtering API: How to Keep Bad Sources Out of AI Answers

TLDR: We found no API that filters health misinformation end to end. A working filter stacks three checks: a tiered source allowlist you maintain, a fact-check lookup for viral claims, and an evidence check before the answer ships. In our 18 November 2026 test of 50 health questions, 60% of top web results came from sites our 96-domain tier list missed, and the Data Commons ClaimReview feed held a related fact check for only 8 of the questions.
What does a health misinformation filtering API need to do?
If your app answers health questions from the web, every retrieved page is a candidate source for the answer. The TREC Health Misinformation track (the Decision track in 2019) ran from 2019 through 2022 and framed the problem well. Its 2021 overview notes that in health search, documents containing incorrect information are considered to be harmful and not merely non-relevant, so systems must actively keep them out of the results, not just rank good pages higher.
That job splits into three checks, and the options in the next section each cover only part of it:
- Source gating: who published the page, and do you trust that publisher for health claims?
- Claim matching: has a fact checker already ruled on this exact claim?
- Evidence judging: does the evidence you kept support the answer, and is there enough of it to answer at all?
Source gating is the check you can run on every request, but it is a proxy. The National Academy of Medicine's 2021 principles for credible health sources (science-based, objective, transparent and accountable) note that the credibility of a source is, at most, an indicator of information quality and by no means a guarantee, citing WHO and CDC being slow to acknowledge airborne transmission of COVID-19. WHO and NAM encouraged platforms to apply them globally in February 2022. Use them as the rubric for your tiers; they are not a downloadable list.
Which options exist, and what does each one cover?
| Option | What it checks | Access and cost (November 2026) | Main limit |
|---|---|---|---|
| Your own tiered domain list | Source | Free to build; you maintain it | 60% of results fell outside it in the test below, and it goes stale |
| NewsGuard for AI | Source ratings for 35,000 news and information sites, plus a database of known false claims | Commercial license, no published price (the FAQ says to contact NewsGuard); unlicensed commercial use is prohibited | Rates news and information publishers; everything it has not rated needs your own policy |
| Google Fact Check Tools Claim Search API | Published fact checks matching a claim | API key required; the docs list no price | Covers only claims fact checkers chose to check |
| Data Commons ClaimReview feed | The same, in bulk | Public JSON download, 201 MB on 18 November 2026 | Partial view: the Claim Search API may return reviews the feed lacks |
| Research code and benchmarks | Claim detection and stance | Open data such as the TREC topics; open code such as Full Fact's Raphael proof of concept (MIT) | Not a hosted API; you run and evaluate it |
| You.com Web Search and Research APIs | Enforces your source policy at retrieval and returns cited answers | $5 per 1,000 searches; Research from $12 per 1,000 requests at lite effort | Does not rate sources or detect misinformation on its own |
One option that no longer exists: the HONcode certification. Drugs.com's status page reports that the HON site and certification review program stopped being maintained on 15 December 2022. A HONcode badge still on a page tells you nothing current, so do not score it.
What did 50 health questions return from live web search?
To see what a filter actually receives, we ran the 50 TREC 2022 health questions (25 yes, 25 no, each with an assessor's evidence URL) through You.com's Web Search on 18 November 2026, using the keyless MCP endpoint (https://api.you.com/mcp?profile=free, limited to 100 queries a day). We took each topic's short query, such as "crystals heal" or "WD-40 arthritis", kept the top 10 web results and tiered all 500 with the source_tiers.py module below: 96 listed domains plus suffix rules for government and university hosts. A same-morning repeat of three queries matched twice and overlapped nine of ten results once, so read the shares as a snapshot.
| Tier | Results | Share |
|---|---|---|
| 1 Public health authority (CDC, NIH, WHO, NHS and similar) | 32 | 6.4% |
| 2 Clinical or academic (medical centers, journals, societies) | 53 | 10.6% |
| 3 Editorial health publisher (WebMD, Healthline and similar) | 90 | 18.0% |
| 4 Reference or news | 18 | 3.6% |
| 5 User generated (Reddit, YouTube, forums) | 9 | 1.8% |
| Unknown | 298 | 59.6% |
The unknown bucket is where filters succeed or fail. We sorted those 298 results by hand, by host: 163 came from sellers, brands, clinics and treatment centers with something to sell, 74 from general publishers (news sites, magazines, blogs), 50 from credible institutions the list missed (Cancer Research UK, the British Heart Foundation, UPMC, MSF) and 11 from advocacy or trade groups. Commercial pages appeared in the top 10 for 44 of the 50 questions. For "crystals heal", 5 of the 10 results were crystal or jewelry shops. Dropping every unknown would discard those 50 credible results; keeping them lets sellers into the answer. The sort is a judgment call, so treat the counts as approximate.
Four more findings shaped the design below:
- A strict list is often too thin. Keeping only tiers 1 and 2 left at least three sources for 13 of the 50 questions. Adding tier 3 raised that to 32. The top result was tier 1 or 2 for 15 questions, and 18 questions had none in the top 10. Sector suffixes alone are thinner still: only 34 of the 500 results came from .gov or .edu hosts.
- The benchmark's own evidence fails a strict list. TREC's assessors set 12 of the 50 answers from WebMD or Healthline, one from Scientific American and one from a WD-40 brand page. A tier 1 and 2 policy would reject 14 of the 50 sources the assessors relied on.
- Lists rot. health.harvard.edu now returns a 301 redirect to harvardhealth.org, a .org host that the .edu rule does not cover, so 3 Harvard Health results landed in unknown. Nothing in the list was wrong when it was written.
- A filtered snapshot understates a strict search. This test tiers an open top 10; a real request with
include_domainssearches the allowed domains directly and can return more allowed sources.
How much do fact-check databases cover?
Claim matching looks like the shortcut: send the claim to a fact-check index and read the verdict. We downloaded the Data Commons ClaimReview feed on 18 November 2026 to measure it. It held 100,643 reviews from 1,886 distinct fact-checker names. A case-insensitive match on any of 20 health terms in the claim text (the prefixes health, medic, cancer, covid, coronavirus, vaccin, virus and diabet, and the words doctor, hospital, disease, cure, treatment, symptom, drug, vitamin, supplement, diet, cholesterol and pandemic) matched 8,233 of them (8.2%), and 57% of those mention COVID-19, coronavirus or SARS-CoV-2.
Output is also shrinking. Counted by publication year, health reviews fell from 2,466 in 2020 to 300 in 2025 and 68 so far in 2026, and the all-topic total peaked at 16,097 in 2024 before dropping to 9,008 in 2025 and 2,922 in 2026. We did not establish why. Google announced in June 2025 that it was phasing out ClaimReview display in Search and began removing it from Search Console reporting on 9 September 2025, though the markup remains supported by the Fact Check Explorer.
Against the 50 TREC questions, we required every query word (matched on its first five letters) to appear in the claim text and read the hits. Nine questions had hits. One was a false hit, an unrelated review for "sit ups". Four checked the same claim (vaccines and autism, baking soda for cancer, drinking urine, apple cider vinegar for weight loss) and four checked neighboring claims, such as "banana flower can cure diabetes" for a question about whether bananas raise diabetes risk. That leaves 8 of 50 questions touched. Most health questions people ask are about everyday treatments, not viral hoaxes, and fact checkers rarely cover them.
The verdicts are messy too. The 8,233 health reviews carry 1,858 distinct rating strings ("False", "Falso", "FALSE", "Keliru", "User's claim is false"), and only 2,101 (25.5%) carry a numeric rating. Normalize ratings into your own small set, keep the original string for audit, and treat a match as a fast flag for viral claims, not as coverage. One caveat on scope: Google says ClaimReview markup submitted through its Fact Check Markup Tool is stored on Data Commons and published as a feed, while the Explorer also lists fact checks that carry the markup on their own pages. The Claim Search API may therefore return reviews the feed lacks.
How do you build the filter?
The test points to five design rules:
- Tier by publisher, and make unknown its own state. Use explicit domains plus sector suffixes such as .gov and .edu, and never fold unknown into allowed or blocked.
- Search strict first, widen only when thin. Send the allowlist as
include_domains(up to 500 domains). If fewer than three sources survive, run an open search withexclude_domains(up to 5,000) and accept tier 3. The Web Search API reference marks the two lists invalid in one request, so send one or the other; the request controls guide covers the rest. - Abstain when sources run out. Return "not enough reliable sources" rather than padding the context with weaker pages.
- Turn unknowns into a review queue. Institutions move into tier 2; sellers and clinics marketing their own services go on the blocklist. Expect a long tail: in our run, 262 distinct unknown hosts covered 298 results, and 237 of those hosts appeared once. Rank the queue by how often a host appears in your own traffic, not by a one-off sample.
- Check the list for redirects every week. The Harvard Health move is the kind of change that silently reroutes good sources into unknown.
This module does the tiering. Subdomains inherit their parent's tier, so pmc.ncbi.nlm.nih.gov counts as nih.gov.
"""Tier a health search result by its source domain.
Tiers (lower is stronger):
1 public health authority (government and intergovernmental health bodies)
2 clinical and academic (academic medical centers, journals, evidence bodies,
professional associations)
3 editorial health publisher (commercial sites with named medical review)
4 general reference and news
5 user generated (forums, social, video)
0 unknown (everything else: review before trusting)
"""
from urllib.parse import urlsplit
TIER_NAMES = {1: "public health authority", 2: "clinical or academic",
3: "editorial health publisher", 4: "reference or news",
5: "user generated", 0: "unknown"}
# Exact registrable domains. Subdomains match (www.ncbi.nlm.nih.gov -> nih.gov).
TIERS = {
1: ["cdc.gov", "nih.gov", "fda.gov", "cancer.gov", "hhs.gov", "medlineplus.gov",
"who.int", "nhs.uk", "gov.uk", "canada.ca", "europa.eu", "health.gov.au",
"healthdirect.gov.au", "va.gov"],
2: ["mayoclinic.org", "clevelandclinic.org", "hopkinsmedicine.org",
"cochrane.org", "cochranelibrary.com", "bmj.com", "thelancet.com",
"jamanetwork.com", "nejm.org", "nature.com", "sciencedirect.com",
"springer.com", "wiley.com", "frontiersin.org", "plos.org", "mdpi.com",
"heart.org", "cancer.org", "diabetes.org", "mouthhealthy.org", "ada.org",
"aafp.org", "aad.org", "acog.org", "healthychildren.org", "aap.org",
"radiologyinfo.org", "arthritis.org", "mcgill.ca", "uchicagomedicine.org",
"mountsinai.org", "nyulangone.org", "uclahealth.org", "pennmedicine.org",
"mskcc.org", "mdanderson.org", "kidshealth.org", "plannedparenthood.org"],
3: ["webmd.com", "healthline.com", "medicalnewstoday.com", "verywellhealth.com",
"verywellmind.com", "verywellfit.com", "everydayhealth.com", "health.com",
"drugs.com", "medicinenet.com", "patient.info", "goodrx.com",
"prevention.com", "healthgrades.com", "eatingwell.com"],
4: ["wikipedia.org", "britannica.com", "nytimes.com", "bbc.com", "bbc.co.uk",
"cnn.com", "reuters.com", "apnews.com", "theguardian.com", "npr.org",
"scientificamerican.com", "washingtonpost.com", "forbes.com", "time.com",
"nbcnews.com", "today.com", "usatoday.com", "newsweek.com", "self.com"],
5: ["reddit.com", "quora.com", "youtube.com", "facebook.com", "tiktok.com",
"instagram.com", "x.com", "twitter.com", "medium.com", "pinterest.com"],
}
_LOOKUP = {d: t for t, ds in TIERS.items() for d in ds}
# Suffix rules for whole public sectors. .edu covers university health pages.
SUFFIX_TIERS = [(".gov", 1), (".mil", 1), (".gov.au", 1), (".gov.nz", 1), (".gc.ca", 1),
(".edu", 2), (".ac.uk", 2)]
def host_of(url):
host = (urlsplit(url).hostname or "").lower()
return host[4:] if host.startswith("www.") else host
def tier_of(url):
host = host_of(url)
parts = host.split(".")
for i in range(len(parts) - 1): # longest match first
cand = ".".join(parts[i:])
if cand in _LOOKUP:
return _LOOKUP[cand]
for suffix, tier in SUFFIX_TIERS:
if host.endswith(suffix):
return tier
return 0
def filter_results(results, max_tier=3, min_kept=3):
"""Keep results at or above max_tier. If too few survive, say so
instead of silently padding the context with weaker sources."""
scored = [dict(r, tier=tier_of(r.get("url", ""))) for r in results]
kept = [r for r in scored if 1 <= r["tier"] <= max_tier]
held = [r for r in scored if r not in kept]
status = "ok" if len(kept) >= min_kept else "insufficient_sources"
return {"status": status, "kept": kept, "held_for_review": held}
The search wrapper runs the strict pass, widens on a thin result, and adds a fact-check lookup for inputs that read as claims. It calls the documented POST https://ydc-index.io/v1/search endpoint with an X-API-Key header. Send your own User-Agent too: in our tests on 18 November 2026, api.you.com answered Python's default urllib one with a 403 (Cloudflare error 1010), and the Research call below runs on that host.
import json
import os
import urllib.parse
import urllib.request
from source_tiers import TIERS, filter_results
SEARCH_URL = "https://ydc-index.io/v1/search"
FACTCHECK_URL = "https://factchecktools.googleapis.com/v1alpha1/claims:search"
USER_AGENT = "health-source-filter/0.1" # api.you.com rejects urllib's default (Cloudflare 1010)
STRICT_DOMAINS = (TIERS[1] + TIERS[2])[:500] # include_domains takes up to 500
def you_search(query, **controls):
body = {"query": query, "count": 10, **controls}
req = urllib.request.Request(
SEARCH_URL,
data=json.dumps(body).encode(),
headers={"X-API-Key": os.environ["YDC_API_KEY"],
"Content-Type": "application/json",
"User-Agent": USER_AGENT},
)
with urllib.request.urlopen(req, timeout=30) as resp:
data = json.load(resp)
return (data.get("results") or {}).get("web") or []
def gated_search(query, blocklist=(), min_kept=3):
"""Strict pass on the allowlist first; widen only if it comes back thin."""
strict = you_search(query, include_domains=STRICT_DOMAINS)
out = filter_results(strict, max_tier=2, min_kept=min_kept)
out["mode"] = "strict"
if out["status"] == "ok":
return out
# The API reference marks include_domains plus exclude_domains as invalid,
# so the widened pass sends exclude_domains alone (or nothing).
controls = {"exclude_domains": sorted(blocklist)[:5000]} if blocklist else {}
wide = you_search(query, **controls)
seen = {r["url"] for r in out["kept"]}
merged = out["kept"] + [r for r in wide if r.get("url") not in seen]
out = filter_results(merged, max_tier=3, min_kept=min_kept)
out["mode"] = "widened"
return out
def fact_checks(claim, language="en", max_age_days=None):
"""Published fact checks that match a claim, via Google's Claim Search API."""
params = {"query": claim, "languageCode": language, "pageSize": 10,
"key": os.environ["GOOGLE_API_KEY"]}
if max_age_days:
params["maxAgeDays"] = max_age_days
url = FACTCHECK_URL + "?" + urllib.parse.urlencode(params)
with urllib.request.urlopen(url, timeout=30) as resp:
data = json.load(resp)
rows = []
for c in data.get("claims", []):
for rv in c.get("claimReview", []):
rows.append({
"claim": c.get("text"),
"publisher": (rv.get("publisher") or {}).get("site"),
"rating": rv.get("textualRating"), # free text, not an enum
"reviewed": rv.get("reviewDate"),
"url": rv.get("url"),
})
return rows
To prefer good sources rather than require them, boost_domains raises allowed domains without excluding others; it combines with exclude_domains but not include_domains. We prefer the strict pass for health answers, because a boost cannot keep a seller page out when the allowed domains have no match.
How do you check the evidence before answering?
Restricting sources measurably helps. A 2025 JMIR study ran 130 neurology guideline questions through Perplexity's Sonar models with open web retrieval and again limited to aan.com and neurology.org. Correct answers rose from 60% to 78% for Sonar, 80% to 88% for Sonar Pro and 81% to 89% for Sonar Reasoning Pro, and in Sonar's answers, citing at least one nonprofessional source halved the odds of a higher rating. Retrieval can also hurt: an August 2026 benchmark found PubMed retrieval helped on PubMed-aligned sources such as PubMedQA and SciFact but could distract models on broader public-health claims. Match the evidence source to the claim type.
For a cited verdict, the You.com Research API takes an allowlist through source_control (up to 500 domains per list, in beta) and returns JSON that follows your schema through output_schema (also beta), with sources kept in output.sources. The Research API controls launch post covers both features. output_schema needs standard effort or higher; lite returns a 422.
import json
import os
import urllib.request
from gated_search import STRICT_DOMAINS, USER_AGENT
VERDICT_SCHEMA = {
"type": "object",
"properties": {
"verdict": {"type": "string",
"enum": ["supported", "contradicted", "mixed", "insufficient"]},
"summary": {"type": "string"},
"evidence_quality": {"type": "string", "enum": ["guideline", "review",
"single_study", "expert_opinion", "none"]},
},
"required": ["verdict", "summary", "evidence_quality"],
"additionalProperties": False,
}
def judge_claim(claim):
# source_control and output_schema are both beta features of the Research API.
body = {
"input": f"Does current medical evidence support this claim? {claim}",
"research_effort": "standard", # output_schema is rejected with lite
"source_control": {"include_domains": STRICT_DOMAINS},
"output_schema": VERDICT_SCHEMA,
}
req = urllib.request.Request(
"https://api.you.com/v1/research",
data=json.dumps(body).encode(),
headers={"X-API-Key": os.environ["YDC_API_KEY"],
"Content-Type": "application/json",
"User-Agent": USER_AGENT},
)
with urllib.request.urlopen(req, timeout=60) as resp:
out = json.load(resp)["output"]
result = dict(out["content"])
result["sources"] = [s["url"] for s in out.get("sources", [])]
if not result["sources"]:
result["verdict"] = "insufficient" # never pass an unsourced verdict on
return result
At standard effort a verdict costs $50 per 1,000 requests, or 5 cents a claim, against $5 per 1,000 for a search (both from the billing page, November 2026). Run it on answers that make a treatment claim, not on every query. A citation still does not prove support, so the guide to LLM citations covers how to check that a cited page says what the answer claims.
Where does You.com fit, and where doesn't it?
You.com fits the enforcement layer. Domain controls on Web Search (500 allowed, 5,000 blocked) and on the Research API (500 per list) let you apply your source policy inside the retrieval call instead of filtering afterwards. The broader guide to research APIs covers effort levels and failure modes.
It does not fit the judgment layer. You.com does not publish credibility ratings for health sites, does not classify pages as misinformation, and does not decide which domains belong in your tiers. That policy is yours, built from the NAM and WHO principles, a licensed rating set if you buy one, and your own review queue. In clinical settings, treat an automated verdict as triage for a human reviewer.
What should you test before you ship?
- Helpful versus harmful ranking. Score your pipeline on the TREC topics with the track's compatibility measure, which rewards helpful documents and penalizes harmful ones separately. A filter that only raises relevance can still rank harmful pages highly.
- Abstention rate. Count how often the strict pass and the widened pass both come back thin. In our snapshot, filtering open results to tiers 1 and 2 left 37 of 50 questions short of three sources; measure your own strict pass the same way.
- Harmful-source rate on "no" questions. Track how many sellers or promoters reach the final context for questions whose correct answer is no, such as crystal healing or salt lamps.
- Review backlog and list drift. Watch the unknown-host queue and rerun a redirect check on every listed domain.
- Locale. WHO meeting participants noted that culture, language and political views can affect what is seen as credible. Build per-country lists rather than stretching one across markets.
Rerun the 50-question test monthly: it takes 50 searches, about 25 cents at list price, and catches the drift (new sellers, moved institutions, shrinking fact-check coverage) that quietly degrades a health answer.
Frequently Asked Questions
We found no single call that does it. Services cover pieces: NewsGuard licenses source ratings and a database of known false claims, Google's Claim Search API returns published fact checks, and research code such as Full Fact's Raphael flags claims in video transcripts. A production filter combines a source allowlist, a fact-check lookup for viral claims and an evidence check on the final answer, with an abstain path when reliable sources run out.
You can, but expect gaps. In our 18 November 2026 test of 50 health questions, only 34 of 500 top results (6.8%) came from .gov or .edu hosts, and a tier 1 and 2 policy would reject 14 of the 50 sources TREC assessors used as evidence, mostly WebMD pages. Suffix rules also break when sites move: health.harvard.edu now redirects to harvardhealth.org, which a .edu rule does not cover. Pair the list with a review queue.
Google's documentation requires an API key and lists no price. The bigger question is coverage. In the public ClaimReview feed we downloaded on 18 November 2026, 8.2% of 100,643 reviews matched a health term, 57% of those named COVID-19, coronavirus or SARS-CoV-2, and the 50 TREC health questions found related reviews for just 8. Treat a match as a fast flag for viral claims, not as coverage.
No. Drugs.com's status page reports that the HON site and certification review program stopped being maintained on 15 December 2022, so a HONcode badge still showing on a page is a leftover, not a current review. Do not award points for it in a source score. Build your tiers from the National Academy of Medicine and WHO credibility principles instead, and keep unknown publishers in a review queue.
You.com enforces your source policy during retrieval. The Web Search API accepts up to 500 domains in include_domains and 5,000 in exclude_domains, and the Research API takes 500 per list in source_control (beta), returning schema-shaped, cited verdicts at standard effort and above. You.com does not rate health sites or classify misinformation, so the tier list, the blocklist and the review queue stay yours to maintain.
Run the 50 TREC 2022 Health Misinformation questions through your pipeline and score it with the track's compatibility measure, which rewards helpful documents and penalizes harmful ones separately. Also track the abstention rate, how often sellers reach the context on questions whose correct answer is no, the unknown-host backlog and redirects on listed domains. A monthly rerun costs 50 searches.
LI Test
LI Test
Share Article:
Related resources.

RAG vs Fine-Tuning for LLM Applications: When To Use Each Approach
November 14, 2026
Blog

How to Build a RAG Pipeline: A Step-by-Step Guide for Developers
October 25, 2026
Blog

What Is Grounded Generation? Cited Output for AI Applications
October 12, 2026
Blog

What Is Answer Engine Optimization? A Practical Guide for Content Teams
October 7, 2026
Blog

What Are LLM Citations? How They Are Produced and What They Prove
October 6, 2026
Blog
