histo_stat

GET http://api.fibonacci.fi/get_amm_histo_stat/chain/pool/stat/overXdays/granularity

This endpoint delivers the historical TVL and 24h volume for a give pool. AMMs supported : Raydium v2, Raydium v3, Orca Whirlpools, Curve, Uniswap v2 Balancer

Stat can be : 24hvol or TVL

Path Parameters

NameTypeDescription

chain*

String

indicates the blockchain network to use (only ETH Uniswap v3 supported so far)

pool*

String

indicates the pool id to use for the backtesting (e.g. "Hp53XEtt4S8SvPCXarsLSdGfZBuUr5mMmZmX2DRNXQKp)

stat*

String

Indicates which statistic to return

overXdays*

String

The timeperiod of which to return data

granulartiy*

String

the granularity of the data, e.g. 1m, 5m, 15m, 30m, 1h, 6h, 12h, 1D

Example

Request

http://api.fibonacci.fi/get_amm_histo_stat/SOL/Hp53XEtt4S8SvPCXarsLSdGfZBuUr5mMmZmX2DRNXQKp/24hvol/4/15m

Response

{"status": 200, "msg": "Gud", "elapsed_time": 18, "last_data_ts": 0, "data": [
{"24hvol": 799768.3285313398, "ts": 1696896000}, 
{"24hvol": 792549.2862201578, "ts": 1696896900},
 {"24hvol": 785621.5931539872, "ts": 1696897800}, 
{"24hvol": 786210.5357242211, "ts": 1696898700}
...]

Last updated