Skip to main content
GET
/
v1
/
markets
List markets
curl --request GET \
  --url https://api.foresight.now/v1/markets
{
  "data": [
    {
      "condition_id": "<string>",
      "chain_id": 56,
      "question": "Will BTC close above $100k on Dec 31?",
      "tokens": [
        {
          "token_id": "<string>",
          "decimals": 18
        }
      ],
      "fee_rate_bps": 100,
      "created_at": "2023-11-07T05:31:56Z",
      "summary": "<string>",
      "rules": "<string>",
      "collateral_token": "<string>",
      "ctf_exchange_address": "<string>",
      "conditional_tokens_address": "<string>",
      "end_date": "2023-11-07T05:31:56Z",
      "ticker": {
        "bestBid": 0.54,
        "bestAsk": 0.55,
        "lastPrice": 0.545,
        "spread": 0.01,
        "displayPriceYES": 0.55,
        "displayPriceNO": 0.45
      }
    }
  ],
  "next_cursor": "<string>",
  "has_more": true
}

Headers

X-Language
enum<string>
default:en

Language for translated fields (summary, rules). Defaults to English.

Available options:
en,
cn

Query Parameters

chain_id
integer
required

Blockchain network id. BSC mainnet is 56.

Example:

56

status
enum<string>
default:open

Filter by market status (case-insensitive). Defaults to open.

Available options:
open,
closed,
resolved,
paused
cursor
string | null

Opaque cursor from the prior response's next_cursor.

limit
integer
default:20
Required range: 1 <= x <= 100

Response

OK

data
object[]
required
next_cursor
string | null
required
has_more
boolean
required