Documentation Index
Fetch the complete documentation index at: https://docs.ratiofx.com/llms.txt
Use this file to discover all available pages before exploring further.
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
Currency pair to quote. Supported values:
USD-IDR, USD-SGD, MYR-IDR.Trade direction.
BUY or SELL.Notional amount in the source currency.
Response 200 OK
Currency pair.
Trade direction.
Reference rate. This rate is not executable and carries no expiry.
Oracle mid-market rate.
Indicative spread in basis points.
ISO 8601 server timestamp.
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 beforeexpiry_timestamp or it will expire.
Request body
Currency pair to quote. Supported values:
USD-IDR, USD-SGD, MYR-IDR.Trade direction.
BUY or SELL.Notional amount in the source currency.
Must be
FIRM.Optional partner-side reference for reconciliation (e.g. your internal transaction ID).
Response 200 OK
Unique quote identifier. Pass this to
POST /v1/execute to settle the swap.Currency pair.
Trade direction.
Notional amount in the source currency.
Bid price.
Ask price.
Oracle mid-market rate after inventory adjustment.
Total spread in basis points.
ISO 8601 hard expiry for this quote.
Maximum executable amount for this quote. Your execution
amount must not exceed this value.Permitted trade direction under the current system state.
System state at quote time:
NORMAL, PROTECT, or RESTRICT.Routing path used:
DIRECT or EXTERNAL_RFQ.Full fee transparency for this quote.