SimpleFunctions

Data

Prediction market data.
Cross-venue, calibrated, agent-callable.

53K normalized markets across Kalshi and Polymarket. Twelve computed indicators per market, calibration history, real-time feeds, and bulk archives — available via REST, CLI, and MCP.

53K

Latest priced markets

224

CLI commands

92

HTTP tools

1.7M+

Settled outcomes

Intent map

Pick the canonical data page.

The existing data pages map cleanly to the main search and agent intents: live context, bulk files, historical evaluation, indicator definitions, and reuse terms.

Surfaces

Access surfaces

Quick start

Four calls to get going.

01

World state

Compressed snapshot (~800 tokens). Index + movers + opportunities.

curl simplefunctions.dev/api/agent/world
02

Screen markets

Filter active contracts by quantitative indicators.

curl "…/api/public/screen?iy_min=200&tau_max_days=30"
03

Economic series

Official macro series with optional market context.

curl "…/api/public/query-econ?q=cpi"
04

CLI

Same surfaces locally. Pipes into shell, jq, agents.

npm i -g @spfunctions/cli && sf world

Formats

Output formats

01JSONCLI default, REST API responses, and MCP adapter tool returns.
02JSONLSettled outcomes and SimpleFunctions Index history on HuggingFace.
03HF datasetsCSV-ready loading through datasets, pandas, and polars without a new API key.
04RSSReal-time change feed. World-state diffs as Atom items.
05WebSocketStreaming via CLI. Orderbook + trade tape.

FAQ

Frequently asked.

01

How do I access prediction market data?

Public read endpoints are rate-limited by IP without authentication; contracted tiers raise the rate limit and route to heavier model tiers. Access through REST, CLI, and MCP — all serve the same normalized world state, probability, and screener surfaces.

02

What formats is the data available in?

JSON via the REST API and CLI. JSON and JSONL via the public HuggingFace datasets, with CSV-ready loading through datasets, pandas, or polars. RSS for real-time change feeds. Every active market includes 12 quantitative indicators alongside price and volume.

03

How fresh is the data?

Pricing and orderbook state refresh every 60 seconds via the proxy layer. The world-state aggregate refreshes every 15 minutes. Historical Brier calibration is computed nightly. Daily snapshots ship by 06:00 UTC.

Next

Try a live call.

The playground runs the same endpoints these docs describe — inspect requests, responses, and headers.