Skip to main content
GET
Get trades

授权

POLY_API_KEY
string
header
必填

Your API key

POLY_ADDRESS
string
header
必填

Ethereum address associated with the API key

POLY_SIGNATURE
string
header
必填

HMAC signature of the request

POLY_PASSPHRASE
string
header
必填

API key passphrase

POLY_TIMESTAMP
string
header
必填

Unix timestamp of the request

查询参数

id
string

Trade ID to filter by specific trade

maker_address
string
必填

Maker address to filter trades

Pattern: ^0x[a-fA-F0-9]{40}$
market
string

Market (condition ID) to filter trades

Pattern: ^0x[a-fA-F0-9]{64}$
asset_id
string

Asset ID (token ID) to filter trades

before
string

Filter trades before this Unix timestamp

Pattern: ^\d+$
after
string

Filter trades after this Unix timestamp

Pattern: ^\d+$
next_cursor
string

Cursor for pagination (base64 encoded offset)

响应

Successfully retrieved trades

Paginated trades response

limit
integer
必填

Maximum number of items per page

示例:

100

next_cursor
string
必填

Cursor for next page (base64 encoded offset). "LTE=" indicates no more pages

示例:

"MTAw"

count
integer
必填

Number of items in current response

示例:

2

data
object[]
必填

Array of trades