Get Batch Historical OHLC Prices (Internal)

post/api/assetpricing/v1/internal/historical/prices

Internal endpoint that retrieves historical OHLC (Open, High, Low, Close) price data for multiple base assets in a single request. Assets that fail to fetch are returned as empty lists in the response. Time Range Limits by Interval: MINUTE (max 1 day), HOUR (max 7 days), DAY (max 90 days).

Request Body

bases array[string] required
List of base asset identifiers
Min items: >= 0 items
Max items: <= 1000 items
Example: ["btc","eth","sol"]
quote string required
Quote asset identifier
Example: fiatusd
interval string required
Price interval for OHLC data
Allowed values: MINUTE HOUR DAY
Example: DAY
Match pattern: ^(MINUTE|HOUR|DAY)$
start string
Start timestamp in ISO format
Example: 2023-01-01T00:00:00.000Z
end string
End timestamp in ISO format
Example: 2023-01-02T00:00:00.000Z

200 Response

400 Response

string