Crypto Prices

Get live cryptocurrency prices, 24-hour change, market cap, and trading volume for 20+ major coins. Prices are sourced from CoinGecko and cached for up to 5 minutes.

Get API Key

Descripción general

Casos de uso

  • Crypto portfolio dashboards
  • Price alert systems
  • Financial apps and widgets
  • Trading bots and analytics tools

Funcionalidades

20+ supported coins: BTC, ETH, SOL, BNB, XRP, ADA, DOGE, and more
24-hour price change percentage
Market cap and trading volume
Results cached for 5 minutes for low latency

Puntos finales de la API

Get Crypto Price

Returns current price data for the given cryptocurrency symbol.

GET
https://requiems.xyz/v1/finance/crypto/{symbol}

Parámetros

Nombre Tipo Obligatorio Descripción
symbol string Obligatorio Uppercase ticker symbol (e.g. BTC, ETH, SOL)

Pruébalo

Demostración en vivo
Solicitud

Uppercase ticker symbol (e.g. BTC, ETH, SOL)

Campos de respuesta

Campo Tipo Descripción
symbol string Uppercase ticker symbol
name string Full coin name
price_usd number Current price in USD
change_24h number Price change over the last 24 hours as a percentage
market_cap number Total market capitalisation in USD
volume_24h number Total trading volume over the last 24 hours in USD

Ejemplos de código

curl https://requiems.xyz/v1/finance/crypto/BTC \
  -H "requiems-api-key: YOUR_API_KEY"

Respuestas de error

unknown_symbol

The symbol is not in the supported coin list.

upstream_error

CoinGecko is unavailable or returned an unexpected response.

Preguntas frecuentes