Skip to main content
GET
Get trades

Authorizations

POLY_API_KEY
string
header
required

Your API key

POLY_ADDRESS
string
header
required

Ethereum address associated with the API key

POLY_SIGNATURE
string
header
required

HMAC signature of the request

POLY_PASSPHRASE
string
header
required

API key passphrase

POLY_TIMESTAMP
string
header
required

Unix timestamp of the request

Query Parameters

id
string

Trade ID to filter by specific trade

maker_address
string
required

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)

Response

Successfully retrieved trades

Paginated trades response

limit
integer
required

Maximum number of items per page

Example:

100

next_cursor
string
required

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

Example:

"MTAw"

count
integer
required

Number of items in current response

Example:

2

data
object[]
required

Array of trades