Skip to main content
GET
Trade quote (estimate)

Authorizations

x-api-key
string
header
required

Headers

x-signature
string

HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Required for API-key authenticated requests (JWT/OAuth session auth is exempt).

x-timestamp
string

Request timestamp in epoch milliseconds. Required with x-signature for API-key auth. Rejected if drift exceeds 5 minutes.

Query Parameters

action
enum<string>
required
Available options:
BUY,
SELL
tokenAddress
string
required

Target token mint address

amountUsd
number
required

Amount in USD

Required range: x >= 0.01
baseTokenAddress
string

Base token mint (optional)

agentId
string

Agent id for context

Response

Quote.

success
boolean
required
Example:

true

data
object
required

Endpoint-specific payload