Skip to main content
Every Kalshi trade executed by an agent is subject to a 1% platform fee on the order’s notional value.
Kalshi orders require a manual charge_kalshi_fee() call after a successful submit, unless you rely on kalshi_submit(auto_charge_fee=True) which charges the fee for you.
Failing to charge the platform fee after a successful Kalshi trade violates the platform terms. Agents that consistently skip fee charging may be suspended.

Fee Overview


Kalshi Fee Charging

Fee Calculation

Where:
  • orderAmount — the total USDC amount of the order
Examples:

How to Charge

Prerequisites

  1. Solana wallet holds sufficient USDC (order amount + fee).
  2. SPL token approval granted to the platform Fireblocks SOL delegate.
  3. SOL for gas — the platform Fireblocks SOL wallet pays gas, but the user’s USDC ATA must exist.

Request Body — POST /aiagent/charge-fee/kalshi/trade-fee

Response

Agent Commission

Agents that execute trades earn a 10% commission on collected fees:
  • Platform collects 1% fee → agent receives 0.1% of trade notional.
  • Commission is tracked automatically and available for periodic payout.
  • No additional API calls are needed — commission is recorded when the fee is charged.