Get conversion rate quote

Get a real-time conversion rate quote with all fees applied.

How it works:

  1. Fetches current market rate
  2. Selects optimal LP using Weighted Round Robin algorithm
  3. Applies LP fee (reduces rate)
  4. Applies aggregator fee (reduces rate further)
  5. Returns final rate and exact receivable amount

Environment:

  • Uses sandbox nodes for sandbox API keys
  • Uses live nodes for live API keys

Rate Validity: Quotes are indicative and based on current market conditions. Actual rate at fulfillment may vary slightly due to market fluctuations.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
enum
required

Source asset to convert from

string
enum
required

Destination asset to convert to

number
required
≥ 0.01

Amount to convert in source asset units. For fiat, use major units (e.g., 100 NGN, not kobo). For crypto, use standard units (e.g., 100 USDC).

string
enum
Defaults to STELLAR

Blockchain network to quote on. The same asset pair can exist on multiple networks with different rates and fees. Defaults to STELLAR when omitted.

Allowed:
string

Optional: target a specific registered LP node to get quote from. Works for both offramp and onramp. If omitted, a node is auto-selected based on liquidity and rail support.

Headers
string
enum

Environment to use for the request. When using API keys, the environment is determined from the key prefix.

Allowed:
string

Optional platform/application identifier for tracking and analytics

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json