Derived from tracking and decoding every swap across every decentralized exchange pool.
curl --request GET "https://api.syve.ai/v1/price/historical/ohlc\
?token_address=0x2260fac5e5542a773aa44fbcfedf7c193bc2c599\
&pool_address=0x4585fe77225b41b697c938b018e2ac67ac5a20c0\
&chain=eth\
&interval=1h\
&max_size=10\
&key=YOURKEY"
{
"token_address": "0x2260fac5e5542a773aa44fbcfedf7c193bc2c599",
"data": [
{
"timestamp_open": 1727186400,
"timestamp_close": 1727189999,
"date_open": "2024-09-24T14:00:00Z",
"date_close": "2024-09-24T14:59:59Z",
"price_open": 63533.00102982994,
"price_high": 63438.62377985792,
"price_low": 62931.49983748177,
"price_close": 63064.27911090626,
"volume": 1375605.7317662812,
"num_trades": 17
},
{
"timestamp_open": 1727182800,
"timestamp_close": 1727186399,
"date_open": "2024-09-24T13:00:00Z",
"date_close": "2024-09-24T13:59:59Z",
"price_open": 63609.02309754745,
"price_high": 63634.881105795575,
"price_low": 63216.12979408619,
"price_close": 63533.00102982994,
"volume": 830641.23795504,
"num_trades": 16
},
{
"timestamp_open": 1727179200,
"timestamp_close": 1727182799,
"date_open": "2024-09-24T12:00:00Z",
"date_close": "2024-09-24T12:59:59Z",
"price_open": 63465.86275833614,
"price_high": 63664.13307104474,
"price_low": 63049.44624988841,
"price_close": 63609.02309754745,
"volume": 1033532.560409586,
"num_trades": 27
},
{
"timestamp_open": 1727175600,
"timestamp_close": 1727179199,
"date_open": "2024-09-24T11:00:00Z",
"date_close": "2024-09-24T11:59:59Z",
"price_open": 63435.04313634415,
"price_high": 63621.65103321937,
"price_low": 62756.07896423202,
"price_close": 63465.86275833614,
"volume": 1358535.1128491084,
"num_trades": 23
},
{
"timestamp_open": 1727172000,
"timestamp_close": 1727175599,
"date_open": "2024-09-24T10:00:00Z",
"date_close": "2024-09-24T10:59:59Z",
"price_open": 63322.67198979928,
"price_high": 64184.47970074193,
"price_low": 63334.848281318,
"price_close": 63435.04313634415,
"volume": 1073478.1592263046,
"num_trades": 33
},
{
"timestamp_open": 1727168400,
"timestamp_close": 1727171999,
"date_open": "2024-09-24T09:00:00Z",
"date_close": "2024-09-24T09:59:59Z",
"price_open": 63744.567014584776,
"price_high": 63903.38269271913,
"price_low": 63287.051046893495,
"price_close": 63322.67198979928,
"volume": 489568.4898711995,
"num_trades": 19
},
{
"timestamp_open": 1727164800,
"timestamp_close": 1727168399,
"date_open": "2024-09-24T08:00:00Z",
"date_close": "2024-09-24T08:59:59Z",
"price_open": 63221.83994786089,
"price_high": 64025.99687139783,
"price_low": 63120.847225909514,
"price_close": 63744.567014584776,
"volume": 2542320.6800301764,
"num_trades": 36
},
{
"timestamp_open": 1727161200,
"timestamp_close": 1727164799,
"date_open": "2024-09-24T07:00:00Z",
"date_close": "2024-09-24T07:59:59Z",
"price_open": 63108.14210085893,
"price_high": 63317.07387897386,
"price_low": 63031.01152855506,
"price_close": 63221.83994786089,
"volume": 487897.2676345383,
"num_trades": 15
},
{
"timestamp_open": 1727157600,
"timestamp_close": 1727161199,
"date_open": "2024-09-24T06:00:00Z",
"date_close": "2024-09-24T06:59:59Z",
"price_open": 63130.799510270284,
"price_high": 63261.17487565037,
"price_low": 62936.32282417901,
"price_close": 63108.14210085893,
"volume": 846259.9712483367,
"num_trades": 18
},
{
"timestamp_open": 1727154000,
"timestamp_close": 1727157599,
"date_open": "2024-09-24T05:00:00Z",
"date_close": "2024-09-24T05:59:59Z",
"price_open": 62945.19787075866,
"price_high": 63132.11896207795,
"price_low": 62763.63636363635,
"price_close": 63130.799510270284,
"volume": 276810.17232954584,
"num_trades": 19
}
]
}
Syve translates the blockchain into a human-readable format so you don't have to.