# Pull SpiritSwap data feeds using Covalent API

[Covalent](https://www.covalenthq.com/?utm_source=spiritswap\&utm_medium=partner-docs) 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.](https://info.spiritswap.finance/)

![Developer Mode (JSON)](/files/WbawTP9SQ9stp3ZE4ol8)

![Analyst Mode (CSV)](/files/7VuomyTRZexHtXiqzkEg)

The Covalent API is RESTful and offers the following out-of-the-box for *SpiritSwap*:

![](/files/X3brxGaURPfTLUNMwXdp)

Try the key endpoints directly in your browser from the [API Reference](https://www.covalenthq.com/docs/api/?utm_source=spiritswap\&utm_medium=partner-docs#/0/0/USD/250).

### Build Analytics Dashboards

Here is a breakdown of the the specific API endpoints that can be used to build the SpiritSwap analytics dashboard:

![](/files/xGVEDoKfGOppOlaqPdrn)

| Marker | Endpoint                                                                                                                                                                          | Data                                                            |
| ------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------- |
| 1      | [`/250/address/:address/transactions_v2`](https://www.covalenthq.com/docs/api/#/0/Get%20transactions%20for%20address/USD/250/?utm_source=spiritswap\&utm_medium=partner-docs)     | Timeseries TVL based on decoded `Deposit` and `Withdraw` events |
| 2      | [`/250/xy=k/spiritswap/pools/address/:address`](https://www.covalenthq.com/docs/api/#/0/Get%20XY=K%20pools%20by%20addressUSD/250/?utm_source=spiritswap\&utm_medium=partner-docs) | 24h volume as a timeseries chart                                |
| 3      | [`/250/xy=k/spiritswap/tokens`](https://www.covalenthq.com/docs/api/#/0/Get%20XY=K%20network%20exchange%20tokens/USD/250/?utm_source=spiritswap\&utm_medium=partner-docs)         | Top 50 tokens by price, volume, liquidity                       |
| 4      | [`/250/xy=k/spiritswap/pools`](https://www.covalenthq.com/docs/api/#/0/Get%20XY=K%20pools/USD/250/?utm_source=spiritswap\&utm_medium=partner-docs)                                | Top 50 pools by price, volume, liquidity                        |

### Code Template

![](/files/cpUTUWemBCBuX2KizDw7)

Template repo: [https://github.com/covalenthq/dex-dashboard-template](https://github.com/covalenthq/dex-dashboard-template?utm_source=spiritswap\&utm_medium=partner-docs)

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.

## Additional Resources

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

* [Covalent API Reference](https://www.covalenthq.com/docs/api/?utm_source=spiritswap\&utm_medium=partner-docs#/0/0/USD/250)
* [Covalent API FAQs](https://www.covalenthq.com/docs/developer/faq/?utm_source=spiritswap\&utm_medium=partner-docs)
* [Covalent Discord Support](https://www.covalenthq.com/discord/?utm_source=spiritswap\&utm_medium=partner-docs)

### About Covalent <a href="#about-covalent" id="about-covalent"></a>

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](https://www.covalenthq.com/docs/project-showcase/wallet), [NFT galleries](https://www.covalenthq.com/docs/project-showcase/nft), and [investor dashboard tools](https://www.covalenthq.com/docs/project-showcase/tools) utilizing data from [32+ blockchains](https://www.covalenthq.com/docs/networks). 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.

[Website](https://www.covalenthq.com/) | [Discord](https://discord.com/invite/fgZPpq69Dd) | [Telegram](https://t.me/CovalentHQ) | [Twitter](https://twitter.com/covalent_hq) | [Youtube](https://www.youtube.com/channel/UCGn-T9qPiXAx490Wr6WPbOw) | [微信公众号](https://mp.weixin.qq.com/s?__biz=MzU0MzY5ODMzMg==\&mid=2247483899\&idx=1\&sn=9c1d4df3acc04bc35c429b244307d3c7\&chksm=fb063d08cc71b41e2da96b4747513acf2ab9182babe57c135e4a7d1fef9255eb3b310217835c\&token=2144505038\&lang=zh_CN#rd)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.silverswap.io/spiritswap-v2/soullys-how-to/pull-spiritswap-data-feeds-using-covalent-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
