Markets API
Markets are the core entity in Relay44. Each market has a question, outcome shares (yes/no), an order book, and a lifecycle (open, trading, resolved). Markets can be internal (on-chain) or aggregated from external venues like Polymarket and Limitless.
Market listing
Browse and search markets from internal and external sources.
/v1/marketsList markets with limit, offset, and source filters
/v1/markets/{market_id}Get a single market snapshot with pricing
/v1/evm/marketsUnified feed including Polymarket, Limitless, and internal markets
/v1/evm/markets/{market_id}Market detail with on-chain state
Market creation
Create new prediction markets on-chain.
/v1/marketsCreate a new market (prepares unsigned tx)
Requires auth/v1/evm/write/markets/createPrepare a CreateMarket transaction for signing
Requires auth/v1/evm/write/markets/resolvePrepare a ResolveMarket transaction
Requires authOrder book and trades
Query order book depth and recent trade history for any market.
/v1/markets/{market_id}/orderbookOrder book with bid/ask levels
/v1/markets/{market_id}/tradesRecent trades with price and quantity
/v1/evm/markets/{market_id}/orderbookOn-chain order book with depth parameter
/v1/evm/markets/{market_id}/tradesOn-chain trade history