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
}
}Get the current price quote for a token. Requires API key.
Pass inputMint to quote a non-SOL input route (e.g. USDC → token).
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
}
}Token mint address
Input token mint for non-SOL routes. Omit for SOL → token quotes.
Slippage tolerance in basis points
Input amount in lamports (default 1 SOL)