cex_histo_price

GET http://api.fibonacci.fi/cex_histo_price/coin1/coin2/days_before/granularity_input_in_minute

This API retrieves historical price data for a specified token pair on a specified chain using relevant AMM data.

Path Parameters

NameTypeDescription

coin1*

String

The ticker of the first asset, e.g. "SOL"

coin2*

String

The trading pair asset, e.g. "USDT"

timeperiod*

String

Indicates the number of days to perform the operation over

granularity*

String

Indicates with what frequency the data is gathered. Available parameters : "1h", "3h", "6h", "12h", "1D".

Example

Request

http://api.fibonacci.fi/cex_histo_price/SOL/USDT/2/5m

Response

{"status": 200, "msg": "Success cex price for pair SOLUSDT", "elapsed_time": 0, "last_data_ts": 0, "data": [
{"t": 1697068800, "o": 21.96, "h": 22.05, "l": 21.95, "c": 21.99, "v": 6534.85}, 
{"t": 1697069100, "o": 21.99, "h": 21.99, "l": 21.95, "c": 21.97, "v": 4866.64},
...]

Last updated