Skip to main content
Polymarket exposes three public API surfaces: Gamma for market metadata, Data API for trade history, and CLOB for order submission. Aomi wraps these as tools so your AI assistant can search markets, resolve user intent, and execute trades through the connected wallet.

Available Tools

The Polymarket App registers exactly six tools.
ToolDescriptionSource API
search_polymarketSearch prediction markets by keywordGamma
get_polymarket_detailsGet market metadata, volume, liquidityGamma
get_polymarket_tradesBrowse recent trades for a marketData API
resolve_polymarket_trade_intentTurn a plain English trade request into concrete order parametersCLOB
build_polymarket_orderBuild an unsigned order from resolved parametersCLOB
submit_polymarket_orderSubmit the signed order onchainCLOB
Trading is a two step flow: build_polymarket_order prepares the order, then submit_polymarket_order sends it. The order is simulated before you sign.

Example Conversations

Market research:
“What are the hottest prediction markets right now?” “Show me the recent trades on ‘BTC > $100k by June’” “What’s the volume and liquidity on that market?”
Trading:
“Buy 100 shares of ‘ETH > $4k by July’ at the current ask” “Place a limit order on ‘Fed cuts rates in June’ at 60¢“

How It Works

  1. User asks a question about prediction markets
  2. The Aomi assistant calls the appropriate Polymarket API tools
  3. For trades, the transaction is simulated before execution
  4. User reviews and signs the transaction in their wallet

Next Steps

Last modified on June 4, 2026