Skip to main content
POST
Create a quote

Authorizations

Authorization
string
header
required

Circle's API Keys are formatted in the following structure "PREFIX:ID:SECRET". All three parts are requred to make a successful request.

Body

application/json

Request body for creating an exchange quote

from
object
required

Currency and amount details for a foreign exchange transaction

to
object
required

Currency and amount details for a foreign exchange transaction

tenor
enum<string>
required

The settlement schedule for the trade

Available options:
instant,
hourly,
daily
type
enum<string>
default:tradable

The quote type. Use tradable for executable quotes or reference for indicative quotes.

Available options:
reference,
tradable
recipientAddress
string

The address that should receive taker proceeds. Required for tradable quote requests.

Example:

"0x1234567890abcdef1234567890abcdef12345678"

Response

200 - application/json

Quote created successfully

Quote for an FX transaction

id
string<uuid>

System-generated unique identifier of the resource.

Example:

"c4d1da72-111e-4d52-bdbf-2e74a2d803d5"

rate
number<double>

Exchange rate for the quote

Example:

0.915

to
object

Currency and amount details for a foreign exchange transaction

from
object

Currency and amount details for a foreign exchange transaction

createdAt
string<date-time>

Date and time when the resource was created

Example:

"2023-01-01T12:04:05Z"

expiresAt
string<date-time>

Date and time when the resource expires

Example:

"2023-01-01T12:04:05Z"

fee
string

The fee for the transaction, denominated in the 'to' currency.

Pattern: ^\d+(?:\.\d{1,6})?$
Example:

"100.00"

collateral
string

Optional collateral amount required for the quote, denominated in the 'from' currency.

Pattern: ^\d+(?:\.\d{1,6})?$
Example:

"100.00"

typedData
object

Permit2 EIP-712 typed data for signing before trade creation.