非推奨
単一アセットの最新価格を取得
GET
/aggregation/{asset}
認証
ApiKeyAuth
型
API Key (header: CP-X-API-KEY)
パラメータ
パスパラメータ
asset*
Asset symbol, canonical asset ID, or supported source ID.
型
必須string
例
"BTC""bitcoin"レスポンス
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"
{
}
