Build an unsigned Jupiter swap transaction

Takes a quote_response (from POST /v2/swap-quotes) plus the user's wallet and returns a base64 VersionedTransaction for the client to sign and submit (via POST /v2/transactions). Replaces POST /v1/swap/tx.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required
^[1-9A-HJ-NP-Za-km-z]{32,44}$
string

The exact quote object returned by POST /v2/swap-quotes (or Jupiter's /quote endpoint). Passed through to Jupiter /swap unchanged.

boolean
Defaults to true
boolean
Defaults to false
string
length between 1 and 128
^[A-Za-z0-9_\-.:]+$

Optional client-supplied identifier echoed on the response. Prefer metadata for richer reconciliation.

metadata
object

Free-form string key/value bag echoed back on responses and webhook events.

Headers
string
length between 1 and 128

Optional client-supplied request ID, echoed in X-Request-Id response header.

string
length between 1 and 255

Client-supplied key (UUID v4 recommended) for safe write retries. Server stores (key, request_hash, response) and replays. Reusing with a different body returns 409 idempotency_conflict.

Responses

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json