← Rahoitus ja valuutta

Kryptovaluutan tiedot

GET /crypto/:coin_id

Hae comprehensive details for a specific cryptocurrency by its CoinGecko ID or ticker symbol (e.g., 'bitcoin' or 'BTC'). Palauttaa the coin's current price, market cap, trading volume, price changes, and metadata. Hyödyllinen building dedicated coin detail pages, comparing specific tokens, or fetching data for a user's favorite coins without downloading the entire top-250 list.

Parametrit

coin_id pakollinen

CoinGecko ID or symbol (e.g. bitcoin, BTC)

Esimerkkipyynnöt

Peruskäyttö
curl https://nordapi.ee/api/v1/crypto/bitcoin
Bitcoin detail
curl https://nordapi.ee/api/v1/crypto/bitcoin
Ethereum detail
curl https://nordapi.ee/api/v1/crypto/ethereum
Solana detail by ticker
curl https://nordapi.ee/api/v1/crypto/SOL

Reaaliaikainen vastaus

{
  "data": {
    "change_24h_pct": 0.2499,
    "change_7d_pct": 1.3542,
    "circulating_supply": 20011896.0,
    "id": "bitcoin",
    "last_updated": "2026-04-05T21:40:00Z",
    "market_cap_usd": 1349815546498.0,
    "name": "Bitcoin",
    "price_eur": 58522.34281512,
    "price_usd": 67447.0,
    "symbol": "BTC",
    "total_supply": 20011931.0,
    "volume_24h_usd": 18656268169.0
  },
  "success": true
}

Esimerkkivastaus

{"success":true,"data":{"id":"bitcoin","symbol":"BTC","name":"Bitcoin","price_usd":70528.0}}