Skip to content

Trending Markets by Live Activity

GET /markets/live-activity

Server: https://api.openfish.fun

Tags: Misc

Useful for highlighting hot or trending markets. The rolling window and result count are both adjustable.


NameInTypeDefaultDescription
windowqueryinteger60Length of the rolling window in minutes (min 1, max 1440)
limitqueryinteger20Maximum number of markets to return (min 1, max 100)

200 — A JSON array of MarketActivity objects, sorted by volume descending.

[
{
"conditionId": "0xdef...",
"volume": "25000.50",
"tradeCount": 342,
"lastTradeTs": 1700000000
},
{
"conditionId": "0xabc...",
"volume": "18500.00",
"tradeCount": 215,
"lastTradeTs": 1699999500
}
]

Terminal window
curl "https://api.openfish.fun/markets/live-activity?window=30&limit=10"