Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
通过 REST 读取 Solana 代币、钱包、价格、交易和盈亏数据。
https://data.solanatracker.io
x-api-key
curl "https://data.solanatracker.io/price?token=So11111111111111111111111111111111111111112" \ -H "x-api-key: YOUR_API_KEY"
const mint = "So11111111111111111111111111111111111111112"; const response = await fetch(`https://data.solanatracker.io/price?token=${mint}`, { headers: { "x-api-key": "YOUR_API_KEY" }, }); console.log(await response.json());
import requests response = requests.get( "https://data.solanatracker.io/price", params={"token": "So11111111111111111111111111111111111111112"}, headers={"x-api-key": "YOUR_API_KEY"}, ) print(response.json())
import { Client } from "@solana-tracker/data-api"; const client = new Client({ apiKey: "YOUR_API_KEY" }); const price = await client.getPrice("So11111111111111111111111111111111111111112");
此页面对您有帮助吗?