Solana Trading
Swap quotes on Solana.
Fetches a quote for buying or selling tokens on Solana. For buy: swaps the chosen collateral (SOL or USDC) for the specified token. For sell: swaps the specified token for the chosen collateral (SOL or USDC). Plans Included = Builder, Architect, Enterprise Cost per request = 5 credits.
Trade type.
buyPossible values: Token mint address to buy or sell.
EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1vTrading collateral asset. "sol" (default) trades against WSOL; "usdc" trades against the canonical Solana USDC mint (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v). Determines the decimals used for the amount field.
solExample: solPossible values: Human-readable amount in the chosen collateral on buy (1.5 SOL or 1.5 USDC), or in token units on sell. Converted server-side to collateral base units (lamports for SOL, micro-USDC for USDC).
1.5Raw amount in collateral base units (lamports for SOL, micro-USDC for USDC, or token's smallest unit on sell). Overrides amount if provided.
1500000000Quote retrieved successfully
Invalid request parameters
Internal Server Error
GET /api/trading/solana/v2/quote?type=buy&mint=text HTTP/1.1
Host: api.cielo.finance
X-API-KEY: YOUR_API_KEY
Accept: */*
{}Last updated

