Get token price quote
Get a price quote for buying or selling tokens. Automatically uses the appropriate protocol:
- Token Layer BondingCurve for non-graduated tokens
- UniswapV3 for graduated tokens
Supports flexible quoting:
- Specify amount in tokens or USDC
- Buy or sell direction
- Handles new token initial fee ($5 minimum)
Fee Structure:
- Quotes automatically include anti-sniping fees for the first 6 seconds (equivalent in blocks)
- Anti-sniping fees start at 80% and decrease linearly to 1% over the first 6 seconds worth of blocks
- This applies to initial purchases and all early trading activity
- All returned quotes reflect the true cost including applicable fees
Returns input/output amounts, protocol used, and graduation status.
Authorizations
JWT token or API key
Body
Blockchain identifier. Supported chains: solana, solana-devnet, arbitrum, base, base-sepolia, avalanche, op-bnb, bnb, bnb-testnet, ethereum, monad, unichain, unichain-testnet, abstract, polygon, zksync, zksync-testnet
solana, solana-devnet, arbitrum, base, base-sepolia, avalanche, op-bnb, bnb, bnb-testnet, ethereum, monad, unichain, unichain-testnet, abstract, polygon, zksync, zksync-testnet "base-sepolia"
Token UUID (optional for new pool quotes - use poolTypeId instead)
"550e8400-e29b-41d4-a716-446655440000"
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"
Pool type for new pool quotes. Use this instead of tokenId for tokens that don't exist yet. Defaults to "meme".
meme, startup-preseed, test "meme"
