Core

Get trades for a user or markets

get/trades

Request

  • Base URL: https://data-api.polymarket.com
  • URL: https://data-api.polymarket.com/trades
  • Auth: none declared

Query parameters

limitinteger
offsetinteger
takerOnlyboolean
filterType'CASH' | 'TOKENS'

Must be provided together with filterAmount.

filterAmountnumber

Must be provided together with filterType.

marketHash64[]

Comma-separated list of condition IDs. Mutually exclusive with eventId.

[
  "0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917"
]
eventIdinteger[]

Comma-separated list of event IDs. Mutually exclusive with market.

userstring

User Profile Address (0x-prefixed, 40 hex chars)

Example:0x56687bf447db6ffa42ffe2204a05edaa20f55839
side'BUY' | 'SELL'

Response

Success

proxyWalletstring

User Profile Address (0x-prefixed, 40 hex chars)

side'BUY' | 'SELL'
assetstring
conditionIdstring

0x-prefixed 64-hex string

sizenumber
pricenumber
timestampinteger
titlestring
slugstring
iconstring
eventSlugstring
outcomestring
outcomeIndexinteger
namestring
pseudonymstring
biostring
profileImagestring
profileImageOptimizedstring
transactionHashstring

Example response

[
  {
    "proxyWallet": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
    "conditionId": "0xdd22472e552920b8438158ea7238bfadfa4f736aa4cee91a6b86c39ead110917"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.