GET /prices/{currency_pair}/historic

coinbase.com:coinbase

Summary: Get historic prices
Operation ID: getHistoricPrices
Auth: unknown
Description

Gets historic price data for a currency pair. Useful for charts and price history analysis.

Parameters (2)

currency_pair (string, path, required)

Currency pair in the format BASE-CURRENCY (e.g., BTC-USD)

days (integer, query, optional)

Number of days of historical data to retrieve

Examples (1)

TitleTypeURLAction
Get historic prices openapi-spec https://api.coinbase.com/v2/prices/BTC-USD/historic?days=1

No probe data for this endpoint yet.