The Trades endpoints allow efficient currency exchange operations on the platform, including quote requests, trade confirmations, and trade history listing.
POST Request QuoteRequest a quote for currency exchange based on specified base/quote currencies, accounts, and trade direction.
Endpoint:
POST /trade/customer//quoteRequired fields:
CustomerId
BaseCurrency / QuoteCurrency
BaseAccountId / QuoteAccountId
Side (buy/sell)
BaseAmount or QuoteAmount
π Link to full request example
PUT Accept QuoteConfirm and execute a trade based on a previously generated quote.
Endpoint:
PUT /trade/customer//execute/:quoteOrderπ Link to full request example
GET List TradesRetrieve full trade history with optional filters like currency pair, status, amount, and account.
Endpoint:
GET /trade/customer//orderπ Link to full request example
1. Do I need authentication to use trade endpoints?
Yes. All trade endpoints require a Bearer Token generated via authentication.
2. How do I know if the quote is still valid?
Check the
expireAtfield in the quote response.
3. Can I input the quote amount instead of the base amount?
Yes. You can specify either
BaseAmountorQuoteAmount, but not both.
4. What happens after accepting the quote?
The trade is executed and confirmed in real-time.
5. Can I review past trade orders?
Yes. Use the List Trades endpoint and apply filters as needed.
Ready to trade securely and efficiently using the Bloquo API? Use these endpoints to execute your currency exchange operations with confidence.