Skip to main content
GET
/
api
/
v0
/
swap
/
{tokenPair}
Swap Token
curl --request GET \
  --url https://jupiter.dial.to/api/v0/swap/{tokenPair}
{
  "icon": "<string>",
  "label": "<string>",
  "title": "<string>",
  "description": "<string>",
  "disabled": true
}

Path Parameters

tokenPair
string
default:SOL-Bonk
required

Token pair in format input-output. Input and output are token symbols or addresses.

Example:

"SOL-Bonk"

Response

Successful response with swap action details

icon
string
required
label
string
required
title
string
required
description
string
required
disabled
boolean
error
object