API 参考事件

5 分钟涨跌视图

GET/api/v1/px/updown公开

PX 发现与账户一律 E6 十进制字符串A | B

五分钟涨跌。rounds 下有 previous / current / next,槽位可能为空。 锚价未定时不要用 0 代替。下单仍走交易接口。

查询参数

  • seriesstringquery可选

    系列 id,如 btc-up-down-5m

响应

200涨跌视图
  • seriesstring

    当前系列 id

  • seriesListstring[]

    可切换的 active 系列 id

  • serverTimeMsstring

    服务端时钟,毫秒字符串

  • windowMsstring

    一轮窗口长度,毫秒字符串(5 分钟 = 300000)

  • roundsobject
  • previousobject可为空

    上一轮;没有则为 null

  • marketIdstring

    引擎市场 id

    示例"mkt-0001"

  • eventIdstring

    所属事件

    示例"event_01K5H2M3N7"

  • questionstring

    市场问题

    示例"Will BTC clos…c 31, 2026?"

  • slugstring

    市场 slug

    示例"btc-above-120k-2026-12-31"

  • groupItemTitlestring可为空

    组内短标题

  • outcomeALabelstring

    YES 侧展示文案

  • outcomeBLabelstring

    NO 侧展示文案

  • statusstring

    目录侧市场状态

  • resolutionstring可为空

    裁决结果

  • priceTickE6string可为空

    档位,E6 字符串

  • minOrderSizeE6string可为空

    最小下单量,E6 字符串

  • outcomeAPriceE6string可为空

    YES 侧最新价,E6 字符串

  • outcomeBPriceE6string可为空

    NO 侧最新价,E6 字符串

  • volume24hUsdE6string可为空

    24h 成交额,E6 字符串

  • volumeUsdE6string可为空

    累计成交额,E6 字符串

  • liquidityUsdE6string可为空

    盘口流动性,E6 字符串

  • endDateMsstring可为空

    截止毫秒字符串

  • hasBooksboolean

    是否已有盘口

    示例false

  • iconUrlstring可为空

    图标 URL

  • oneDayPriceChangestring可为空

    24h 涨跌展示字符串

  • roundStartMsstring

    本轮开盘毫秒字符串

  • roundEndMsstring

    本轮收盘毫秒字符串

  • openPriceE8string可为空

    开盘锚价(Pyth e8 字符串);就是上一轮的 closePriceE8

  • closePriceE8string可为空

    收盘锚价(Pyth e8 字符串)

  • anchorPendingboolean

    true = 锚价未封,必须展示待定,禁止用 0 或上一轮数冒充

    示例false

  • currentobject可为空

    当前轮;没有则为 null

  • marketIdstring

    引擎市场 id

    示例"mkt-0001"

  • eventIdstring

    所属事件

    示例"event_01K5H2M3N7"

  • questionstring

    市场问题

    示例"Will BTC clos…c 31, 2026?"

  • slugstring

    市场 slug

    示例"btc-above-120k-2026-12-31"

  • groupItemTitlestring可为空

    组内短标题

  • outcomeALabelstring

    YES 侧展示文案

  • outcomeBLabelstring

    NO 侧展示文案

  • statusstring

    目录侧市场状态

  • resolutionstring可为空

    裁决结果

  • priceTickE6string可为空

    档位,E6 字符串

  • minOrderSizeE6string可为空

    最小下单量,E6 字符串

  • outcomeAPriceE6string可为空

    YES 侧最新价,E6 字符串

  • outcomeBPriceE6string可为空

    NO 侧最新价,E6 字符串

  • volume24hUsdE6string可为空

    24h 成交额,E6 字符串

  • volumeUsdE6string可为空

    累计成交额,E6 字符串

  • liquidityUsdE6string可为空

    盘口流动性,E6 字符串

  • endDateMsstring可为空

    截止毫秒字符串

  • hasBooksboolean

    是否已有盘口

    示例false

  • iconUrlstring可为空

    图标 URL

  • oneDayPriceChangestring可为空

    24h 涨跌展示字符串

  • roundStartMsstring

    本轮开盘毫秒字符串

  • roundEndMsstring

    本轮收盘毫秒字符串

  • openPriceE8string可为空

    开盘锚价(Pyth e8 字符串);就是上一轮的 closePriceE8

  • closePriceE8string可为空

    收盘锚价(Pyth e8 字符串)

  • anchorPendingboolean

    true = 锚价未封,必须展示待定,禁止用 0 或上一轮数冒充

    示例false

  • nextobject可为空

    已预开的下一轮;没有则为 null

  • marketIdstring

    引擎市场 id

    示例"mkt-0001"

  • eventIdstring

    所属事件

    示例"event_01K5H2M3N7"

  • questionstring

    市场问题

    示例"Will BTC clos…c 31, 2026?"

  • slugstring

    市场 slug

    示例"btc-above-120k-2026-12-31"

  • groupItemTitlestring可为空

    组内短标题

  • outcomeALabelstring

    YES 侧展示文案

  • outcomeBLabelstring

    NO 侧展示文案

  • statusstring

    目录侧市场状态

  • resolutionstring可为空

    裁决结果

  • priceTickE6string可为空

    档位,E6 字符串

  • minOrderSizeE6string可为空

    最小下单量,E6 字符串

  • outcomeAPriceE6string可为空

    YES 侧最新价,E6 字符串

  • outcomeBPriceE6string可为空

    NO 侧最新价,E6 字符串

  • volume24hUsdE6string可为空

    24h 成交额,E6 字符串

  • volumeUsdE6string可为空

    累计成交额,E6 字符串

  • liquidityUsdE6string可为空

    盘口流动性,E6 字符串

  • endDateMsstring可为空

    截止毫秒字符串

  • hasBooksboolean

    是否已有盘口

    示例false

  • iconUrlstring可为空

    图标 URL

  • oneDayPriceChangestring可为空

    24h 涨跌展示字符串

  • roundStartMsstring

    本轮开盘毫秒字符串

  • roundEndMsstring

    本轮收盘毫秒字符串

  • openPriceE8string可为空

    开盘锚价(Pyth e8 字符串);就是上一轮的 closePriceE8

  • closePriceE8string可为空

    收盘锚价(Pyth e8 字符串)

  • anchorPendingboolean

    true = 锚价未封,必须展示待定,禁止用 0 或上一轮数冒充

    示例false

  • historyobject(PxUpdownRound)[]

    历史轮(不含 current/next)

  • marketIdstring

    引擎市场 id

    示例"mkt-0001"

  • eventIdstring

    所属事件

    示例"event_01K5H2M3N7"

  • questionstring

    市场问题

    示例"Will BTC clos…c 31, 2026?"

  • slugstring

    市场 slug

    示例"btc-above-120k-2026-12-31"

  • groupItemTitlestring可为空

    组内短标题

  • outcomeALabelstring

    YES 侧展示文案

  • outcomeBLabelstring

    NO 侧展示文案

  • statusstring

    目录侧市场状态

  • resolutionstring可为空

    裁决结果

  • priceTickE6string可为空

    档位,E6 字符串

  • minOrderSizeE6string可为空

    最小下单量,E6 字符串

  • outcomeAPriceE6string可为空

    YES 侧最新价,E6 字符串

  • outcomeBPriceE6string可为空

    NO 侧最新价,E6 字符串

  • volume24hUsdE6string可为空

    24h 成交额,E6 字符串

  • volumeUsdE6string可为空

    累计成交额,E6 字符串

  • liquidityUsdE6string可为空

    盘口流动性,E6 字符串

  • endDateMsstring可为空

    截止毫秒字符串

  • hasBooksboolean

    是否已有盘口

    示例false

  • iconUrlstring可为空

    图标 URL

  • oneDayPriceChangestring可为空

    24h 涨跌展示字符串

  • roundStartMsstring

    本轮开盘毫秒字符串

  • roundEndMsstring

    本轮收盘毫秒字符串

  • openPriceE8string可为空

    开盘锚价(Pyth e8 字符串);就是上一轮的 closePriceE8

  • closePriceE8string可为空

    收盘锚价(Pyth e8 字符串)

  • anchorPendingboolean

    true = 锚价未封,必须展示待定,禁止用 0 或上一轮数冒充

    示例false

  • spotobject可为空

    现货快照;没有则为 null

  • symbolstring

    展示用币种,如 BTC

    示例"BTC"

  • priceTextstring

    现货展示价(如 97350.00),不是定点整数

  • tsMsstring

    报价时刻,毫秒字符串

在响应示例中切换状态码查看错误响应,完整错误码见 错误码页。