Matching Markets: Enhanced Filtering
New query parameters and response fields for cross-platform market matching.| Change | Details |
|---|---|
| New query params | polymarket_condition_id, polymarket_market_id, match_type (exact, related, all) |
| New response fields | condition_id, market_id for Polymarket markets |
| Pairs endpoint | Now includes match_type field per pair |
Trading API
Trading API
Place orders, view positions, check balances, and redeem resolved positions on Polymarket and Kalshi.
POST /api/users/{userId}/orders— Place buy or sell ordersGET /api/users/{userId}/positions— Get current positions with PnLGET /api/users/{userId}/balance— Get available balancesPOST /api/users/{userId}/redeem— Redeem resolved positions
Schema Updates
| Endpoint | Change |
|---|---|
/v1/kalshi/markets | Added yes_subtitle and no_subtitle fields |
/v1/dflow/wallet/positions/{wallet_address} | Added yes_subtitle, no_subtitle, market_title, outcome, status, total_cost_basis, total_qty_bought, total_qty_sold, first_trade_at, last_trade_at |
Dflow Support
New Platform: Dflow
Three new endpoints for the Dflow prediction market platform.
GET /v1/dflow/trades— Trade history for a walletGET /v1/dflow/wallet/positions/{wallet_address}— Positions with cost basis and PnLGET /v1/dflow/wallet/pnl/{wallet_address}— Realized PnL history
Breaking Change: Candlesticks Response
Schema updates:CandlestickData now fully typed, CandlesticksResponse has condition_id field, new PriceData schema with dollar-formatted strings.