Hello - the benefit of defillama and other sites is that we can download timeseries data. Is that possible on L2?
Hi! Take a look at this thread here
Hope it helps you.
Hey
It seems I don’t have access to that discord text channel
At: 04/25/23 10:30:21 UTC+10:00
Hi, I will copy the message here but it would be important for you to enter in the L2Beat discord server because there are a lot of interesting discussion there.
Piotr Szlachciak — 09/09/2021 13:58
There is an internal api used by the website. You can use it if you want, but we don’t advertise it since we make no guarantees that it will continue working.
You can get the data with the following requests:
Get aggregate data: https://l2beat.com/api/tvl.json
Get aggregate data for projects: https://l2beat.com/api/[project].json
Cláudio Silva — 20/03/2023 10:45
It is easy to get it as json and you can easily convert it to csv by programming or using one of the many online tools that are available (e.g. JSON to CSV - CSVJSON).
Hi @claudio.silva could you post here some updated URLs to retrieve the data? Is it still possible to gather all data used to calculate the TVL?