cURL
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
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 created object
A valid Quote ID
"quote_2ofTABULiy4F9kO7JrrZJWpcO65"