Skip to content

Price by Symbol

Get the current or historical price for a crypto asset by ticker symbol.

GET/v1/prices/by-symbol

Parameters

ParameterTypeDescription
symbol*stringTicker symbol (e.g., BTC, ETH, SOL)
currencyoptionalstring = USDFiat currency for price (36 supported)
dateoptionalYYYY-MM-DDHistorical date. Omit for current price.

Request

bash
curl 'https://api.cryptachain.com/v1/prices/by-symbol?symbol=ETH&currency=EUR' \
  -H 'X-API-Key: $CRYPTACHAIN_API_KEY'
typescript
const res = await fetch(
  'https://api.cryptachain.com/v1/prices/by-symbol?symbol=ETH&currency=EUR',
  { headers: { 'X-API-Key': process.env.CRYPTACHAIN_API_KEY! } }
);
python
res = requests.get(
    'https://api.cryptachain.com/v1/prices/by-symbol',
    params={'symbol': 'ETH', 'currency': 'EUR'},
    headers={'X-API-Key': os.environ['CRYPTACHAIN_API_KEY']}
)

Response

Response 200 OK

json
{
  "symbol": "ETH",
  "currency": "EUR",
  "price": 3542.18,
  "price_usd": 3850.25,
  "fx_rate": 0.92,
  "date": "2026-04-04",
  "source": "vwap",
  "source_count": 18,
  "volume_24h_usd": 12847293847.50,
  "timestamp": "2026-04-04T23:59:59Z"
}

Historical price

Add the date parameter:

bash
curl "https://api.cryptachain.com/v1/prices/by-symbol?symbol=BTC&date=2025-12-31&currency=EUR" \
  -H "X-API-Key: $CRYPTACHAIN_API_KEY"

Prices are daily VWAP (midnight-to-midnight UTC). For minute-level precision, use GET /v1/prices/{symbol}/at?timestamp=....

CryptaChain API — built by CryptaCount Luxembourg S.a r.l.