Evidence Pipeline Enrichment

Expand the fact validation evidence pipeline with authoritative external data APIs. Currently facts are verified only against Wikipedia text and Wikidata triples — these integrations add domain-specific authoritative sources.

API Sources

SourceDomainFree TierStatus
Alpha VantageFinancial fundamentals, stock prices, economic indicators25 req/dayDraft
FRED + Finnhub + FMPFederal Reserve data, ESG, congressional trading, capacity reliefVariesDraft
API-SportsSports scores, standings, player statsFree key activeDraft
OpenAlexAcademic papers, citations, institution dataUnlimited (free)Draft
DBpediaGeneral structured Wikipedia dataUnlimited (free)Draft
Wikimedia EnterpriseStructured Wikipedia with real-time updatesPaid (enterprise)Draft

What This Solves

The evidence pipeline currently has zero financial data APIs, no sports data, and limited academic/scientific coverage. These integrations let the validation tier confirm specific claims like:

  • "Apple is worth $3 trillion" (Alpha Vantage -> MarketCapitalization)
  • "US GDP grew 5.7% in 2021" (FRED -> actual GDP values)
  • "Liverpool won the Premier League" (API-Sports -> standings)
  • "The study was cited 10,000 times" (OpenAlex -> citation count)

Architecture

Each API gets a validation tier client following the existing pattern in packages/ai/src/validation/. The client normalizes responses into the standard evidence format used by the validation pipeline.

Reference Documents