跳转到主要内容
POST
Post multiple orders

请求规范

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

费用与请求规则

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

授权

Authorization
string
header
必填

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

请求体

application/json
Maximum array length: 15
order
object
必填

Order payload submitted to the CLOB API. In CLOB V2, expiration remains in the POST /order wire body for GTD/order-expiry handling, but it is not part of the EIP-712 signed order struct.

owner
string
必填

UUID of the API key owner

示例:

"f4f247b7-4ac7-ff29-a152-04fda0a8755a"

deferExec
boolean
默认值:false

Whether to defer execution

orderType
enum<string>
默认值:GTC

Time in force

可用选项:
GTC,
FOK,
GTD,
FAK
postOnly
boolean
默认值:false

Whether the order must rest on the book and not match immediately. Only supported for GTC and GTD orders.

响应

Orders successfully processed. Returns an array of order responses, one for each order in the request.

orderID
string
必填

Unique identifier for the order (order hash)

示例:

"0xabcdef1234567890abcdef1234567890abcdef12"

status
enum<string>
必填

Status of the order after processing

可用选项:
live,
matched,
delayed
success
boolean
必填

Whether the order was successfully processed

示例:

true

errorMsg
string

Error message (empty on success)

示例:

""

makingAmount
string

Amount the maker is providing in fixed-math with 6 decimals

示例:

"100000000"

takingAmount
string

Amount the taker is providing in fixed-math with 6 decimals

示例:

"200000000"

tradeIDs
string[]

Array of trade IDs (present when status is 'matched')

transactionsHashes
string[]

Array of transaction hashes (present when status is 'matched')

示例: