跳转至主要内容

/price REST API Endpoint - Swap API

正在加载...

更新于
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.

查询参数

ids
字符串
必填
正在加载...
vsToken
字符串
正在加载...
restrictIntermediateTokens
布尔型
正在加载...
onlyDirectRoutes
布尔型
正在加载...

退货

数据
对象
正在加载...
token
对象
正在加载...
id
字符串
正在加载...
mintSymbol
字符串
正在加载...
vsToken
字符串
正在加载...
vsTokenSymbol
字符串
正在加载...
价格
数字
正在加载...
timeTaken
数字
正在加载...
请求
回复
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
}
还没有账号吗?
endpoint 几秒钟endpoint 创建您的Quicknode endpoint ,并开始构建
免费开始使用