Skip to main content
Get Market Sparklines
curl --request POST \
  --url https://synthesis.trade/api/v1/markets/sparklines \
  --header 'Content-Type: application/json' \
  --data '
{
  "markets": [
    "12345",
    "KXBTC-25-T100000:Yes"
  ]
}
'
{
  "success": true,
  "response": {
    "12345": [
      0.41,
      0.44,
      0.48
    ],
    "KXBTC-25-T100000:Yes": [
      0.52,
      0.54,
      0.58
    ]
  }
}

Body

application/json
markets
string[]
required

JSON array body. Accepts both Polymarket token IDs and Kalshi market IDs. Kalshi inputs may be market_id or market_id:Yes / market_id:No; if no outcome is supplied, it defaults to Yes.

Example:
["12345", "KXBTC-25-T100000:Yes"]

Response

200 - application/json

Sparkline history by market identifier