1
Call the activity endpoint
Send a
GET request to /v1/trader/{address}/activity with your wallet address. The endpoint returns records newest-first — pass limit=10 to start with a small, readable sample.2
Read the response
A successful response wraps results in a The key fields in each activity item are:
data object containing an items array and a nextCursor for pagination. Here is a real example showing a Buy record followed by the Redeem that closed it:3
Filter by market
Add a To filter by multiple markets at once, repeat the parameter:
marketIds query parameter to retrieve trades in a specific market only. Use the numeric market ID from any activity item’s marketId field.curl
4
Filter by time range
Pass Combine Both parameters accept Unix epoch seconds. Use
fromTimestamp to retrieve only activity on or after a specific point in time. The value must be a Unix timestamp in seconds.curl
fromTimestamp and toTimestamp to query a precise window:int(datetime.datetime(...).timestamp()) in Python or Date.now() / 1000 in JavaScript to generate values programmatically.5
Paginate through all results
When the response contains a non-null Set
nextCursor, more records are available. Pass that cursor back as the cursor query parameter on your next request. Repeat until nextCursor is null.Python
limit=100 to minimize the number of round trips — the API caps the maximum at 100 records per page.