Skip to main content
GET
/
v1
/
tokens
/
market
/
{marketId}
/
{side}
Get Token by Market
curl --request GET \
  --url https://swap-api.flux.fun/v1/tokens/market/{marketId}/{side}
{
  "name": "Bitcoin $100K by Dec 31 - YES",
  "description": "Prediction market token for Bitcoin reaching $100,000",
  "properties": {
    "decimals": 0,
    "marketId": "KXBTC-24DEC31-T100K",
    "outcome": "yes",
    "tokenId": "0x123..."
  }
}

Path Parameters

marketId
string
required

The prediction market identifier

side
string
required

Market outcome side (yes or no)

Query Parameters

exchange
string

Exchange name (default: Kalshi)

Response

200 - application/json
name
string
required

Token name

Example:

"Bitcoin $100K by Dec 31 - YES"

description
string
required

Token description

Example:

"Prediction market token for Bitcoin reaching $100,000"

properties
object
required

Extended token properties