Skip to content

Live Crypto Data

This API provides real-time pricing, 24-hour percentage changes, market cap, and volume for the top 200 cryptocurrencies. To ensure extreme speed and stability, responses are cached for 5 minutes for optimal speed.

POST /api/v1/crypto

The following parameters are accepted in the request body:

FieldTypeRequiredDescriptionExample
limitintegerOptionalNumber of coins to return (Max 20. Default is 10).5
symbolstringOptionalFilter results by a specific coin symbol."BTC"
Terminal window
curl -X POST https://heavstal.com.ng/api/v1/crypto \
-H "Content-Type: application/json" \
-H "x-api-key: <YOUR_API_KEY>" \
-d '{"limit": 2, "symbol": "ETH"}'
{
"status": "success",
"creator": "HEAVSTAL TECH",
"provider": "CoinGecko",
"cached": true,
"cache_ttl": 248,
"timestamp": "2026-06-29T10:08:45Z",
"data": [
{
"id": "ethereum",
"rank": 2,
"symbol": "ETH",
"name": "Ethereum",
"price_usd": "3450.21",
"change_24h_percent": "1.45",
"market_cap_usd": "415000000000",
"volume_24h_usd": "12500000000"
}
]
}