> ## Documentation Index
> Fetch the complete documentation index at: https://docs.teel.finance/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Best Fiat-to-Stablecoin Quote

> Get the best quote for converting fiat currency to a stablecoin

Returns the single best quote for converting fiat currency into a stablecoin such as USDC or USDT.

## Query parameters

<ParamField query="sourceCurrency" type="string" required>
  ISO 4217 currency code for the source fiat currency (e.g. `USD`, `EUR`).
</ParamField>

<ParamField query="cryptoTicker" type="string" required>
  The target stablecoin token symbol (e.g. `USDC`, `USDT`).
</ParamField>

<ParamField query="amount" type="number" required>
  The amount in the source fiat currency to convert.
</ParamField>

## Response

<ResponseField name="protocol" type="string">
  Opaque route token (`rt_...`) identifying the route. See [Route tokens](/api-reference/quotes/onramp-all#route-tokens).
</ResponseField>

<ResponseField name="fromCcy" type="string">
  Source fiat currency code.
</ResponseField>

<ResponseField name="toCcy" type="string">
  Target stablecoin token symbol.
</ResponseField>

<ResponseField name="fromAmount" type="number">
  Amount in the source fiat currency.
</ResponseField>

<ResponseField name="toAmount" type="number">
  Amount of stablecoin the user will receive.
</ResponseField>

<ResponseField name="exchangeRate" type="number">
  The raw exchange rate before fees.
</ResponseField>

<ResponseField name="effRate" type="number">
  The effective exchange rate after fees are applied.
</ResponseField>

<ResponseField name="fee" type="number">
  Total fee charged for the conversion.
</ResponseField>

<ResponseField name="isCryptoQuote" type="boolean">
  Whether this quote involves a crypto leg.
</ResponseField>

<ResponseField name="swapPath" type="string">
  Description of the swap path used (e.g. `USD -> USDC` or `EUR -> USDC via USD`).
</ResponseField>

<ResponseExample>
  ```json 200 theme={null}
  {
    "protocol": "rt_5Tn1bQp8w2k",
    "fromCcy": "USD",
    "toCcy": "USDC",
    "fromAmount": 1000,
    "toAmount": 998.50,
    "exchangeRate": 1.0,
    "effRate": 0.9985,
    "fee": 1.50,
    "isCryptoQuote": true,
    "swapPath": "USD -> USDC"
  }
  ```
</ResponseExample>
