Get a price quote for buying or selling tokens. Automatically uses the appropriate protocol:
Supports flexible quoting:
Returns input/output amounts, protocol used, and graduation status.
JWT token or API key
Token UUID
"550e8400-e29b-41d4-a716-446655440000"
Blockchain identifier. Supported chains: solana-devnet, base, base-sepolia, avalanche, bnb, bnb-testnet, unichain, unichain-testnet, abstract, polygon, zkSync, zkSync-testnet
solana-devnet, base, base-sepolia, avalanche, bnb, bnb-testnet, unichain, unichain-testnet, abstract, polygon, zkSync, zkSync-testnet "base-sepolia"
Amount to quote (interpretation depends on direction and inputToken)
x > 0100
Trade direction
buy, sell "buy"
Whether amount represents tokens or USDC
token, usdc "usdc"