支持 15+ 种加密货币
访问所有主流加密货币的实时价格数据
Bitcoin
BTC/USDT
The first cryptocurrency and digital store of value
Ethereum
ETH/USDT
A decentralized platform for smart contracts and DApps
Solana
SOL/USDT
A high-performance blockchain for decentralized applications
Cardano
ADA/USDT
A proof-of-stake blockchain platform focused on sustainability
Cosmos
ATOM/USDT
An ecosystem of connected blockchains
Avalanche
AVAX/USDT
A scalable smart contracts platform
Bitcoin Cash
BCH/USDT
A peer-to-peer electronic cash system
Binance Coin
BNB/USDT
Native token of the Binance ecosystem
Polkadot
DOT/USDT
A multi-chain blockchain platform enabling interoperability
Filecoin
FIL/USDT
A decentralized storage network
Chainlink
LINK/USDT
A decentralized oracle network
Litecoin
LTC/USDT
A peer-to-peer cryptocurrency and payment network
Polygon
MATIC/USDT
A layer-2 scaling solution for Ethereum
Uniswap
UNI/USDT
A decentralized exchange protocol
XRP
XRP/USDT
A digital payment protocol for cross-border transactions
面向开发者的强大功能
Real-time Data
Get live crypto prices updated every second with minimal latency
Historical Prices
Access historical price data with customizable time intervals
99.9% Uptime
Enterprise-grade reliability with guaranteed uptime SLA
Low Latency
Sub-100ms response times for all API requests worldwide
GraphQL Queries
Flexible queries to fetch exactly the data you need in one request
Multiple Tokens
Query prices for multiple cryptocurrencies in a single API call
Rich Data Points
Price, volume, 24h change, highs, lows, and OHLC data
Free Tier Available
Get started with our generous free tier for development
快速集成
使用我们简单的 API,几分钟内即可开始
// Get latest prices for multiple tokens
const response = await fetch("https://blockeden.xyz/api-marketplace/crypto-price", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
},
body: JSON.stringify({
query: `
query GetLatestPrices {
latestPrices(symbols: ["BTCUSDT", "ETHUSDT", "SOLUSDT"]) {
symbol
price
change24h
volume24h
high24h
low24h
}
}
`
})
});
const data = await response.json();
console.log(data);
// Get price history for charts
const historyResponse = await fetch("https://blockeden.xyz/api-marketplace/crypto-price", {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_API_KEY"
},
body: JSON.stringify({
query: `
query GetPriceHistory {
priceHistory(symbol: "BTCUSDT", interval: "1h") {
hour
openPrice
closePrice
highPrice
lowPrice
avgPrice
volume
}
}
`
})
});
const historyData = await historyResponse.json();
console.log(historyData);
API 端点
灵活的 GraphQL 查询,满足您所有的加密货币价格数据需求
GraphQL Query: latestPricesGet current prices for one or more cryptocurrency symbols
# GraphQL Query
query GetLatestPrices {
latestPrices(symbols: ["BTCUSDT", "ETHUSDT"]) {
symbol
price
change24h
volume24h
high24h
low24h
}
}
# Response
{
"data": {
"latestPrices": [
{
"symbol": "BTCUSDT",
"price": 43500.25,
"change24h": 2.34,
"volume24h": 28500000000,
"high24h": 44100.00,
"low24h": 42800.50
}
]
}
}
GraphQL Query: priceHistoryGet historical price data with OHLC (Open, High, Low, Close) values
# GraphQL Query
query GetPriceHistory {
priceHistory(symbol: "BTCUSDT", interval: "1h") {
hour
openPrice
closePrice
highPrice
lowPrice
avgPrice
volume
}
}
# Response
{
"data": {
"priceHistory": [
{
"hour": "2025-12-13T10:00:00Z",
"openPrice": 43200.00,
"closePrice": 43500.25,
"highPrice": 43650.00,
"lowPrice": 43150.00,
"avgPrice": 43375.50,
"volume": 1250000000
}
]
}
}
技术规格
Update Frequency
Real-time (1-2 seconds)
Prices updated continuously with minimal delay
Authentication
Bearer Token
Authorization header with API key for secure access
API Type
GraphQL
Flexible queries via POST with JSON responses
今天开始构建你的 Web3 未来
BlockEden.xyz 为开发者提供创建突破性区块链应用程序所需的一切——强大的 API、全面的工具、专家支持和蓬勃发展的社区。