API Reference

Create a quote

posthttps://api.circle.com/v1/exchange/stablefx/quotes

  • Reference
  • Playground

Creates a quote for a trade between two currencies. You should provide an amount for the from parameter or the to parameter, but not for both.

Body parameters
tenor
string
Required

The settlement schedule for the trade

Allowed valuesinstanthourlydaily
to
object
Required

Currency and amount details for a foreign exchange transaction

currency
string
Required

Currency code

Allowed valuesUSDCEURC
amount
string

Amount of currency, formatted as a string with up to two decimal places.

from
object
Required

Currency and amount details for a foreign exchange transaction

currency
string
Required

Currency code

Allowed valuesUSDCEURC
amount
string

Amount of currency, formatted as a string with up to two decimal places.

Response
RequestChoose a language
ResponseChoose an example
1{
2  "id": "c4d1da72-111e-4d52-bdbf-2e74a2d803d5",
3  "rate": 0.915,
4  "to": {
5    "currency": "USDC",
6    "amount": ""
7  },
8  "from": {
9    "currency": "USDC",
10    "amount": ""
11  },
12  "timestamp": "2023-01-01T12:04:05Z",
13  "expiry": "2023-01-01T12:04:05Z",
14  "fee": {
15    "currency": "USDC",
16    "amount": ""
17  }
18}
Did this page help you?
© 2023-2025 Circle Technology Services, LLC. All rights reserved.