REST API & MCP

Free anonymous access for researchers, scripts, and AI agents. All endpoints strictly serve publication-approved, redaction-compliant records.

Partial live corpus (v724). Currently serving 831,478 publication-approved documents, 1,108,800 pages, and 4,190,271 exact NFC-normalized words. Full corpus coverage is incomplete while dataset acquisition and victim-protection screening continue.

REST Endpoints

EndpointDescription
GET /v1/status Publication version, counts, and coverage disclosure
GET /v1/words Exact word rankings (offset or cursor paginated)
GET /v1/words/{word} Word totals, spelling variants, and cited page matches
GET /v1/words/{word}/documents Word totals and deduplicated document breakdown
GET /v1/documents Search approved documents and page passages
GET /v1/documents/{id} Document provenance and page numbers
GET /v1/documents/{id}/pages/{page} Approved page text
GET /v1/documents/{id}/download Approved document download (original PDF if approved, generated PDF/DOCX/MD/TXT/JSON, or structured metadata XLSX)
GET /v1/people Search reviewed people and organizations
GET /v1/exports Export filtered rankings, documents, entities, or search matches
POST /v1/exports/jobs Queue a multi-page dataset export job (up to 10,000 rows)
GET /v1/exports/jobs/{id} Check status of a queued export job
GET /v1/exports/jobs/{id}/download Download completed export job artifact

Fair-Use Rate Limits

Anonymous reads allow 120 weighted units/minute per IP (burst 120). Optional free API keys (pass X-API-Key) allow 300 units/minute subject to shared origin safety ceilings. Cheap lookups and job status polls cost 1 unit; full-text searches, MCP calls, and exports cost 5–10 units. Responses include X-RateLimit-Limit, X-RateLimit-Remaining, ETag, and Retry-After on 429/503.

Examples (curl, Python, JavaScript, MCP)

# Word rankings & document breakdown
curl -s "https://files.zerolog.ch/v1/words?sort=mentions&common=hide&limit=15"
curl -s "https://files.zerolog.ch/v1/words/Epstein/documents"

# Multi-page Excel export job
curl -s -X POST "https://files.zerolog.ch/v1/exports/jobs?dataset=words&format=xlsx"

# MCP Streamable HTTP client config
{
  "mcpServers": {
    "zerolog-observatory": {
      "type": "streamable-http",
      "url": "https://files.zerolog.ch/mcp"
    }
  }
}