DEX Banner


SpookySwap is a decentralized exchange (DEX) on Fantom. SpookySwap's design is based on the Uniswap constant-product automated market maker (AMM). In an AMM, liquidity providers simply deposit a pair of tokens and an algorithm automatically makes markets for the token pair. Traders can easily swap between tokens in the AMM and get guaranteed rates for the swaps. Each swap on SpookySwap incurs a fee, which gets distributed to liquidity providers as their payment for work.

DEX app screenshot

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

Covalent API
Response formats JSON and CSV
Real time response 2 blocks
Batch response 30 minutes
Base URL
Networks & chain_id Fantom - 250
Key Endpoints
- Get SpookySwap pools
- Get SpookySwap network exchange tokens
- Get SpookySwap transactions for exchange
- Get SpookySwap ecosystem chart data

Try the key endpoints directly in your browser from the API Reference.

Build Analytics Dashboards

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

Analytics screenshot
Marker Endpoint Data
1 /250/address/:address/transactions_v2 Timeseries TVL based on decoded Deposit and Withdraw events
2 /250/xy=k/spookyswap/pools/address/:address 24h volume as a timeseries chart
3 /250/xy=k/spookyswap/tokens Top 50 tokens by price, volume, liquidity
4 /250/xy=k/spookyswap/pools Top 50 pools by price, volume, liquidity

Code Template

Dex dashboard screenshot

Template repo:

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 SpookySwap and the Covalent API:

Last modified: October 27, 2022: october-changelog-2022 (#243) (b6121bb)