Get Trades
Retrieve trade history for a specific user.
Documentation Index
Fetch the complete documentation index at: https://docs.swaps.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key for authentication. Contact Swaps.xyz to obtain an API key.
Query Parameters
User EVM EOA address EVM address (0x prefix + 40 hex characters)
^0x[a-fA-F0-9]{40}$"0x1234567890123456789012345678901234567890"
Polymarket proxy wallet address EVM address (0x prefix + 40 hex characters)
^0x[a-fA-F0-9]{40}$"0x1234567890123456789012345678901234567890"
Response
Array of trades
User Profile Address (0x-prefixed, 40 hex chars)
^0x[a-fA-F0-9]{40}$Order side
BUY, SELL Asset token ID
Condition ID (0x-prefixed 64-hex string)
^0x[a-fA-F0-9]{64}$Trade size
Trade price
Unix timestamp
Market title
Market slug
Market icon URL
Event slug
Outcome name
Outcome index
User name
User pseudonym
User bio
User profile image URL
Optimized profile image URL
Transaction hash