Kalshi — prediction market trading via the official API

    1

    Trade Kalshi prediction markets via the official REST API: discover events and markets, read orderbooks, check balance and positions, place and cancel orders.

    Free

    1 useSecurity scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    About this skill

    This skill manages Kalshi event-contract trades through the official REST API: discover events and markets, inspect orderbooks, view balance and positions, and place and cancel orders. No bundled CLI — public endpoints need no auth, and portfolio endpoints use Kalshi's three-header request signing.

    Authentication signs timestamp + METHOD + path with RSA-PSS-SHA256 and sends KALSHI-ACCESS-KEY, KALSHI-ACCESS-TIMESTAMP, and KALSHI-ACCESS-SIGNATURE. Credentials (API key UUID and RSA private key) come from environment variables at runtime, never hardcoded or logged. KALSHI_ENV switches between the demo exchange and production, and the demo base URL makes dry runs easy.

    The economics are stated up front: prices are in cents from 1 to 99, every contract pays $1.00 if correct and $0 if wrong, and the agent must always compute and state total cost (count × price) and maximum payout before any order.

    The guardrail is absolute: before placing any order, the agent presents ticker, side (YES/NO), action (buy/sell), count, price, and total cost, and requires the user's explicit confirmation — never skipped, never batched silently. It also verifies a position exists before selling, and on 401/403 checks the signature construction (path without query string, right environment) before blaming the key.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    1 use

    Times used to date

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Requires

    GitHub
    Pages
    W3
    Schema
    Opensource

    Permissions

    Terminal / Shell
    Network Access

    Allowed Hosts

    honeypot-e6c.pages.dev
    www.w3.org
    schema.org
    github.com
    opensource.org
    raw.githubusercontent.com
    Listed1 month ago

    What's inside

    Frequently Asked Questions

    Trade Kalshi prediction markets via the official REST API: discover events and markets, read orderbooks, check balance and positions, place and cancel orders.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use Kalshi — prediction market trading via the official API on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Finance & Accounting

    Free