API de Dados de Preços de Criptomoedas em Tempo Real
API GraphQL poderosa para preços de criptomoedas em tempo real de mais de 15 tokens principais. Consulte vários ativos em uma única solicitação com confiabilidade de nível empresarial e latência inferior a 100ms.
Mais de 15 Criptomoedas Suportadas
Acesse dados de preços em tempo real de todas as principais criptomoedas
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
Recursos Poderosos para Desenvolvedores
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
Integração Rápida
Comece em minutos com nossa API simples
// 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);
Endpoints de API
Consultas GraphQL flexíveis para todas as suas necessidades de dados de preços de criptomoedas
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
}
]
}
}
Especificações Técnicas
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
Comece a Construir Seu Futuro Web3 Hoje
BlockEden.xyz fornece tudo que os desenvolvedores precisam para criar aplicações blockchain inovadoras - APIs poderosas, ferramentas abrangentes, suporte especializado e uma comunidade próspera.