During development, you can use the developer endpoints
without an API key. For production use, request an API key
for higher rate limits.
Use Cases
- Display global “recent fills” across all markets.
- Display market-specific fills next to orderbook and price data.
- Display wallet trade history scoped to a market or event.
- Trigger alerts for large trades using
minAmountfilters.
Set Base URL and Query Helper
Define the metadata API base URL and reusable query/output helpers.
Initialize Helpers
Initialize Helpers
Get Onchain Trades by Wallet
Scope fills to a single wallet using
/api/v1/onchain-trades with the
wallet query parameter.Pure Wallet Filter (Global Onchain Trades)
Pure Wallet Filter (Global Onchain Trades)
Get Onchain Trades Across All Markets
Scope fills across all markets using
/api/v1/onchain-trades.Fetch Global Onchain Trades
Fetch Global Onchain Trades
Get Onchain Trades by Event
Scope fills to all markets inside a single event using
/api/v1/onchain-trades/by-event/{event_ticker}.Fetch Event Onchain Trades
Fetch Event Onchain Trades
Get Onchain Trades by Market
Scope fills to a single market using
/api/v1/onchain-trades/by-market/{market_ticker}.Fetch Market Onchain Trades
Fetch Market Onchain Trades
Related Resources
Onchain Trade Parsing
How outcome-token trades land onchain and what fields the parser surfaces.
Track User Positions
Map wallet balances back to markets and outcomes.
Buy Outcome Tokens
Open a prediction market position from any input token.