API Reference
Authentication and referencePOSTAuthenticate (server-to-server)GETList currenciesGETList blockchainsGETList customer typesGETWebhook signing public key
CustomersGETGet current customerPOSTCreate customerGETGet customerPUTUpdate customerDELDelete customerGETList sub-accountsGETGet liquidity capabilitiesGETList liquidity capability valuesPOSTCreate sub-accountPOSTUpload sub-account KYC documents
AccountsPOSTCreate accountGETList accountsGETGet accountPUTUpdate accountDELDelete accountGETGet customer balancesGETGet account balanceGETGet fee configurationGETList named accounts
Deposits and withdrawalsPOSTCreate deposit orderPOSTRequest deposit refundGETList deposit ordersGETList child deposit ordersPOSTCreate withdrawal orderGETList withdrawal ordersGETList child withdrawal orders
TradePOSTCreate currency pairGETList currency pairsPUTUpdate currency pairDELDelete currency pairPOSTRequest quotePOSTRequest direct quotePUTExecute tradePOSTCreate trade orderGETList trade ordersGETList child trade ordersDELCancel trade order
Counterparties and FX paymentsPOSTCreate counterpartyGETList counterpartiesGETGet counterpartyPUTUpdate counterpartyDELDelete counterpartyGETList customer–counterparty relationsGETGet customer–counterparty relationPOSTAdd wallet to whitelistGETList whitelisted walletsDELRemove whitelisted walletPOSTCreate FX payment orderGETList FX payment ordersGETList child FX payment ordersGETGet FX payment orderGETGet FX payment order history
List trade orders
GET
Base URL: /api/v1/trade/customer/{customerId}/orderhttps://bloquo.mimicr.dev · provider: https://api.bloquo.ioReturns a paginated list of trade orders for the customer.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
customerIdinteger<int64>required
Query parameters
statusstring
Filter by order status.
PROCESSINGWaitingTreasuryCOMPLETEDFAILEDREVERTINGREVERTEDstartDatestring<date-time>
endDatestring<date-time>
pageinteger
pageSizeinteger
Responses
200Paginated list of trade orders.
statusboolean
Example: trueresultobject
Show child attributes
dataobject[]
Show child attributes
orderIdstring<uuid>
Example: "3fa85f64-5717-4562-b3fc-2c963f66afa6"customerIdinteger<int64>
Example: 42baseAccountIdinteger<int64>
Example: 10quoteAccountIdinteger<int64>
Example: 11baseCurrencystring
Example: "BRL"quoteCurrencystring
Example: "USD"sidestring
Direction of the trade from the customer's perspective. - Buy, buying the base currency (spending the quote currency). - Sell, selling the base currency (receiving the quote currency).
BuySellbaseAmountnumber | null
Example: 10000quoteAmountnumber | null
Example: 1952.32pricenumber
Example: 5.1232quotedBaseAmountnumber | null
Example: 10000quotedQuoteAmountnumber | null
Example: 1952.32quotedPricenumber
Example: 5.1232statusIdinteger
Example: 3tradeStatusobject | null
Trade status object (id + name).
customerStatusstring
Human-readable status for the customer.
"COMPLETED"spreadnumber
Example: 0.005originstring | null
expirationAtstring<date-time> | null
createdBystring | null
Example: "admin"lastUpdatedBystring
Example: "System"createdAtstring<date-time>
Example: "2024-01-15T10:30:00Z"lastUpdatedAtstring<date-time>
Example: "2024-01-15T10:31:00Z"paginationobject
Pagination metadata returned by all list endpoints.
Show child attributes
currentPageinteger
Example: 1pageSizeinteger
Example: 10totalItemsinteger
Example: 42totalPagesinteger
Example: 5messagestring | null