Deprecated
Get latest price for one asset
GET
/aggregation/{asset}
Authorizations
ApiKeyAuth
Type
API Key (header: CP-X-API-KEY)
Parameters
Path Parameters
asset*
Asset symbol, canonical asset ID, or supported source ID.
Type
Requiredstring
Examples
"BTC""bitcoin"Responses
Latest price data for the requested asset.
application/json
JSON "id": "bitcoin", "coingecko_id": "bitcoin", "symbol": "BTC", "source": "coingecko", "price_usd": "67890.123456", "market_cap": 0, "market_cap_rank": 0, "last_updated": "string", "pct_change_1h": "67890.123456", "pct_change_24h": "67890.123456", "pct_change_7d": "67890.123456", "pct_change_30d": "67890.123456", "ath": "67890.123456", "ath_change_percentage": "67890.123456", "ath_date": "string"
{
}
