Skip to main content
GET
/
swap
/
sol
/
quote
/
{mint}
Get quote
curl --request GET \
  --url https://uk.raze.sh/swap/sol/quote/{mint} \
  --header 'X-API-Key: <api-key>'
{
  "success": true,
  "data": {
    "mint": "DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263",
    "avgPrice": 1.2453e-8,
    "amountIn": 1000000000,
    "amountOut": 400000000,
    "programId": "675kPX9MHTjS2zt1qfr1NYHuzeLXfQM9H24wFSUt1Mp8",
    "pool": "58oQChx4yWmvKdwLLZzBi4ChoCc2fqCUWBkwMihLYQo2",
    "timeTaken": 0.045
  }
}

Authorizations

X-API-Key
string
header
required

Path Parameters

mint
string
required

Token mint address

Query Parameters

inputMint
string

Input token mint for non-SOL routes. Omit for SOL → token quotes.

slippageBps
integer
default:500

Slippage tolerance in basis points

amount
integer
default:1000000000

Input amount in lamports (default 1 SOL)

Response

Quote retrieved

success
boolean
Example:

true

data
object

Quote result