Skip to main content
POST
/
quotes
Create a quote
curl --request POST \
  --url https://api.conduit.financial/quotes \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --header 'X-API-Secret: <api-key>' \
  --data '{
  "source": {
    "amount": "1400.00",
    "asset": "USD"
  },
  "target": {
    "asset": "USDT",
    "network": "tron"
  }
}'
{
  "id": "quote_2fvietuCNSu8unMNLsEGBrDTVFn",
  "source": {
    "amount": "1400.00",
    "asset": "USD"
  },
  "target": {
    "amount": "1400.120000",
    "asset": "USDT",
    "network": "tron"
  },
  "createdAt": "2024-10-27T00:00:00.000Z",
  "expiresAt": "2024-10-27T00:03:00.000Z"
}

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-Based Quote Request
  • Target-Based Quote Request
source
object
required
target
object
required

Response

The created object

id
string
required

A valid Quote ID

Example:

"quote_2ofTABULiy4F9kO7JrrZJWpcO65"

source
object
required
target
object
required
createdAt
string<date-time>
required
expiresAt
string<date-time>
required
I