Trade quote (estimate)
AI
Trade quote (estimate)
Mirrors GraphQL getTradeQuote.
GET
Trade quote (estimate)
Authorizations
Headers
HMAC-SHA256 signature: HMAC-SHA256(secretKey, timestamp + METHOD + path + body). Required for API-key authenticated requests (JWT/OAuth session auth is exempt).
Request timestamp in epoch milliseconds. Required with x-signature for API-key auth. Rejected if drift exceeds 5 minutes.
Query Parameters
Available options:
BUY, SELL Target token mint address
Amount in USD
Required range:
x >= 0.01Base token mint (optional)
Agent id for context