SiftingIO icon

SiftingIO

Consume the SiftingIO financial-data API

Live → Get DEX TVL

AI-generated

Summary

Fetches the total value locked for a DEX token pair on a selected blockchain network by making a GET request to the SiftingIO API.

Inputs

  • Chain — Blockchain network: Arbitrum, Base, BSC, Ethereum (default), or Polygon.
  • Pair (required) — DEX pair in TOKEN0-TOKEN1 format, using a single hyphen, for example WETH-USDC.
  • Request Options — Optional HTTP request settings: batch input items (default 50 per batch, 1000 ms between batches; -1 disables batching), accept invalid SSL certificates, use an HTTP proxy, or set a response-header timeout (default 10000 ms).

Output shape

A single API response record containing the DEX pair's total value locked.

The request uses GET /v1/last/tvl/{chain}/{pair}. The operation does not split an array from the response.

Links

Discussion