Skip to main content
Version: 2.0

DeFi API

What is the DeFi API?​

The DeFi API enables Web3 developers to quickly get liquidity reserves and pair data across multiple blockchains, in order to help them build and scale their dapps efficiently.

DeFi API Features​

The DeFi API provides the following functionality out of the box to power the dapps you are building:

  • Fetch the liquidity reserves for a given pair address AMMs (Uniswap-based).
  • Fetch the pair address of a given token addresses from AMMs (Uniswap-based).

Supported Chains​

The DeFi API supports multiple EVM chains:

NameChain Id (Int)Chain Id (Hex)EvmChainType
Ethereum Mainnet10x1EvmChain.ETHEREUMMainnet
Ethereum Holesky170000x4268EvmChain.HOLESKYTestnet
Ethereum Görli50x5EvmChain.GOERLITestnet
Ethereum Sepolia111551110xaa36a7EvmChain.SEPOLIATestnet
Polygon Mainnet1370x89EvmChain.POLYGONMainnet
Polygon Mumbai800010x13881EvmChain.MUMBAITestnet
Binance Smart Chain Mainnet560x38EvmChain.BSCMainnet
Binance Smart Chain Testnet970x61EvmChain.BSC_TESTNETTestnet
Avalanche C-Chain431140xa86aEvmChain.AVALANCHEMainnet
Fantom2500xfaEvmChain.FANTOMMainnet
Cronos Mainnet250x19EvmChain.CRONOSMainnet
Palm112971081090x2a15c308dEvmChain.PALMMainnet
Arbitrum421610xa4b1EvmChain.ARBITRUMMainnet
Gnosis1000x64EvmChain.GNOSISMainnet
Gnosis Chiado102000x27d8EvmChain.GNOSIS_TESTNETTestnet
Base84530x2105EvmChain.BASEMainnet
Base Goerli845310x14a33EvmChain.BASE_GOERLITestnet
Base Sepolia845320x14a34EvmChain.BASE_SEPOLIATestnet
Optimism100xaEvmChain.OPTIMISMMainnet