API referenceMarkets & trades
Markets, events & trades.
Go from discovery to market-level trading activity, lifecycle lists, and analytics.
On this page
Recent market trades
GET
/markets/:slug/tradesRESTUse the slug returned by discovery to retrieve recent trades with trader classification enrichment and available profile data. This endpoint uses limit and offset query parameters.
cURL
curl --fail-with-body \
"$IMPLYRA_API_URL/markets/example-market/trades?limit=20&offset=0"slugpath · string- A market slug returned by market discovery. URL-encode it when constructing the path.
limitquery · number- The number of trades to return (maximum 100).
offsetquery · number- The number of trades to skip for offset pagination.
Market analytics
GET
/markets/:slug/analyticsRESTRetrieve aggregate analytics for a market, including available holder counts, PnL breakdown, and trader-type distribution. Some analytics fields are nullable; render missing values as unavailable.
Lifecycle lists
GET /markets/recently-startedlimit: 1–50- Active markets ordered by creation date, newest first. Default limit: 10.
GET /markets/ending-soonlimit: 1–50- Active markets ordered by end date, soonest first. Default limit: 10.
Additional market endpoints
GET /markets/:slug/holdersHolders- Paginated positions, participant classification, and optional profile enrichment.
GET /markets/:slug/volume-profileVolume- Hourly volume buckets across the market’s trading history.
GET /markets/:slug/entry-timingActivity- Volume over time and cumulative trading totals.
GET /markets/:slug/top-tradersLeaderboard- A market-specific leaderboard ranked by trading volume, with buy/sell direction.
Questions about your integration?
hello@implyra.com