Back to Help Center
API & IntegrationsUpdated July 2026·5 min read

Requesting Quotes via the API

How to request and accept firm quotes programmatically, handle the validity window in code, and execute reliably from your own systems.

The quoting flow you use in the dashboard is available through the API, so you can integrate firm-price execution directly into your treasury or trading systems. The pattern mirrors the manual flow, request a quote, then accept it before it expires.

The request and accept pattern

You send a quote request specifying the pair, direction, and size, and the API returns a firm price along with a quote identifier and an expiry timestamp. To trade, you send an accept call referencing that identifier while the quote is still valid.

  • Send the pair, direction, and the size on either leg
  • Read the returned quote id and expiry timestamp
  • Accept using the quote id before expiry to lock the price
  • Handle an expired quote by requesting a fresh one

Handling expiry in code

Build your integration to treat expiry as a normal outcome. If an accept call is rejected because the quote has lapsed, request a new quote and repeat rather than retrying the stale identifier.

Using an idempotency key on your accept call protects you from accidentally booking a trade twice if a network retry occurs. This keeps automated execution safe even when connectivity is imperfect.

Still need help?

Our team is available to answer questions about onboarding, trading, and settlement. Reach out and we will get back to you quickly.