Skip to main content
POST
Request Quote

Authorizations

X-API-Key
string
header
required

Includes an API key in the HTTP headers to authenticate the client.

X-API-Secret
string
header
required

Includes an API secret in the HTTP headers to authenticate the client.

Body

application/json
source_currency
enum<string>
required

Source Currency

Available options:
USDT,
USDC,
USD
Pattern: USDT|USDC|USD
Example:

"USDT"

target_currency
enum<string>
required

Target Currency

Available options:
USDT,
USDC,
USD
Pattern: USDT|USDC|USD
Example:

"USDT"

source_network
enum<string>

Source Network

Available options:
ETH,
TRX
Pattern: ETH|TRX
Example:

"ETH"

target_network
enum<string>

Target Network

Available options:
ETH,
TRX
Pattern: ETH|TRX
Example:

"ETH"

source_amount
number

Source Amount

Required range: 0.01 < x < 100000000
Example:

99.99

target_amount
number

Target Amount

Required range: 0.01 < x < 100000000
Example:

99.99

Response

Operation Successful

Exchange Records Response

quote_id
string

Quote ID

Example:

"quote_f91fafe4b4fb463c8d0b04a90fece464"

valid_from
string<date-time>

Exchange valid from time

source_currency
enum<string>

Source currency code

Available options:
USDT,
USDC,
USD
Example:

"USDT"

source_network
enum<string>

Source currency network

Available options:
ETH,
TRX
Example:

"ETH"

target_currency
enum<string>

Target currency code

Available options:
USDT,
USDC,
USD
Example:

"USDC"

target_network
enum<string>

Target currency network

Available options:
ETH,
TRX
Example:

"TRX"

source_amount
number

Source exchange amount

Example:

1000

exchange_rate
number

Exchange rate between source and target currency

Example:

1.005

target_amount
number

Target exchange amount

Example:

995

valid_to
string<date-time>

Quote expiration time

remaining_seconds
integer<int64>

Remaining seconds before expiration

Example:

180