List all trades per user

The endpoint retrieves a list of buy and sell trades in finished status associated with a specified user ID.

SecuritybearerAuth
Request
query Parameters
types[]
string

Trade type

Enum: "buy" "sell"
Example: types[]=buy
page_size
integer

Number of elements to be displayed on a page

Example: page_size=10
page
integer

Display page number

Example: page=1
asset_id
integer

If asset_id is provided only the trades for that specific asset will be in the response

Example: asset_id=1
header Parameters
bp-user-id
required
string <uuid>

User ID

Responses
200

List user trades

401

Unauthorized

403

Inactive account / blacklisted

422

Error

429

Too Many Requests

500

Error

503

Maintenance or Service unavailable

get/v1/trades
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "meta": {
    },
  • "links": {
    }
}