List Trades
Changed onLists trades you can access, newest first. User credentials see their own trades and those of accounts they belong to, including subaccounts; account credentials see their account and its subaccounts.
Request
- Base URLhttps://api.whop.com/api/v1
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
Query parameters
Only return trades for this account or user, prefixed biz_ or user_.
Only return trades with this status.
Only return trades of this type.
Field to sort by.
Sort direction.
Number of results to return from the start of the range.
Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.
Number of results to return from the end of the range.
Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.
Headers
Pins the request to a dated API version.
Response
trades listed
Example response
{
"data": [
{
"account_id": "biz_xxxxxxxxxxxxxx",
"amount": "25",
"created_at": "2026-01-01T12:00:00.000Z",
"external_order_id": "0x63cabad10f072c65ad84526e0c33081b",
"failure_code": "market_unavailable",
"funds_location": "wallet",
"id": "tint_xxxxxxxxxxxxxx",
"instrument_type": "perpetual",
"leverage": 10,
"market": "BTC",
"metadata": {},
"object": "trade",
"order_type": "market",
"price": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"side": "buy",
"status": "pending",
"status_detail": "partial_fill",
"step": "placing",
"trigger_price": {
"amount": "-1234.56",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"type": "order",
"updated_at": "2026-01-01T12:00:00.000Z"
}
],
"page_info": {
"start_cursor": "WyJjdXJzb3IiLDFd"
}
}Changes
- info
the security scope
crypto_wallet:trade:readwas added to the endpoint's security schemebearerAuth - info
the security scope
crypto_wallet:managewas removed from the endpoint's security schemebearerAuth
- info
- info
the security scope
crypto_wallet:trade:readwas added to the endpoint's security schemebearerAuth
1 more change in this revision
- info