SimpleFunctions

Context.

The whole market in one call. No auth. CC-BY-4.0.

17019 prediction markets across Kalshi and Polymarket, condensed by an LLM into eighteen topic groups, cross- category highlights, traditional-market snapshot, live thesis edges, and evaluation signals. A few hundred tokens — drop the JSON straight into your agent prompt.

Last scan May 8, 06:02 PM · K 3000 · PM 14019 · 17,019 markets

Abraham Cresques in his Barcelona workshop completing the 1375 Catalan Atlas — a vellum chart with compass roses, the Sahara caravan toward Mansa Musa of Mali, port flags, and a brass astrolabe; an apprentice grinding lapis lazuli pigment

Catalan Atlas · Cresques 1375 — geography, politics, astronomy, and trade routes pressed into one parchment. The original world-context bundle.

What ships in one call

Seven sections. ~few-hundred tokens total. No auth.

The bundle is shaped for an agent's next decision, not for human browsing. Categories rank by 24h volume, highlights surface what cannot be missed, edges and signals come from the active thesis loop.

categories

18 topic groups (macro, crypto, policy, sports), each with topMovers + mostLiquid lists.

highlights

LLM-curated cross-category callouts with related tickers and suggested commands.

traditional

Real-time SPY, VIX, gold, oil, BTC snapshot — context for prediction-market repricing.

edges

Live thesis-vs-market edges from active public theses, depth-scored, top 8.

signals

Recent thesis evaluations: confidence delta, summary, citation per signal.

meta

Total markets scanned · K/PM split · scan timestamp · LLM token budget.

licensing

CC-BY-4.0; attribute simplefunctions.dev. Drop the JSON straight into agent prompts.

Traditional snapshot

SPY
730.14
-0.4%
QQQ
693.6
-0.0%
IWM
282.06
-1.4%
VIXY
26.93
-0.6%
SHY
82.23
-0.1%
IEF
94.73
-0.3%
TLT
85.79
-0.4%
HYG
79.89
-0.3%
GLD
431.66
+0.2%
USO
137.04
+1.7%
UNG
10.69
+2.3%
CPER
37.34
-0.6%
UUP
27.41
+0.2%
FXE
108.29
-0.1%
XLE
55.96
-1.8%
EEM
66.61
-1.3%
IBIT
45.31
-1.8%
ETHE
18.6
-2.4%

Live thesis edges

K72¢edge +57¢Will Rand Paul vote for the next Fed Chair nominee?powell-warsh-fed-succession
K9¢edge +57¢CPI year-over-year in Jul 2026?fertilizer-shock-farm-crisis
P6¢edge +55¢DOJ reopens Powell investigation by...?: June 30powell-warsh-fed-succession
K8¢edge +55¢Will average **gas prices** be above or below $4.00 by Dec 3fertilizer-shock-farm-crisis
K27¢edge +55¢Will average **gas prices** be above $5.40 by Dec 31, 2026?fertilizer-shock-farm-crisis
P40¢edge +53¢What will Gold (XAUUSD) hit in May 2026?: ↓ $4,500dollar-weaponization-de-dollarization
K83¢edge +53¢Will the 7-day moving average of transit calls through the Sfertilizer-shock-farm-crisis
K24¢edge +52¢Will average **gas prices** be above or below $5.60 by Dec 3fertilizer-shock-farm-crisis

Recent thesis evaluations

21%Market signals show high volatility in transit calls and energy-related inputs, but these remain within the expected ran
fertilizer-shock-farm-crisis · 11m ago
25%No material improvement in thesis confidence despite high volatility in speculative Gold and Bitcoin dated prediction ma
dollar-weaponization-de-dollarization · 11m ago
44%No material breakthrough in the Trump-Powell-Warsh power struggle, though labor market data is beginning to feed into ra
powell-warsh-fed-succession · 11m ago
16%Thesis confidence decreased slightly due to ongoing external pressure on maritime logistics and geopolitical tension, th
doge-federal-capacity-crisis · 12m ago
40%Recent data reveals market consolidation around Taiwan political risks and US intervention limits; while individual mark
china-taiwan-window · 12m ago

Why a curated context beats raw markets

ApproachWhat it gives youWhere it breaks

Bloomberg dashboard

Best curated market screen money buys

No prediction-market integration; no agent-readable shape; no thesis context

Raw markets dump

Total coverage

Too large for agent context; no curation; no actionable framing

Custom scraper

Full control over the schema

Months of work; no LLM curation; no calibration; no settlement awareness

SimpleFunctions context

One call · LLM-curated · agent-shaped

Designed for the next tick decision, not for browsing

Six patterns that consume context

Same JSON; different downstream. The shape that repeats: an agent or a human reading the bundle and deciding what to do next.

Agent prompts

Embed sf.context JSON in the system prompt; agent reasons about today's tape.

Morning briefing

CLI sf context piped to your IC pack — categories + highlights + signals.

Slack / TG bots

Highlights → Slack message every heartbeat; only the changed callouts surface.

Research pipelines

Backtest replay context as features alongside per-tick orderbook history.

Public dashboards

CC-BY-4.0 — drop into your own dashboard; attribute simplefunctions.dev.

LLM training corpora

Daily HF dump of context bundles — clean signal for training prediction-market agents.

Context endpoints

Same JSON across CLI, REST/Data API, MCP adapter, and historical snapshots. Drop into any agent or pipeline.

API reference

FAQ

What does the global context endpoint return?

A curated bundle: categories (with top movers and most-liquid contracts per category), cross-category highlights (with actionable tickers and suggested commands), traditional market snapshot (SPY, VIX, gold, oil, BTC), live thesis edges, recent evaluation signals. ~3,000 markets scanned, condensed to a few hundred tokens designed to drop into an agent prompt.

How is this different from /api/public/markets?

markets is the raw catalogue. context is the curated, decision-shaped subset: only what an agent or PM should react to right now. Highlights have plain-English descriptions and ticker links; categories rank by 24h volume; edges and signals come from active public theses.

How often is it refreshed?

Categories and highlights are LLM-curated twice daily. Edges and signals refresh on every heartbeat tick (15 min). Traditional market snapshot is real-time. The endpoint cache is ~30s; pull it as fast as you like.

Do I need an API key?

No. /api/public/context is free, CC-BY-4.0 licensed, no auth required. Authenticated thesis-specific context (per-thesis tree state) is metered and key-gated, but the global view is always open.

How do I drop this into an agent?

Three lines: agent reads sf.context (or GET /api/public/context), embeds the JSON in its prompt, takes action via sf.intent.create. The bundle fits in ~few hundred tokens; agents can pull on every loop without context-window pressure.

What are highlights actually?

LLM-curated cross-category callouts: an event the system thinks the agent should not miss (a Fed pivot, a CPI surprise, a Polymarket sports liquidity hot spot). Each highlight ships with related tickers and a suggested follow-up command.

Categories — by what taxonomy?

Eighteen topic groups: macro (oil, Fed, CPI, recession, treasury yields, geopolitics, tariffs, elections, govt shutdowns, central banks), crypto (BTC/ETH/SOL ladders + ETF flow + halving), policy (legislation, executive actions, regulatory), and sports (EPL, NBA, UCL, CS2, IPL, NFL). Each category gets its own movers + liquid list.

How is global context different from thesis context?

Global context shows the market as a whole — categories, movers, highlights. Thesis context layers your model on top: causal tree with thesis-implied prices, edges where your view disagrees with the market, kill-condition status, track record. Global is no-auth; thesis is BYOK.

Cost?

Public global context endpoint is free, CC-BY-4.0. Per-thesis context is metered. Webhook delivery free. WebSocket /v1/ws free for read.

Backtest / historical?

GET /api/public/context?at=2026-04-01T12:00 returns the historical snapshot at that timestamp. Daily Hugging Face dump under SimpleFunctions/context (CC-BY-4.0) ships the full archive.

Related surfaces