sifting/io
DEX & DeFi API · Swaps · TVL · Wallets

Real-time DEX swaps, liquidity, and wallet data through one API.

Stream on-chain swap prices and pair-level TVL across Ethereum and supported EVM networks, retrieve historical DEX OHLCV for supported symbols, and query native-coin and ERC-20 wallet balances over REST and WebSocket with one API key.

EthereumWETH / USDC
Pair liquidity
TVL
$12.4M
Pools
42
Last swap
$3,521.88

Aggregated across tracked pools

ETHBASEARB
  • 8 supported chains
    EVM networks and Solana
  • Pair-level TVL
    Aggregated across pools
  • 1m–1h
    Realized-swap OHLCV
  • REST + WebSocket
    Snapshots + live streams
Capabilities

A DEX data API for swaps, liquidity, history, and wallets.

Use one API key for chain-prefixed DEX swap streams, pair-level TVL, historical realized-swap OHLCV, and EVM wallet token balances across supported networks.

Live DEX swap streams

Subscribe to chain-prefixed token pairs over WebSocket and receive a snapshot value followed by live DEX price and size updates with chain and timestamp fields.

Aggregated pair-level TVL

Query total USD value locked, token reserves, contributing pool count, and timestamp for a pair on a supported chain, aggregated across tracked pools.

Historical DEX OHLCV

Query sparse 1m, 5m, 15m, 30m, and 1h bars built from realized swap prices, with base-asset volume, UTC timestamps, cursor pagination, and no artificial gap fill.

EVM wallet balances

Retrieve non-zero native-coin and ERC-20 balances for one wallet on one supported EVM chain per request, with exact raw balances and human-readable amounts.

Multi-chain access

Use the same API key across Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche, and Solana, with consistent chain identifiers across REST and WebSocket.

Enterprise FIX connectivity

Deliver eligible CEX and DEX market data over FIX 4.4 for enterprise workflows. FIX access is market-data only and does not include order entry.

API · DEX & DeFi

TVL, DEX history, wallets,
and streams via one API key.

Query pair-level TVL, retrieve historical DEX OHLCV, inspect an EVM wallet’s token balances, or stream live swap and TVL updates over WebSocket. DEX identifiers vary by endpoint and are shown explicitly below.

request · pair TVL
curl -H "X-API-Key: $KEY" \
  "https://api.sifting.io/v1/last/tvl/polygon/WETH-USDC"
example · aggregated TVL
{  "chain": "polygon",  "pair": "WETH-USDC",  "usd": "231543.82179",  "r0": "153.96483",  "r1": "231543.82179",  "n": 1,  "v": 1,  "t": 1777813200526}

usd total USD TVL · r0/r1 token reserves · n contributing pools · v schema version · t timestamp

Values aggregate the tracked pools for one pair on one chain. This is not a protocol-wide TVL figure, and v is the schema version rather than a volume.

Coverage

DEX coverage across supported
networks, pairs, and wallets.

Current public API coverage includes Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche, and Solana. Pair availability varies by chain, and historical DEX coverage is narrower than live swap and TVL streaming coverage. Need another chain or pair? Request coverage.

Supported networks

  • Ethereumeth
  • Basebase
  • Arbitrumarbitrum
  • Optimismoptimism
  • Polygonpolygon
  • BNB Chainbsc
  • Avalancheavax
  • Solanasolana

DEX pair addressing

  • REST TVL pairWETH-USDC
  • WebSocket paireth:WETH-USDC
  • Historical USD seriesETHUSD
  • Pair separatorTOKEN0-TOKEN1

Pair and chain availability varies by endpoint and entitlement.

Available data surfaces

  • Live DEX swapsproduct: dex
  • Live TVL deltasproduct: tvl
  • Pair TVL snapshot/v1/last/tvl
  • Wallet balances/v1/fnd/dex/wallet

Current historical coverage

  • Documented symbolETHUSD
  • Earliest indexed bar2021-05-05
  • Intervals1m · 5m · 15m · 30m · 1h
  • Empty bucketsomitted

Live DEX and TVL coverage is broader than the currently documented historical DEX symbol set. Refer to the DEX Bars documentation for current symbols and earliest dates.

Use cases

DEX and DeFi data for real-world workflows.

Use live swap prices, pair-level TVL, historical OHLCV, and EVM wallet balances across analytics, portfolio, research, and monitoring applications.

DeFi dashboards & analytics

Display pair-level TVL, token reserves, contributing pool counts, and live DEX swap prices across supported EVM networks.

Wallet & portfolio applications

Retrieve native-coin and ERC-20 balances for wallet views, token inventories, account monitoring, and portfolio-data workflows.

Research & backtesting

Use sparse realized-swap OHLCV and base-asset volume for DEX market research, model validation, historical analysis, and reproducible backtests.

Market monitoring & alerts

Stream DEX price and TVL updates into internal monitoring, liquidity alerts, risk systems, and enterprise market-data infrastructure.

FAQ

DEX & DeFi API, frequently asked.

What data is included in the SiftingIO DEX & DeFi API?

The documented API includes pair-level TVL snapshots, live DEX swap and TVL WebSocket streams, historical DEX OHLCV for supported symbols, and native-coin plus ERC-20 wallet balances on supported EVM networks.

Which blockchains are currently supported?

The current public TVL, WebSocket, and wallet documentation lists Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain, Avalanche, and Solana. Chain support may differ by endpoint, pair, and entitlement, so the relevant endpoint documentation is the source of truth.

How are DEX pairs identified?

Pair-level TVL REST requests use a chain path and a hyphenated pair such as polygon/WETH-USDC. WebSocket subscriptions use a chain-prefixed identifier such as eth:WETH-USDC. Historical DEX bars currently use USD-quoted symbols such as ETHUSD.

What does pair-level TVL represent?

The TVL endpoint returns the total USD value locked across the tracked pools for one token pair on one chain. It also returns the summed token reserves, the number of contributing pools, the schema version, and a timestamp. It is not a protocol-wide TVL figure.

Is historical DEX data available?

Yes. The documented DEX Bars endpoint currently supports ETHUSD from 2021-05-05 at 1m, 5m, 15m, 30m, and 1h intervals. The supported symbol set is expected to expand, and the current documentation should be checked for exact availability.

How are empty historical intervals handled?

Intervals with no qualifying swaps are omitted. SiftingIO does not generate artificial zero-price bars or fill empty buckets, so clients should treat a missing interval as no observed swap data.

What does volume mean in DEX historical bars?

The v field represents base-asset volume swapped during the bar. For ETHUSD, it represents ETH volume rather than USD notional.

What wallet data is available?

The Wallet Portfolio endpoint returns non-zero native-coin and ERC-20 balances for one wallet on one supported EVM chain per request. It includes exact raw balances and human-readable token amounts. The current version does not include USD valuation, NFTs, or a multi-chain response in one call.

How fresh are DEX and TVL streams?

A WebSocket subscription first returns the latest cached snapshot and then publishes new swap or TVL frames as updates become available. Delivery timing also depends on the underlying network and data-production process, so clients should rely on the supplied timestamps rather than assume a fixed cross-chain cadence.

Does SiftingIO route or execute DEX swaps?

No. SiftingIO provides market data and analytics inputs. It does not operate a DEX, route orders, execute swaps, hold customer assets, or provide slippage or MEV protection. Clients remain responsible for any execution logic in their own systems.

How does DEX & DeFi differ from the centralized Crypto product?

The Crypto product provides aggregated prices from centralized venues. DEX & DeFi provides on-chain DEX swap data, pair-level TVL, DEX history, and EVM wallet balances. They are separate market entitlements but can use the same SiftingIO account and API-key system.

Is DEX & DeFi the same as On-chain Fundamentals?

No. DEX & DeFi focuses on decentralized-exchange market activity, pair liquidity, historical DEX prices, and wallet balances. On-chain Fundamentals is a separate product for broader protocol and network metrics where available.

How do I authenticate the DEX API?

Send the API key in the X-API-Key header for REST requests. For WebSocket, pass the key in the ?key= query parameter or authenticate immediately after connecting. Access remains subject to the DEX & DeFi entitlement and plan limits.

Does SiftingIO support DEX data over FIX?

Yes. Eligible enterprise customers can receive CEX and DEX market data through a FIX 4.4 session. FIX is market-data only, requires onboarding and certification, and does not include order entry.

Can I display or redistribute DEX data inside my product?

Eligible Pro and Ultra plans include commercial use and customer-facing display subject to plan terms. Raw-feed redistribution, B2B sublicensing, custom distribution rights, and high-volume embedded use may require an Enterprise agreement.

Is there a free DEX & DeFi API plan?

Yes. The Free plan requires no credit card and includes 10,000 monthly REST calls, one WebSocket connection, five symbol subscriptions, one API key, and one month of historical depth for evaluation and internal non-commercial use.

EVM networks · Live DEX streams · Free tier

Start building with the DEX & DeFi API.

Create an account, generate an API key, and test pair-level TVL, live DEX and TVL streams, historical ETH OHLCV, and EVM wallet balances. No credit card required on the Free plan.