{
 "name": "slashyear",
 "description": "Every recorded year, calendar day, decade, century and subject in history as static JSON. Each entry carries the English Wikipedia revision id its sentence was quoted from.",
 "documentation": "https://slashyear.com/api",
 "base": "https://slashyear.com",
 "auth": null,
 "cors": true,
 "rate_limit": null,
 "license": "CC BY-SA 4.0",
 "license_url": "https://creativecommons.org/licenses/by-sa/4.0/",
 "attribution": "Each record carries the English Wikipedia article title and revision id its sentence was quoted from; attribute those.",
 "bulk_download": "https://slashyear.com/dump/datapackage.json",
 "llms_txt": "https://slashyear.com/llms.txt",
 "mcp": {
  "url": "https://slashyear.com/mcp",
  "transport": "streamable-http",
  "auth": null
 },
 "endpoints": [
  {
   "path": "/api/years.json",
   "description": "index of every published year"
  },
  {
   "path": "/api/year/{year}.json",
   "description": "one year; astronomical numbering, so -43 is 44 BCE"
  },
  {
   "path": "/api/dates.json",
   "description": "index of all 366 calendar dates"
  },
  {
   "path": "/api/date/{month-day}.json",
   "description": "one calendar day across every year"
  },
  {
   "path": "/api/cross.json",
   "description": "index of every century, decade and subject"
  },
  {
   "path": "/api/century/{slug}.json",
   "description": "one century: its decades, subjects and highlights"
  },
  {
   "path": "/api/decade/{slug}.json",
   "description": "one decade: its years and their leading entries"
  },
  {
   "path": "/api/topic/{slug}.json",
   "description": "one subject across every century"
  },
  {
   "path": "/api/topic/{slug}/{century}.json",
   "description": "one subject inside one century"
  },
  {
   "path": "/api/entities.json",
   "description": "index of every subject that has a timeline"
  },
  {
   "path": "/api/entity/{slug}.json",
   "description": "one subject: every dated entry naming it, in order, with its Wikidata id"
  },
  {
   "path": "/api/search?q={query}",
   "description": "subjects matching a query and their dated entries; &from= &to= &limit="
  },
  {
   "path": "/dump/events.ndjson.gz",
   "description": "every dated entry on the site, gzipped newline-delimited JSON"
  },
  {
   "path": "/dump/years.ndjson.gz",
   "description": "one record per year"
  },
  {
   "path": "/dump/entities.ndjson.gz",
   "description": "one record per subject timeline"
  },
  {
   "path": "/dump/datapackage.json",
   "description": "Frictionless description of the three dumps"
  }
 ]
}