cURL
curl --request GET \ --url https://swap-api.flux.fun/v1/prediction-market/markets/{ticker} \ --header 'x-api-key: <api-key>'
{ "market": { "ticker": "KXBTC-24DEC31-T100K", "eventTicker": "KXBTC-24DEC31", "title": "Will Bitcoin reach $100,000 by Dec 31?", "subtitle": "Bitcoin price prediction market", "status": "open", "marketType": "binary", "yesBid": 45, "yesAsk": 47, "noBid": 53, "noAsk": 55, "lastPrice": 46, "liquidity": 50000, "rulesPrimary": "This market resolves to Yes if Bitcoin trades at or above $100,000" } }
Retrieve details for a specific prediction market by its ticker symbol, including current prices, volume, and market rules.
The market ticker symbol
Show child attributes