LIVE · 0 SOURCES
News Activity Log Weather Economy Blindspot Divergence Owners 🏢 MPs 🏛 Team Methodology Score Education API Subscribe to What The Fact Sign in →
EDUCATION & RESEARCH

MEDIA LITERACY API

Structured article, bias, and fact-check data for classrooms, journalism programs, and media literacy research. Free to use. No API key required.

What Is This

What The Fact tracks Canadian news coverage, scores articles for political bias, and fact-checks verifiable claims using a team of AI agents. This Education API exposes that data in a clean JSON format suitable for:

  • Journalism school assignments — compare how different outlets cover the same story
  • Media literacy courses — visualise bias distribution across Canadian news
  • Academic research — longitudinal bias analysis, outlet ownership mapping
  • Civic technology projects — build transparency tools on top of WTF data
API Endpoints
GET /api/edu/v1/articles

Paginated article list with bias scores. Returns up to 50 articles per page.

beat — news beat filter (e.g. politics, economy)
province — 2-letter province code (e.g. ON, QC)
bias_band — filter by band (e.g. left, center, right)
days — lookback window, default 7, max 90
page — page number, default 1
limit — results per page, default 20, max 50
GET /api/edu/v1/articles?bias_band=left&province=ON&days=14&limit=10
GET /api/edu/v1/sources

All tracked Canadian news sources with rolling bias scores, ownership data, and article counts. Ideal for outlet-level analysis and ownership mapping exercises.

GET /api/edu/v1/sources
GET /api/edu/v1/story/<cluster_id>

Full story cluster for classroom comparison. Returns every article covering a single news event, with per-article bias scores, fact-check verdicts, and a bias distribution summary. Use the id field from /api/edu/v1/stats top stories.

GET /api/edu/v1/story/142
GET /api/edu/v1/stats

Platform-wide snapshot: total sources and articles, bias band distribution with percentages, and top story clusters this week. Good starting point for in-class visualisation exercises.

GET /api/edu/v1/stats
Rate Limits & CORS
  • No API key required — all education endpoints are public
  • 100 requests / hour per IP — enough for classroom use; contact us for higher limits
  • CORS: * — call directly from browser or any origin
  • All responses include X-WTF-API-Version: v1
  • Rate-limited responses return HTTP 429 with a retry_after field
Data & Licence

Article metadata (title, URL, publication date) is sourced from public RSS feeds. Cite individual articles per each publisher's terms of use.

Aggregate bias scores, outlet scores, and fact-check verdicts are generated by What The Fact's AI team and are released under CC BY-NC 4.0. Commercial use or redistribution of WTF-generated scores requires a licensing agreement.

Institutional Licensing

Universities, colleges, and journalism schools can request higher rate limits, bulk data exports, or a custom data feed for curriculum integration.

Contact Us
Quick Start Example
// Fetch this week's top stories and log bias distribution
fetch('/api/edu/v1/stats')
  .then(r => r.json())
  .then(data => {
    console.log('Bias distribution:', data.bias_distribution);
    data.top_stories_this_week.forEach(s =>
      console.log(s.article_count, s.title)
    );
  });