跳转到主要内容
GET
Reference example

请求规范

  • 方法与路径: GET /apis/v1/polymarket/book
  • 可用状态: enabled
  • 请求 URL 模板: https://api.aisa.one/apis/v1/polymarket/book
  • token_id: query; 必填
完整 OpenAPI 定义 有效请求声明(包括认证和引用的 schema):

费用与请求规则

公开参考价格:每次成功请求 $0.012 USD。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

token_id
string
必填

Token ID (asset ID)

响应

Successfully retrieved order book

asks
object[]
必填

List of ask orders (sorted by price ascending)

asset_id
string
必填

Token ID (asset ID)

示例:

"0xabc123def456..."

bids
object[]
必填

List of bid orders (sorted by price descending)

hash
string
必填

Hash of the order book summary

示例:

"a1b2c3d4e5f6..."

last_trade_price
string
必填

Last trade price

示例:

"0.45"

market
string
必填

Market condition ID

示例:

"0x1234567890123456789012345678901234567890"

min_order_size
string
必填

Minimum order size

示例:

"1"

neg_risk
boolean
必填

Whether negative risk is enabled for this market

示例:

false

tick_size
string
必填

Minimum price increment (tick size)

示例:

"0.01"

timestamp
string
必填

Timestamp of the order book snapshot

示例:

"1234567890"