DEX's Returns

Historical data on AMM exchanges by pool

get
Returns

https://data-api.defipulse.com/api/v1/blocklytics/pools/v1/returns/{address}
Returns an overview of each pool's token weight, amount, and expected return on investment (ROI).
Request
Response
Request
Path Parameters
address
required
string
Exchange address
Headers
api-key
required
string
Create a free account at data.defipulse.com to obtain an API-key
Response
200: OK
{"query":
{
"exchange":"0x72cd8f4504941bf8c5a21d1fd83a96499fd71d2c",
"freq":"24H","periods":30,
"platform":"Balancer"
},
"results":[
{
"balances":[{"amount":10471906.966834,
"token":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"weight":0.5},{"amount":10466879.10839035,
"token":"0xe2f2a5c287993345a840db3b0845fbc70f5935a5",
"weight":0.5}],"roi":1.0001855896711853,
"shares":140389.22455969563,
"timestamp":"2020-07-14T15:58:27"
}
{
.......
}
{
"balances":[{"amount":10471906.966834,
"token":"0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
"weight":0.5},{"amount":10466879.10839035,
"token":"0xe2f2a5c287993345a840db3b0845fbc70f5935a5",
"weight":0.5}],"roi":1.0001855896711853,
"shares":140389.22455969563,
"timestamp":"2020-07-14T15:58:27"
}
]
}