Skip to content

Sampling Markets (Cursor-Paginated)

GET /sampling-markets

Server: https://api.openfish.fun

Tags: Markets (CLOB)

This endpoint functions as a cursor-paginated variant of /markets on the CLOB server. It is designed for clients that need to walk through the full set of active markets page by page.


NameInTypeDescription
next_cursorquerystringPagination cursor. Pass the value received in the previous page’s response to fetch the next batch.

200 — A paginated envelope containing an array of CLOB market objects and a cursor for the subsequent page.

{
"data": [
{
"condition_id": "0xabc...",
"tokens": [...],
"active": true,
"closed": false,
"accepting_orders": true
}
],
"next_cursor": "LT100",
"limit": 100,
"count": 100
}

Terminal window
curl "https://api.openfish.fun/sampling-markets"
curl "https://api.openfish.fun/sampling-markets?next_cursor=LT100"