/price REST API Endpoint - Metis
Please note that this method is only available for paid subscribers of Metis - Jupiter Swap API.
Solana Kit includes the ability to customize RPC methods and transports, allowing you to seamlessly integrate Quicknode Marketplace add-ons into your applications. For more information on how to use Quicknode Marketplace 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
布林值
載入中...
退貨
資料
物件
載入中...
代幣
物件
載入中...
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.02296584312}
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.02296584312}