Skip to main content
POST
Generate quote
v1 sunsets December 31, 2026. Migrate to v2 — see the migration guide.
Creates a new quote for a specific currency pair and amount, returning a quote ID and guaranteed rate valid for 3 seconds. Use this endpoint to:
  • Get real-time exchange rates
  • Lock in rates for trading
  • Calculate exchange amounts
  • Review applicable fees and margins
Idempotency is supported on v2 and v3 for this endpoint. v1 does not support idempotency keys — see Migration guide.

Errors

See the full v1 error reference.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

orgId
string
required

Body

application/json
amount
number
required
Example:

1000

buy
string
required
Example:

"USDC"

sell
string
required
Example:

"USD"

referencedUnit
string
required
Example:

"USDC"

quoteForSeconds
enum<number>
default:3

Requested quote expiry validity in seconds.

Available options:
3,
15,
30,
45,
60
Example:

3

Response

success

status
enum<string>
Available options:
success,
error
Example:

"success"

data
object | null
message
string
Example:

"Data fetched successfully"