Skip to main content
POST
Get token price quote

Authorizations

Authorization
string
header
required

JWT token or API key

Body

application/json
chainSlug
enum<string>
required

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

Available options:
solana,
solana-devnet,
arbitrum,
base,
base-sepolia,
avalanche,
op-bnb,
bnb,
bnb-testnet,
ethereum,
monad,
unichain,
unichain-testnet,
abstract,
polygon,
zksync,
zksync-testnet
Example:

"base-sepolia"

tokenId
string<uuid>

Token UUID (optional for new pool quotes - use poolTypeId instead)

Example:

"550e8400-e29b-41d4-a716-446655440000"

amount
number
default:1

Amount to quote (interpretation depends on direction and inputToken)

Required range: x > 0
Example:

100

direction
enum<string>
default:sell

Trade direction

Available options:
buy,
sell
Example:

"buy"

inputToken
enum<string>
default:token

Whether amount represents tokens or USDC

Available options:
token,
usdc
Example:

"usdc"

poolType
enum<string>

Pool type for new pool quotes. Use this instead of tokenId for tokens that don't exist yet. Defaults to "meme".

Available options:
meme,
startup-preseed,
test
Example:

"meme"

Response

Successful response

success
enum<boolean>
required
Available options:
true
data
object
required