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"
},
"pricing": {
"overrides": {
"customer": {
"pricingModel": "spread_on_rate",
"spreadBps": 5
}
}
}
}
'{
"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",
"pricing": {
"client": {
"pricingModel": "conduitFee",
"spreadBps": 0,
"effectiveRate": 0,
"calculatedAmount": {
"asset": "USD",
"amount": "0",
"networkId": "fiat"
}
},
"customer": {
"pricingModel": "spread_on_rate",
"spreadBps": 5,
"effectiveRate": 0.997321994052,
"calculatedAmount": {
"asset": "BRL",
"amount": "996809.035227",
"networkId": "fiat"
},
"calculatedRevenue": {
"asset": "USD",
"amount": "10.0",
"networkId": "fiat"
}
}
}
}Create a new 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"
},
"pricing": {
"overrides": {
"customer": {
"pricingModel": "spread_on_rate",
"spreadBps": 5
}
}
}
}
'{
"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",
"pricing": {
"client": {
"pricingModel": "conduitFee",
"spreadBps": 0,
"effectiveRate": 0,
"calculatedAmount": {
"asset": "USD",
"amount": "0",
"networkId": "fiat"
}
},
"customer": {
"pricingModel": "spread_on_rate",
"spreadBps": 5,
"effectiveRate": 0.997321994052,
"calculatedAmount": {
"asset": "BRL",
"amount": "996809.035227",
"networkId": "fiat"
},
"calculatedRevenue": {
"asset": "USD",
"amount": "10.0",
"networkId": "fiat"
}
}
}
}Includes an API key in the HTTP headers to authenticate the client.
Includes an API secret in the HTTP headers to authenticate the client.
Show child attributes
The asset identifier. Either an ISO-4217 currency code or a stablecoin token.
USD, MXN, BRL, COP, EUR, NGN, ARS, GBP, USDT, USDC, RLUSD A positive decimal amount
"10.50"
The stablecoin asset network identifier. Required for stablecoins; omitted for fiat.
ethereum, tron, solana, polygon, base, xrpl Show child attributes
The asset identifier. Either an ISO-4217 currency code or a stablecoin token.
USD, MXN, BRL, COP, EUR, NGN, ARS, GBP, USDT, USDC, RLUSD The stablecoin asset network identifier. Required for stablecoins; omitted for fiat.
ethereum, tron, solana, polygon, base, xrpl Show child attributes
The pricing overrides to apply to this quote
Show child attributes
The customer pricing override to apply to this quote
Show child attributes
The customer ID for which to apply the pricing override using the default values defined for that customer
"cus_2ofTA13AD0xBtbEvBl20aEb1hEu"
The created object
A valid Quote ID
"quote_2ofTABULiy4F9kO7JrrZJWpcO65"
Show child attributes
The asset identifier. Either an ISO-4217 currency code or a stablecoin token.
USD, MXN, BRL, COP, EUR, NGN, ARS, GBP, USDT, USDC, RLUSD A non-negative integer amount
"0"
The stablecoin asset network identifier. Required for stablecoins; omitted for fiat.
ethereum, tron, solana, polygon, base, xrpl Show child attributes
The asset identifier. Either an ISO-4217 currency code or a stablecoin token.
USD, MXN, BRL, COP, EUR, NGN, ARS, GBP, USDT, USDC, RLUSD A non-negative integer amount
"0"
The stablecoin asset network identifier. Required for stablecoins; omitted for fiat.
ethereum, tron, solana, polygon, base, xrpl Show child attributes
Show child attributes
Show child attributes