ResearchSkybitOpen app

How do I handle prediction market API limits without losing cancellation capacity?

By Skybit Research · Published
Sources verified Nov 18, 2026.

Reserve cancel capacity per venue and bucket, not per strategy. On Kalshi, writes share order and cancel tokens, so budget token reserves for cancels and cap resting-order token cost below Write capacity. On Polymarket, cancels have a separate bucket, but batch cancels and cancel-all can exhaust or debt it. Monitor headers, preflight batch costs, split oversized batches, and confirm warning-mode status.

Map buckets and routing before you size anything

Start with venue-specific accounting, not a single “API budget.” Kalshi gives each account independent Read and Write token budgets; Write covers order placement, amends, decreases and cancels, and REST and FIX draw the same buckets. A single REST write that names exchange_index >= 1 bills that shard’s Write bucket, auto-routed traffic bills every shard’s Write bucket, and batch REST writes always bill the unscoped Write bucket.

Polymarket international’s CLOB is different: each signer gets an order bucket and a cancel bucket, and activity in one does not consume the other. Single orders and single cancels cost 1 token; batch orders cost the number of orders, batch cancels cost the number of submitted order IDs. Under live enforcement, a batch is admitted only if the bucket can pay for every entry; otherwise the whole request is rejected. The docs describe a warning period beginning July 24, 2026, but do not state whether live enforcement has begun.

Sources: [1] [2]

Reserve cancellation capacity, not just order capacity

On Kalshi, cancellation capacity is Write capacity. Because creates, amends and cancels share Write, a burst of order creation can leave no tokens for the cancel that withdraws the resting book. Reserve Write tokens explicitly: estimate cancel cost at 2 tokens per order for batch cancels, and cap resting-order token exposure so planned cancels fit after a burst. Kalshi’s Write bucket above Basic holds three seconds of budget; a Premier Write bucket refills at 1,200 tokens/s and holds 3,600, so a 10-token order sustains 120 orders/s after the burst.

On Polymarket, order flow does not drain the cancel bucket, but cancel operations can still lose capacity. DELETE /cancel-all costs 1 plus the number of orders canceled; on tiers that allow a negative cancel balance, the post-result debit can put the bucket into debt and block future cancels. Under live enforcement, batch cancels are all-or-nothing and a batch whose token cost exceeds burst capacity can never be admitted, so split it. In warning mode, requests still process and a warning header flags would-be rejections.

Sources: [1] [2]

Worked example: separate budgets with synthetic numbers

Assume a synthetic desk on Kalshi Premier: Write refill 1,200 tokens/s, capacity 3,600, order create 10 tokens, batch-cancel cost 2 tokens/order. It wants 200 resting orders. Creating them costs 2,000 tokens, leaving 1,600; batch-canceling all 200 costs 400, leaving 1,200. If the desk caps creates at 2,000 tokens and never spends the last 1,200 on orders, the cancel still fits after a burst. This is a planning example, not a venue guarantee.

Now assume 80 resting Polymarket Standard orders. A batch cancel of 80 IDs costs 80 cancel tokens; Standard’s cancel burst is 120, leaving 40. Under live enforcement, a 130-order batch costs 130, exceeds the 120 burst, and cannot be admitted whole. Split into 80 and 50: the first leaves 40, so wait for 10 tokens at 80 tokens/s (about 0.125 seconds) before the second, or cancel largest-risk IDs first. The order bucket’s 60-token burst does not fund this cancel, but it constrains rebuilding the book.

Sources: [1] [2]

Operational checklist and failure cases

Read the rate-limit headers on every covered response. Kalshi returns X-RateLimit-Limit, Remaining, Reset and Cost for the charged bucket; 429s carry them but no Retry-After, so use exponential backoff. Polymarket returns Poly-RateLimit-Remaining, Reset and Tier; 429s carry Retry-After when the request fits within burst. Preflight every batch against remaining tokens, and never retry an oversized batch unchanged. In warning mode, treat Poly-RateLimit-Warning: true as a live-rejection signal; the supplied docs do not state whether live enforcement has begun.

Failure cases: an auto-routed Kalshi order drains every shard’s Write bucket; under live enforcement, a batch cancel is rejected whole if one token is short; a Polymarket cancel-all can create negative cancel balance; and cached Kalshi market-data responses omit rate-limit headers. Keep a cancel-only reserve, alert when Remaining falls below the largest planned cancel, and test the plan in warning mode before Polymarket live enforcement. Cancels remove resting orders, not filled positions or outcome exposure.

Sources: [1] [2]

Separate read/order/cancel budget planning example (reserve figures hypothetical)
Bucket / requestToken rulePlanning reserve (hypothetical)
Kalshi ReadDefault GET cost 10 tokens; separate from WriteCap polling; keep Read for reconciliation
Kalshi WriteOrders, amends, cancels share Write; batch cancel 2/orderReserve cancel tokens; cap resting-order token cost
Polymarket order bucketSingle order 1; batch = number of ordersDo not fund order bursts from cancel reserve
Polymarket cancel bucketSingle cancel 1; batch = IDs; cancel-all 1 + canceledKeep cancel burst above largest planned batch; pace splits

Assumptions and scope

  • Scope is the Kalshi Predictions API and the Polymarket international CLOB; Polymarket US API rate limits are not assessed from the supplied evidence.
  • Synthetic numbers illustrate planning only; verify current tier, endpoint costs, bucket sizes and headers before deployment.
  • Cancellation capacity is distinct from settlement capacity: cancels remove resting orders but do not close filled positions or eliminate their outcome exposure.

Sources and verification

  1. Kalshi API rate limits
    Source checked Nov 18, 2026.
  2. Polymarket trading rate limits
    Source checked Nov 18, 2026.

Prepared by Skybit Research with AI assistance and automated source checks. Examples and assumptions are identified in the article. No human reviewer is implied. Check the exact contract and current venue documentation before applying a method.