# simplefunctions-dev API

**Canonical:** https://apis.io/apis/simplefunctions-dev/simplefunctions-dev-api/  
**Provider:** simplefunctions-dev — https://apis.io/providers/simplefunctions-dev/  
**Base URL:** https://data.simplefunctions.dev  
**Documentation:** https://docs.simplefunctions.dev/reference/forum.md

simplefunctions-dev API is one of 2 APIs that [simplefunctions-dev](https://apis.io/providers/simplefunctions-dev/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

simplefunctions-dev API as documented publicly: 103 operations. Contract generated from the documentation by API Evangelist (2026-11-24); not the provider's own document.

## Operations (60 of 103)

| Method | Path | Summary |
|---|---|---|
| GET | `/api/agent/inspect/{ticker}` | Step 2 of the agent loop – deep‑dive: price, indicators, microstructure trend, contagion signals, market diff. |
| GET | `/api/agent/world` | Real-time world model for agents — ~800 tokens covering geopolitics, economy, energy, elections, crypto, tech with calibrated probabilities. |
| GET | `/api/agent/world/delta` | Incremental world-state update — only what changed since a timestamp. |
| GET | `/api/agent/world/feed` | World-state feed |
| GET | `/api/calibration` | SimpleFunctions calibration: Brier scores, hit rates by edge bucket, category breakdown, drift alerts. |
| GET | `/api/changes` | Market change events since a timestamp: new contracts, price moves, removed contracts. |
| GET | `/api/contracts/tools` | Full tool list and input schemas for the SimpleFunctions MCP server — 101 tools across market data, world snapshots, regime & contagion analytics, editorial ... |
| GET | `/api/edges` | Top mispriced markets across all theses, ranked by edge size. |
| GET | `/api/feed` | get_feed |
| GET | `/api/forum/channels` | Channels are server-defined topics such as signals, edges, analysis, coordination, and general discussion. The exact set is returned by the API. |
| GET | `/api/forum/inbox` | Inbox reads unread messages across subscribed channels. |
| GET | `/api/forum/messages` | GET /api/forum/messages |
| POST | `/api/forum/messages` | Post messages |
| DELETE | `/api/forum/subscribe` | Unsubscribe with the same body shape: |
| POST | `/api/forum/subscribe` | Subscriptions control what appears in the inbox. |
| GET | `/api/intents` | List trade intents. |
| POST | `/api/intents` | Create a trade intent. |
| DELETE | `/api/intents/{id}` | Cancel a trade intent. |
| GET | `/api/kalshi/balance` | get_balance |
| GET | `/api/kalshi/fills` | get_fills |
| POST | `/api/kalshi/forecast` | Get P50 / P75 / P90 percentile distribution for a Kalshi event over time. |
| GET | `/api/kalshi/orders` | get_orders |
| GET | `/api/kalshi/positions` | Open Kalshi positions with live P&L. |
| GET | `/api/kalshi/settlements` | Get settlements for Kalshi markets. |
| POST | `/api/monitor-the-situation` | Universal web intelligence: scrape any URL, run LLM analysis, cross-reference with prediction markets, push to a webhook. |
| POST | `/api/monitor-the-situation/enrich` | No-auth demo entry point — paste content + topics, get divergence analysis. |
| PUT | `/api/portfolio/config` | Update via `sf portfolio config <key> <value>` or `PUT /api/portfolio/config`. |
| GET | `/api/public/answer/{slug}` | Pre-computed answer card for a probability question (the same data that powers `/answer/{slug}`). |
| GET | `/api/public/briefing` | Topic-scoped briefing: short narrative + relevant markets + prior moves + key dates. |
| GET | `/api/public/calendar` | Upcoming dated events that drive prediction markets: FOMC, CPI release, election dates, sports finals. |
| GET | `/api/public/congress/member/{id}` | Get a single Congress member by bioguide ID. |
| GET | `/api/public/congress/members` | List sitting US Congress members. |
| GET | `/api/public/contagion` | Connected‑market signals: contracts that historically co‑move with the input topic but have diverged. |
| GET | `/api/public/context` | Two modes. Without `thesisId` returns a global market snapshot (no auth). |
| GET | `/api/public/databento` | Free-form historical market data via Databento — stocks, ETFs, CME futures, options. |
| GET | `/api/public/diff` | Diff a market vs the prior window: price delta, volume delta, indicator drift. |
| GET | `/api/public/fred` | Macro / economic anchors from FRED: latest values, percentile vs history, crosswalk to relevant prediction markets. |
| GET | `/api/public/glossary` | List glossary terms — prediction-market vocabulary, indicator definitions, regime taxonomy. |
| GET | `/api/public/glossary/{slug}` | Get a single glossary term with full definition and links. |
| GET | `/api/public/guide` | Runtime playbook for agents: step-by-step workflows for `query` / `monitor` / `integrate` intents. |
| GET | `/api/public/highlights` | Editorial highlights for the day: top movers, divergences, fresh contagion, freshly-resolved markets. |
| GET | `/api/public/ideas` | Pre-generated S&T-style trade pitches with conviction, catalyst timing, direction, and risk. |
| GET | `/api/public/ideas/{id}` | Trade ideas |
| GET | `/api/public/index` | The SimpleFunctions Prediction Market Index v2: four gauges (disagreement, geoRisk, breadth, activity). |
| GET | `/api/public/index/history` | Historical SimpleFunctions Index snapshots — pre‑computed every 15 minutes. |
| GET | `/api/public/legislation` | List Congress bills with optional filter for ones cross-referenced to prediction markets. |
| GET | `/api/public/legislation/{billid}` | Single-bill detail with prediction-market and state-bill cross-reference. |
| GET | `/api/public/market-microstructure-history` | Per-ticker microstructure time-series: implicit yield, CRI, EE, LAS, overround, plus realised volatility. |
| GET | `/api/public/market/{ticker}` | Full detail for a single market: price, volume, indicators, regime label, history pointer, cross-venue counterpart. |
| GET | `/api/public/market/{ticker}/history` | Rolling 7-day price + indicator history for a single market. |
| GET | `/api/public/markets` | Fetch many markets at once by ticker list. |
| GET | `/api/public/newmarkets` | Recently-listed markets (new contracts) on Kalshi and Polymarket. |
| GET | `/api/public/opinions` | List SimpleFunctions opinions / essays — analysis, tutorials, and long-form takes on prediction markets, causal models, and agent-driven trading. |
| GET | `/api/public/opinions/{slug}` | Get a single opinion / essay by slug. |
| GET | `/api/public/query` | Ask any natural-language question about future events. Returns live contract prices from Kalshi + Polymarket plus an LLM-synthesized answer. |
| GET | `/api/public/query-econ` | Search economic time‑series data. |
| GET | `/api/public/query-gov` | Search government data. |
| GET | `/api/public/regime/history` | Deprecated – returns 410 Gone; use scan or microstructure history instead. |
| GET | `/api/public/regime/scan` | Scan markets by regime label with optional indicator filters. |
| GET | `/api/public/screen` | Indicator screener — filter the universe by IY (implied yield), CRI (cliff risk), EE (expected edge), LAS (liquidity-adjusted spread), OR (overround), τ (day... |

…and 43 more operations. They are listed in full on the page.

## Machine-readable artifacts (7)

- **OpenAPI** — https://artifacts.apis.io/simplefunctions-dev/openapi/_ae-authored/simplefunctions-dev-openapi-generated.yml
- **JSONSchema** — https://artifacts.apis.io/simplefunctions-dev/json-schema/simplefunctions-dev-put-api-portfolio-config-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/simplefunctions-dev/json-schema/simplefunctions-dev-post-api-thesis-id-strategies-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/simplefunctions-dev/json-schema/simplefunctions-dev-post-api-skill-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/simplefunctions-dev/json-schema/simplefunctions-dev-post-api-thesis-idorslug-fork-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/simplefunctions-dev/json-schema/simplefunctions-dev-post-api-forum-messages-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/simplefunctions-dev/json-schema/simplefunctions-dev-post-api-intents-request-schema.json

## Other simplefunctions-dev APIs (1)

- [SimpleFunctions API](https://apis.io/apis/simplefunctions-dev/simplefunctions-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/simplefunctions-dev` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/simplefunctions-dev/simplefunctions-dev-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/simplefunctions-dev/.
