POST /api/v1/trades/quote

Requests an RFQ quote for the authenticated API key owner.

Headers

  • X-API-KEY string Required

    Public API key issued from the Lumetrade API key management flow.

  • X-API-SECRET string Required

    API secret paired with the public API key.

application/json

Body Required

  • fromAmount number

    How much the customer wants to send or pay. Provide either fromAmount or toAmount, not both.

  • toAmount number

    How much the customer wants to receive. Provide either toAmount or fromAmount, not both.

  • fromCurrency string

    Currency the customer is sending or paying with.

  • toCurrency string

    Currency the customer wants to receive.

  • quoteIntent string

    Use client_linked when the customer may confirm this quote. Use indicative when the customer only needs a preview price.

    Format should match the following pattern: (?i)indicative|client_linked. Values are indicative or client_linked.

Responses

  • 200 application/json

    Quote returned successfully

  • 400 application/json

    Quote request validation failed

POST /api/v1/trades/quote
curl \
 --request POST 'https://api.lumetrade.com/api/v1/trades/quote' \
 --header "Content-Type: application/json" \
 --header "X-API-KEY: string" \
 --header "X-API-SECRET: string" \
 --data '{"fromAmount":100,"fromCurrency":"USDT","toCurrency":"ZAR","quoteIntent":"client_linked"}'
Request examples
Quote by send amount
{
  "fromAmount": 100,
  "fromCurrency": "USDT",
  "toCurrency": "ZAR",
  "quoteIntent": "client_linked"
}
Quote by receive amount
{
  "toAmount": 1840,
  "fromCurrency": "USDT",
  "toCurrency": "ZAR",
  "quoteIntent": "client_linked"
}
Response examples (200)
{}
Response examples (400)
{}