Skip to main content

GET /v1/quote

Returns a reference price for a currency pair. No inventory is reserved and the rate is not executable — use this to display pricing to your users before they commit.

Query parameters

string
required
Currency pair to quote. Supported values: USD-IDR, USD-SGD, MYR-IDR.
string
required
Trade direction. BUY or SELL.
number
required
Notional amount in the source currency.

Response 200 OK

string
Currency pair.
string
Trade direction.
number
Reference rate. This rate is not executable and carries no expiry.
number
Oracle mid-market rate.
number
Indicative spread in basis points.
string
ISO 8601 server timestamp.
string
Always INDICATIVE for this endpoint.
Indicative quotes are for display purposes only. To lock a rate for execution, request a firm quote using POST /v1/firm-quote.

POST /v1/firm-quote

Returns a binding BID/ASK with hard expiry and inventory reservation. You must execute the quote before expiry_timestamp or it will expire.

Request body

string
required
Currency pair to quote. Supported values: USD-IDR, USD-SGD, MYR-IDR.
string
required
Trade direction. BUY or SELL.
number
required
Notional amount in the source currency.
string
required
Must be FIRM.
string
Optional partner-side reference for reconciliation (e.g. your internal transaction ID).

Response 200 OK

The quote expires at expiry_timestamp. You must call POST /v1/execute before that time. Expired quotes return a QUOTE_EXPIRED error.
string
Unique quote identifier. Pass this to POST /v1/execute to settle the swap.
string
Currency pair.
string
Trade direction.
number
Notional amount in the source currency.
number
Bid price.
number
Ask price.
number
Oracle mid-market rate after inventory adjustment.
number
Total spread in basis points.
string
ISO 8601 hard expiry for this quote.
number
Maximum executable amount for this quote. Your execution amount must not exceed this value.
string
Permitted trade direction under the current system state.
string
System state at quote time: NORMAL, PROTECT, or RESTRICT.
string
Routing path used: DIRECT or EXTERNAL_RFQ.
object
Full fee transparency for this quote.