Sampling Markets (Cursor-Paginated)
Endpoint
Section titled “Endpoint”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.
Request Parameters
Section titled “Request Parameters”| Name | In | Type | Description |
|---|---|---|---|
next_cursor | query | string | Pagination cursor. Pass the value received in the previous page’s response to fetch the next batch. |
Response
Section titled “Response”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}curl "https://api.openfish.fun/sampling-markets"curl "https://api.openfish.fun/sampling-markets?next_cursor=LT100"