Crypto
Historical price chart data
Changed onGet historical price, market cap, and volume for a coin.
- days: 1, 7, 14, 30, 90, 180, or 365
- Auto-granularity: <=1d minutely, 1-90d hourly, >90d daily
get/api/v1/crypto/{coin_id}/history
Request
- Base URL: https://sugra.ai
- URL: https://sugra.ai/api/v1/crypto/{coin_id}/history
- Auth: API key in header x-api-key
Path parameters
coin_idstring required
Coin identifier (lowercase slug).
Query parameters
vs_currencystring
Quote currency (ISO 4217 lowercase).
daysstring
Window: 1, 7, 14, 30, 90, 180, or 365 days.
Response
Time-ordered list of price, market cap, and volume points.
Example response
{
"data": [
{
"id": "bitcoin",
"symbol": "btc",
"name": "Bitcoin",
"current_price": 67432.5,
"market_cap": 1325000000000,
"market_cap_rank": 1,
"total_volume": 28500000000,
"high_24h": 68100,
"low_24h": 66200,
"price_change_24h": -320.5,
"price_change_percentage_24h": -0.47,
"last_updated": "2026-03-16T12:00:00.000Z"
}
],
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"data_age_days": 8.532,
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
],
"stale_since": "2026-09-08T12:00:00Z",
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- info
added the non-success response with the status
- info