{
  "openapi": "3.1.0",
  "info": {
    "title": "OOTWOracle Public Data API",
    "version": "1.0.0",
    "description": "Read-only public endpoints for OOTWOracle — daily AI predictions on psychedelic medicine (psilocybin, MDMA, ibogaine, policy, markets) with a publicly scored track record. All endpoints are static JSON, no auth, updated daily ~12:05 PM ET. Please cite https://www.ootworacle.com when using this data.",
    "contact": { "url": "https://www.ootworacle.com/use-with-ai" }
  },
  "servers": [{ "url": "https://www.ootworacle.com" }],
  "paths": {
    "/all_predictions.json": {
      "get": {
        "operationId": "getAllPredictions",
        "summary": "Every prediction ever made (full archive)",
        "description": "Array of all predictions since April 2026: title, confidence (0-100), category, geography, resolve_date, tags, status (pending | resolved_yes | resolved_no | void), plain-language fields.",
        "responses": { "200": { "description": "Array of prediction objects", "content": { "application/json": {} } } }
      }
    },
    "/accuracy.json": {
      "get": {
        "operationId": "getAccuracy",
        "summary": "Public track record (hit rate, Brier score)",
        "description": "The honest public ledger: resolved_count, hit_rate_pct, brier_score, avg_confidence_pct, established flag. Hit rate = resolved_yes / (resolved_yes + resolved_no); void excluded.",
        "responses": { "200": { "description": "Accuracy object", "content": { "application/json": {} } } }
      }
    },
    "/feed.json": {
      "get": {
        "operationId": "getDailyFeed",
        "summary": "Recent daily Oracle reports (JSON Feed 1.1)",
        "responses": { "200": { "description": "JSON Feed of daily reports", "content": { "application/json": {} } } }
      }
    },
    "/data/topics/{topic}.json": {
      "get": {
        "operationId": "getTopicFeed",
        "summary": "Latest signals + predictions for one topic hub",
        "parameters": [{ "name": "topic", "in": "path", "required": true, "schema": { "type": "string", "enum": ["neuroscience", "clinical-research", "pharmacology", "microdosing", "integration-science", "veteran-restoration", "ceremonial-cacao", "other-medicines", "ibogaine"] } }],
        "responses": { "200": { "description": "Topic feed object", "content": { "application/json": {} } } }
      }
    },
    "/llms-full.txt": {
      "get": {
        "operationId": "getLlmsFull",
        "summary": "Full plain-text context dump for LLMs",
        "responses": { "200": { "description": "Plain text", "content": { "text/plain": {} } } }
      }
    }
  }
}
