Skip to main content
POST
Get token price quote

Authorizations

Authorization
string
header
required

JWT token or API key

Body

application/json
tokenId
string<uuid>
required

Token UUID

Example:

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

chainSlug
enum<string>
required

Blockchain identifier. Supported chains: solana-devnet, base, base-sepolia, avalanche, bnb, bnb-testnet, unichain, unichain-testnet, abstract, polygon, zkSync, zkSync-testnet

Available options:
solana-devnet,
base,
base-sepolia,
avalanche,
bnb,
bnb-testnet,
unichain,
unichain-testnet,
abstract,
polygon,
zkSync,
zkSync-testnet
Example:

"base-sepolia"

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"

Response

Successful response

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