Public read endpoints
GET /api/world/sitrep
Current global situation report. Returns: world_news, us_news, signals, disasters, quakes, cyber_kev, crypto_top, stocks, launches, ibe_findings, headlines.
Cached 5 min.
GET /api/world/predictions?category=<cat>
Per-category 24h / 7d / 30d outlook. Categories: world, conflicts, markets, disasters, cyber, space, local, all.
First load 5-25s; cached 30 min.
GET /api/proxy/news/headlines?category=<cat>
44-source RSS aggregation. Filter by category.
Cached 10 min.
GET /api/health
Service health (DB, Ollama, queue).
GET /api/proxy/dns/{name}
DNS lookup proxy. Path param, not query.
POST /api/public/ai/ask
Free-form Ollama Q&A. Body: {prompt, system}. gemma3:1b default (fast). Vision endpoints use moondream.
Auth + rate limits
- Auth — none for public endpoints. CORS allowlist enforced server-side.
- Rate limits — 60 req/min/IP at the global limiter. Burst allowed.
- Errors — 429 on rate, 5xx on upstream. Retry with backoff.
Sample request
curl -s https://api.thatcomputerguy26.org/api/world/sitrep | jq .
# Per-category prediction (warm cache):
curl -s 'https://api.thatcomputerguy26.org/api/world/predictions?category=conflicts' | jq .narrative
# Free-form ask:
curl -s -X POST -H 'Content-Type: application/json' \
-d '{"prompt":"Summarize today's Iran-Israel signal."}' \
https://api.thatcomputerguy26.org/api/public/ai/ask | jq .reply
Roadmap
GET /api/impact/all— composite US-Impact Index breakdown (planned)GET /api/chaos— Domestic-Chaos channels (planned)wss://…/ws/sentiment— live tonality stream (planned)