cURL
trade
Post apigridv1tradequote
POST
cURL
Documentation Index
Fetch the complete documentation index at: https://developers.squads.so/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your Grid API key from the Grid Dashboard
Headers
Solana network environment (sandbox, devnet, mainnet)
Body
application/json
Request body for the trade quote endpoint
Amount of input token in smallest units (e.g., lamports for SOL)
Required range:
x >= 0Input token mint address
Maximum slippage tolerance in basis points (e.g., 50 = 0.5%)
Required range:
x >= 0Output token mint address
The trading venue to get a quote from
Available options:
jupiter