Database API ⚠ Alpha

CryptoAlly API

Historical price and catalog data for 1,864 assets — crypto, US stocks/ETFs, commodities, and 27 international stock markets — served from Postgres over a Rust API on Vercel.

1,864 assets 10.4M+ daily price points 36 markets

Endpoints

GET /api/health Public

Liveness + database connectivity check.

curl https://www.cryptoally.dev/api/health
GET /api/assets x-api-key

Screener-style asset list — filter, search, paginate.

curl -H "x-api-key: <key>" \
  "https://www.cryptoally.dev/api/assets?market=crypto&type=crypto&limit=20"

type crypto/stablecoin/stock/etf/index/commodity · market a market slug (e.g. japan, crypto, us) · search matches symbol/name · limit default 50, max 500 · offset

GET /api/prices x-api-key

Daily OHLCV + USD-converted close for one asset.

curl -H "x-api-key: <key>" \
  "https://www.cryptoally.dev/api/prices?market=crypto&symbol=bitcoin&from=2024-01-01"

asset_id or (market + symbol) · from / to (YYYY-MM-DD) · limit default 2000, max 10000

Authentication

Every endpoint except /api/health requires an x-api-key header. Keys are issued out-of-band and stored hashed — a missing or invalid key returns 401.

Check API status View source on GitHub