Zum Hauptinhalt springen

/price REST API Endpoint - Swap API

Wird geladen...

Aktualisiert am
Aug 09, 2026

/price REST API Endpoint - Swap API

Please note that this method is only available for paid subscribers of Swap API.
Solana Kit includes the ability to customize RPC methods and transports, allowing you to seamlessly integrate Quicknode add-ons into your applications. For more information on how to use Quicknode add-ons with Solana Kit, check out these guides: How to Use Quicknode Add-ons using Solana Kit (Part 1) and How to Use Quicknode Add-ons using Solana Kit (Part 2)

Important: Each id included will be counted towards your request limit when using this method.

Abfrageparameter

ids
Zeichenkette
ERFORDERLICH
Wird geladen...
vsToken
Zeichenkette
Wird geladen...
restrictIntermediateTokens
boolesch
Wird geladen...
onlyDirectRoutes
boolesch
Wird geladen...

Rücksendungen

Daten
Objekt
Wird geladen...
Token
Objekt
Wird geladen...
id
Zeichenkette
Wird geladen...
mintSymbol
Zeichenkette
Wird geladen...
vsToken
Zeichenkette
Wird geladen...
vsTokenSymbol
Zeichenkette
Wird geladen...
Preis
Zahl
Wird geladen...
timeTaken
Zahl
Wird geladen...
Anfrage
Antwort
1
{
2
"data": {
3
"SOL": {
4
"id": "So11111111111111111111111111111111111111112",
5
"mintSymbol": "SOL",
6
"price": 149.98326539218897,
7
"vsToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
8
"vsTokenSymbol": "USDC"
9
}
10
},
11
"timeTaken": 0.022965843
12
}
1
{
2
"data": {
3
"SOL": {
4
"id": "So11111111111111111111111111111111111111112",
5
"mintSymbol": "SOL",
6
"price": 149.98326539218897,
7
"vsToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
8
"vsTokenSymbol": "USDC"
9
}
10
},
11
"timeTaken": 0.022965843
12
}
Hast du noch kein Konto?
Erstellen Sie Ihrenendpoint Sekundenschnelle und legen Sie los
Kostenlos loslegen