SimpleFunctions

Context.

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

3000 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 Aug 18, 06:01 AM · K 3000 · PM 0 · 3,000 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
772.75
-0.4%
QQQ
729.31
-0.2%
IWM
304.03
-0.3%
VIXY
18.77
+0.8%
SHY
82.01
-0.0%
IEF
92.86
-0.2%
TLT
81.32
-0.9%
HYG
79.62
-0.1%
GLD
405.34
+1.0%
USO
130.3
+2.9%
UNG
9.82
-0.8%
CPER
40.07
+0.1%
UUP
28.11
-0.1%
FXE
106.88
+0.1%
XLE
62.56
+1.0%
EEM
67.39
+1.2%
IBIT
36.42
+2.4%
ETHE
15.35
+1.4%

What matters right now

2026 Senate Control Hinges on a Knife's Edge — Republicans at 52¢

The 2026 Senate control contract (CONTROLS-2026) is the most liquid election market across all platforms, with GOP control priced at 52¢ vs. Democrats at 48¢. Key battleground states like Ohio (51¢ D), Michigan (57¢ D), and Texas (50¢ R) are aligning with the national narrative of a highly competitive map.

CONTROLS-2026-RCONTROLS-2026-DSENATEOHS-26-RSENATEOHS-26-DSENATEMI-26-RSENATEMI-26-DKXGOVFLNOMR-26-BD

sf query "2026 senate control"

Live thesis edges

K25¢edge +60¢Will the maximum WTI front month settle price reach $120.01 fertilizer-shock-farm-crisis
K30¢edge +60¢Will the maximum WTI front month settle price reach $115.01 fertilizer-shock-farm-crisis
K75¢edge +60¢Will average **gas prices** be below $3.60 by Dec 31, 2026?fertilizer-shock-farm-crisis
K16¢edge +59¢Will average **gas prices** be above $4.50?fertilizer-shock-farm-crisis
K7¢edge +59¢State of the economy at the end of 2026?fertilizer-shock-farm-crisis
P26¢edge +59¢What will Kevin Warsh say during June Press Conference?: Deppowell-warsh-fed-succession
P7¢edge +58¢May Inflation US - Annual: ≥4.4%fertilizer-shock-farm-crisis
P12¢edge +58¢What will Kevin Warsh say during July Press Conference?: Indpowell-warsh-fed-succession

Recent thesis evaluations

25%UNCTAD confirmation of sustained Hormuz transit collapse reinforces the supply-chain disruption premise, but the transmi
fertilizer-shock-farm-crisis · 1h ago
22%Recent activity in Hormuz transit markets and job cut expectations suggests a slight increase in conflict sensitivity, l
doge-federal-capacity-crisis · 1h ago
83%Recent data and price moves reflect ongoing market volatility around the Fed's rate path, but fundamental drivers of the
powell-warsh-fed-succession · 1h ago
29%No material changes in causal drivers; minor confidence adjustment due to persistent lack of confirming indicators for R
cali-governor-election · 1h ago
25%No material developments were observed in the California gubernatorial race that impact the causal nodes. The cross-venu
california-governor-2026-mahan-underpriced · 1h 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 CC-BY-4.0 licensed and available on the free tier with rate limits. Authenticated thesis-specific context (per-thesis tree state) is metered and key-gated.

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