Skip to main content
GET
Reference example

Request contract

  • Method and path: GET /apis/v1/polymarket/builder/trades
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/polymarket/builder/trades
  • after: query; optional
  • asset_id: query; optional
  • before: query; optional
  • builder_code: query; required
  • id: query; optional
  • market: query; optional
  • next_cursor: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Published reference price: $0.012 USD per successful request. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

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

Query Parameters

after
string

Filter trades after this Unix timestamp

Pattern: ^\d+$
asset_id
string

Asset ID (token ID) to filter trades

before
string

Filter trades before this Unix timestamp

Pattern: ^\d+$
builder_code
string
required

Builder code to fetch attributed trades for

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

Trade ID to filter by specific trade

market
string

Market (condition ID) to filter trades

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

Cursor for pagination (base64 encoded offset)

Response

Successfully retrieved builder trades

Paginated builder trades response

count
integer
required

Number of items in current response

Example:

2

data
object[]
required

Array of builder trades

limit
integer
required

Maximum number of items per page

Example:

300

next_cursor
string
required

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

Example:

"MzAw"