For the complete documentation index, see llms.txt. This page is also available as Markdown.

Quote Price

Get a price-only quote via REST without transaction data.

Returns a price quote without instructions or transaction data. Use it when you need to display prices without the overhead of building executable transactions. The Gateway equivalent of GetSwapPrice.

GET /api/v1/quote/price

AuthenticationAuthorization: Bearer <token> header or ?auth=<token> query param. See Connection & Negotiation for JWT details.


Query parameters

Required

  • inputMint — Input token mint address (base58).

  • outputMint — Output token mint address (base58).

  • amount — Amount in the smallest unit (e.g. lamports for SOL). Not scaled by decimals.

Routing options

  • dexes — Comma-separated venue labels to include. See GetVenues for valid labels.

  • excludeDexes — Comma-separated venue labels to exclude.

This endpoint does not accept userPublicKey, feeAccount, or any transaction-related parameters. To get executable swap data, use Quote Swap.


Response

The response body is MessagePack-encoded. Set Accept: application/vnd.msgpack in your request headers.

The response is a SwapPrice object — the same type returned by the Titan Direct GetSwapPrice RPC method. See GetSwapPrice for the full type definition.


Example


Error responses

  • 400Invalid parameters. Malformed pubkey, missing required field, or value out of bounds.

  • 401Missing or invalid authentication token. Check your JWT and its claims.

  • 404No routes found for this swap pair. Try relaxing routing constraints.


  • Quote Swap — Full quote with executable transaction instructions, ready to sign and send

  • GetSwapPrice — Direct (WebSocket) equivalent; returns the same SwapPrice type

  • Configure Routing — Venue filtering strategies using dexes and excludeDexes

Last updated