Skip to main content
GET
/
api
/
quotes
/
fiat-to-stablecoin
/
exact-output
Get Exact-Output Fiat-to-Stablecoin Quote
curl --request GET \
  --url https://api.teel.finance/api/quotes/fiat-to-stablecoin/exact-output
{
  "success": true,
  "data": {
    "protocol": "rt_5Tn1bQp",
    "fromCcy": "USD",
    "toToken": "USDC",
    "fromAmount": 1012.66,
    "toAmount": 1000.00,
    "rate": 1.0,
    "fee": 12.66
  }
}
Returns the best fiat-to-stablecoin quote that delivers an exact stablecoin amount. Teel solves for the required fiat input so the destination wallet receives exactly target_amount of the stablecoin.

Query Parameters

source_currency
string
required
ISO 4217 code for the source fiat currency (e.g. USD, EUR).
target_amount
number
required
The exact stablecoin amount to deliver (e.g. 1000 USDC).

Response

success
boolean
data
object
A single quote. toAmount equals the requested stablecoin target_amount; fromAmount is the fiat input required. The protocol field is an opaque route token (rt_...) — see Route tokens.
{
  "success": true,
  "data": {
    "protocol": "rt_5Tn1bQp",
    "fromCcy": "USD",
    "toToken": "USDC",
    "fromAmount": 1012.66,
    "toAmount": 1000.00,
    "rate": 1.0,
    "fee": 12.66
  }
}