Skip to main content
POST
/
api
/
swap
/
quote
curl -X POST 'https://crypto-api.yativo.com/api/swap/quote' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "from_chain": "solana",
    "from_ticker": "USDC_SOL",
    "to_chain": "ethereum",
    "to_ticker": "USDC_ETH",
    "amount": "500.00",
    "from_address": "7nZ9X4mQkLpR3sVwC8tF2bG6hJ5nM1yK",
    "to_address": "0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b"
  }'
{
  "status": "success",
  "message": "Quote generated successfully",
  "data": {
    "quote_id": "qte_01HX9KZMB3F7VNQP8R2WDGT4EG",
    "from_chain": "solana",
    "from_ticker": "USDC_SOL",
    "to_chain": "ethereum",
    "to_ticker": "USDC_ETH",
    "from_amount": "500.00",
    "to_amount": "497.25",
    "exchange_rate": "0.9945",
    "fee": "2.75",
    "fee_usd": "2.75",
    "slippage_percent": "0.5",
    "expires_at": "2026-03-26T12:05:00Z",
    "estimated_time_seconds": 60
  }
}
Authorization
string
required
Bearer token: Bearer YOUR_ACCESS_TOKEN
from_chain
string
required
The source blockchain network, e.g. solana, ethereum.
from_ticker
string
required
The source token ticker symbol, e.g. USDC_SOL, ETH.
to_chain
string
required
The destination blockchain network, e.g. ethereum, polygon.
to_ticker
string
required
The destination token ticker symbol, e.g. USDC_ETH, MATIC.
amount
string
required
The amount to swap in the source token’s native units, e.g. "100.00".
from_address
string
required
The source wallet address sending the funds.
to_address
string
required
The destination wallet address to receive the swapped funds.
curl -X POST 'https://crypto-api.yativo.com/api/swap/quote' \
  -H 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
    "from_chain": "solana",
    "from_ticker": "USDC_SOL",
    "to_chain": "ethereum",
    "to_ticker": "USDC_ETH",
    "amount": "500.00",
    "from_address": "7nZ9X4mQkLpR3sVwC8tF2bG6hJ5nM1yK",
    "to_address": "0x1a2b3c4d5e6f7a8b9c0d1e2f3a4b5c6d7e8f9a0b"
  }'
{
  "status": "success",
  "message": "Quote generated successfully",
  "data": {
    "quote_id": "qte_01HX9KZMB3F7VNQP8R2WDGT4EG",
    "from_chain": "solana",
    "from_ticker": "USDC_SOL",
    "to_chain": "ethereum",
    "to_ticker": "USDC_ETH",
    "from_amount": "500.00",
    "to_amount": "497.25",
    "exchange_rate": "0.9945",
    "fee": "2.75",
    "fee_usd": "2.75",
    "slippage_percent": "0.5",
    "expires_at": "2026-03-26T12:05:00Z",
    "estimated_time_seconds": 60
  }
}