Developers / API
The Kresmion API
Market intelligence for bots and apps. One HTTP API over Polymarket prediction markets, on-chain crypto flows, equities, and macro, with a cited source behind every record. Authenticate with a Bearer key, read the live OpenAPI spec, subscribe to webhooks, or connect an AI agent over MCP. It is information-only and does not provide investment advice.
Quickstart
Mint a key at /settings/api-keys, then fetch five prediction markets. Send the key as a Bearer token on every request.
Products
6 product areas, each with representative endpoints. The full, authoritative list is in the live reference below. Every response is the same envelope: data, count for lists, as_of for freshness, and meta for filters, sources, caveats, and attribution.
Prediction Markets
Polymarket markets: probability history, order books and their history, execution cost, smart-money and algorithmic flow flags, movers, the resolution calendar, calibration, and resolutions.
Crypto
Labeled whale transfers, exchange wallet holdings, perpetual derivatives, funding and liquidations, token unlocks, and spot ETF AUM and fund counts. BTC and ETH ETF flows per trading session come back withheld (total_kind 'withheld', withheld_reason 'source_not_licensed'): the only per-fund session flows held for them carry no redistribution licence.
Equities
Signal events, SEC Form 4 insider clusters, congressional trade disclosures, 13F institutional positioning, FINRA short interest, and FINRA daily short volume.
Macro and Rates
The cross-asset regime score, central bank policy rates and their moves, US money markets and the Fed corridor, sovereign 10Y spreads (a Kresmion calculation, not a credit rating), official economic statistics by country from the World Bank and the OECD, the Fed path ladder (FOMC decision-outcome prices on Polymarket), the Treasury curve through history, curated FRED series, the economic surprise index, Fed liquidity, CFTC Commitments of Traders, Treasury TIC flows, and BIS policy rates.
Companies
Peer relative value from SEC fundamentals, a multi-filter screen, and IPOs and equity offerings from EDGAR with their prospectus terms.
Signals and Intelligence
One feed of scored events across equities, crypto, macro, and prediction markets; the published signal track record (forward returns after every logged signal, losses included); cross-family confluence composites with legs listed; per-ticker smart-money scores; a per-symbol brief; and a delta feed for polling agents.
API reference
Rendered live from the OpenAPI spec: every endpoint grouped by tag, with parameters and responses. Expand a row for details.
Rate limits and tiers
Kresmion is in a free beta and billing is not switched on. Every registered account can self-serve an API key, and the API, the MCP server, the SDK and the Excel add-in all run on that key at no charge. Requests over the per-minute limit get a 429 with a Retry-After header telling you how long to wait; the monthly quota resets each calendar month.
| Tier | Monthly calls | Rate limit | Over limit | Access |
|---|---|---|---|---|
| Free beta (registered) | 10,000 | 120 req / min | 429 + Retry-After | Self-serve key, today |
| Developer (planned) | 50,000 | 600 req / min | 429 + Retry-After | When billing opens |
| Business | By agreement | By agreement | 429 + Retry-After | Contact us |
When paid plans open, programmatic access (the API and the MCP server) belongs to the Developer plan on the pricing page, planned at EUR 80 a month excluding VAT, with five times the free limits shown in this table. Nothing is charged during the beta. Need more today? Email inquiry@kresmion.com.
A key is for reading data. A request made with a key using a write method (POST, PUT, DELETE) is refused with a 403, except the two POST routes that carry a query body and write nothing (the screen and the sheet evaluator); account data such as portfolios and messages needs a signed-in session. You can lock a key to specific source addresses from /settings/api-keys. An allowlisted key is rejected with a 401 when it is presented from any other address. The allowlist takes exact IPv4 and IPv6 addresses; leave it empty to accept any address. Keys are shown in full only once at creation, can be revoked at any time, and you can hold up to five active keys per account.
Attribution and caveats
Some data owners require a credit line wherever their data is shown. When they do, the response carries it in meta.attribution, and you must keep that text with the figures when you display, store, or pass them on. Two families carry it today:
- Short volume: "Source: FINRA. Reg SHO Daily Short Sale Volume data owned by FINRA."
- Sovereign spreads: the ECB source line and its free-of-charge notice, the statement that the spreads are computed by Kresmion from the published yields, the OECD and Federal Reserve H.15 citations, and the FRED notice. A spread is a calculation from published yields, not a credit rating.
meta.caveats lists the known limits of a dataset (a lag, a single venue, a withheld value) and meta.source names the upstream. MCP tools return the envelope unchanged, and the Python SDK exposes it as .meta on every result. Read the methodology for how each figure is built.
Webhooks
Subscribe to push events instead of polling. Manage up to five webhooks per account at /settings/webhooks, optionally filtered to event types and symbols. Each delivery is signed with HMAC-SHA256 over the raw body, sent as X-Kresmion-Signature: sha256=<hex>, so you can verify it came from Kresmion.
| Event | Fires when |
|---|---|
| signal.created | A new cross-asset signal fired at the top severity tier. |
| whale.transfer | A single on-chain transfer of $1,000,000 or more (self-transfer artifacts excluded). |
| prediction.repricing | A Polymarket market moved 10 percentage points or more in 24 hours. |
| prediction.resolution_imminent | A liquid Polymarket market is scheduled to close within 48 hours. |
| prediction.algo_flow | A high-confidence algorithmic-flow flag on a Polymarket market. |
| etf.flow | A new daily crypto ETF print. BTC and ETH session flow values are withheld; AUM and fund count are sent. |
| regime.change | The daily macro regime crossed into a new bucket. |
| confluence.fired | Several independent data families aligned on one symbol. |
MCP for AI agents
AI agents connect to Kresmion over the Model Context Protocol. The hosted server exposes 43 tools: 43 read data, and none writes, pays or changes state. Every tool response carries the same envelope and freshness stamp as the HTTP API, and the same key, quota, and rate limits apply. Start with kresmion_status to see how fresh each family is.
Web clients that connect by OAuth need no pasted key. Add a custom connector with the URL https://kresmion.com/api/mcp and leave the OAuth fields empty. The client discovers the Kresmion authorization server, opens the Kresmion consent page, and after you approve it while signed in, it receives a managed key with the kresmion:read scope, limited to the data API. That key appears in /settings/api-keys as an OAuth key and shares your account's quota; revoke it there to disconnect. ChatGPT connects the same way where your plan offers custom connectors.
Hosted endpoint over streamable HTTP, with your key in the header:
One line in Claude Code:
Prefer to run it yourself? The standalone stdio server carries the same 43 tools, generated from the hosted server, and calls the same HTTP API with your key from the environment. Download /sdk/kresmion_mcp.py:
Python SDK
The kresmion package wraps the /v1 API in namespaced methods (k.prediction, k.crypto, k.equities, k.macro and more) and honours Retry-After. SDK version 0.6.1 is the single-file build served here; it needs Python 3.9 or newer and requests. The PyPI package of the same name lags behind this build, so download the file:
Every result carries .as_of and .meta, which holds the caveats, source, and any attribution line you must reproduce:
Version 0.4.0 removed six methods together with their routes, because the data behind them carries no redistribution licence: prediction.consensus, prediction.divergence, prediction.options_divergence, prediction.options_divergence_history, crypto.options, and crypto.stablecoins. Later versions only add methods and parameters.
Excel add-in
The Excel add-in ships 25 worksheet functions, from =KRESMION.REGIME() and =KRESMION.CBRATE("US") to =KRESMION.YIELD("10Y"), backed by the same live data API as the on-site sheet. It works in Excel for Windows and Mac and in Excel for the web. To install it, open Insert, then Get Add-ins, then Upload My Add-in, and select the manifest at kresmion.com/excel-addin/manifest.xml. Open the Kresmion taskpane, paste your API key, and click Connect; the taskpane lists every function with an example.