SpiritSwap V2
Searchโ€ฆ
๐Ÿ‘จ๐Ÿ’ป
Pull SpiritSwap data feeds using Covalent API
This page gives a walk through for developers wanting to pull data feeds from SpiritSwap directly using Covalent's API.
โ€‹Covalent provides a unified API to bring full transparency and visibility to assets across all blockchains. The Covalent API can be used to build the SpiritSwap analytics dashboard.โ€‹
Developer Mode (JSON)
Analyst Mode (CSV)
The Covalent API is RESTful and offers the following out-of-the-box for SpiritSwap:
Try the key endpoints directly in your browser from the API Reference.

Here is a breakdown of the the specific API endpoints that can be used to build the SpiritSwap analytics dashboard:
Marker
Endpoint
Data
1
Timeseries TVL based on decoded Deposit and Withdraw events
2
24h volume as a timeseries chart
3
Top 50 tokens by price, volume, liquidity
4
Top 50 pools by price, volume, liquidity

This code template is a showcase of the XY=K suite of Covalent API endpoints capable of powering DEX dashboards. The code is open source and forkable for anyone to customize it.

Here are some additional resources to help you get started with the Covalent API:

Covalent provides the industry-leading Unified API bringing visibility to billions of Web3 data points. Developers use Covalent to build exciting multi-chain applications like crypto wallets, NFT galleries, and investor dashboard tools utilizing data from 32+ blockchains. Covalent is trusted by a community of 27,000+ developers and powers data for 1000+ applications including 0x, Zerion, Rainbow Wallet, Rotki, Bitski and many others.
Copy link
On this page
Build Analytics Dashboards
Code Template
Additional Resources
About Covalent