Kalshi Event & Nested Markets Detail
Fetch CFTC-regulated Kalshi event metadata and all nested yes/no market orderbook quotes, volumes, and open interest by event_ticker.
curl -sG "https://api.agentapigate.ai/v1/prediction/kalshi/event_detail" \ --data-urlencode "event_ticker=latest_open" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# Kalshi Event & Nested Markets Detail (`prediction.kalshi.event_detail`) **found**: true · **event_ticker**: KXELONMARS-99 · **title**: Will Elon Musk visit Mars in his lifetime? · **category**: Science and Technology · **markets_count**: 1 ## markets - [1] ticker: KXELONMARS-99, title: Will Elon Musk visit Mars before Aug 1, 2099?, status: active, yes_bid: 0.1100, yes_ask: 0.1300
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:prediction.kalshi.event_detail · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| event_ticker | string | required | latest_open | Kalshi event_ticker (e.g. "KXFEDDECISION-26DEC") or "latest_open" for the top active CFTC event |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0015 / call | $0/mo · Balance never expires |
| Remote MCP Tool | prediction_kalshi_event_detail | OAuth 2.1 Hub & /mcp/finance |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 69 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 870t → 100t (-89%) | Partner credit: eligible |
More prediction.kalshi Sibling Endpoints
Query active CFTC-regulated event contracts on Kalshi with yes/no bid-ask prices, implied probabilities, contract volume, open interest, and settlement timestamps.
Browse CFTC-regulated Kalshi recurring contract series with settlement sources, categories, frequencies, and contract specification links.
Frequently Asked Questions
How do I call Kalshi Event & Nested Markets Detail (prediction.kalshi.event_detail) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/prediction/kalshi/event_detail with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool prediction_kalshi_event_detail on https://mcp.agentapigate.ai/mcp.
What does prediction.kalshi.event_detail cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.0015 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on prediction.kalshi.event_detail?
Passing ?format=md transforms the response into normalized Markdown (~100 tokens vs ~870 raw tokens, saving 89% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only finance endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["finance"], optional allowed_endpoints: ["prediction.kalshi.event_detail"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.