API Reference
Request direct quote
/api/v1/trade/customer/{customerId}/quote/directhttps://bloquo.mimicr.dev · provider: https://api.bloquo.ioRequests a quote directly from an internal liquidity provider, bypassing the automatic path selection. Available to Institutional customers only.
Use this when you need to negotiate directly with a specific counterparty rather than using the automated routing engine.
Authorization
Bearer token in the Authorization: Bearer <token> header. See Authentication.
Path parameters
Body
application/jsonISO 4217 code of the base currency (the currency being bought or sold).
"BRL"ISO 4217 code of the quote currency (the currency being received or spent).
"USD"ID of the account holding the base currency.
10ID of the account holding the quote currency.
11Direction 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).
BuySellAmount in the base currency. Provide either baseAmount or quoteAmount - never both. The other amount is calculated and returned in the response.
10000Amount in the quote currency. Provide either baseAmount or quoteAmount - never both. The other amount is calculated and returned in the response.
Customer ID. Inferred from the path parameter, usually not required in the body.
Optional description or reference for this quote.
"Payment to supplier"External reference ID for idempotency or reconciliation.
Responses
200Direct quote generated.
trueShow child attributes
Unique identifier for this quote (Guid). Pass to execute to lock in the rate.
"3fa85f64-5717-4562-b3fc-2c963f66afa6""BRL"10000"USD"1952.32Exchange rate offered (already includes provider spread).
5.1232Direction 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).
BuySell"2024-01-15T10:30:00Z"Quote expiration timestamp. The quote cannot be used after this time.
"2024-01-15T10:35:00Z"