DeFiStream API Reference

Introduction

The DeFiStream API provides programmatic access to decoded DeFi protocol events across multiple EVM-compatible blockchains. Use this API to:

  • Track token transfers (ERC20 and native tokens)
  • Monitor lending protocol activity (AAVE deposits, borrows, liquidations)
  • Analyze DEX trading data (Uniswap swaps, liquidity events)
  • Track staking flows (Lido deposits and withdrawals)
  • Access Binance exchange data (trades, OHLCV candles, open interest, funding rates, book depth, long/short ratios)
  • Aggregate events into time or block buckets for volume charts and trend analysis

Coverage & Availability

The number of supported protocols and networks is expanding continuously. Currently, approximately 1 year of historical data is available for each supported network, with more being indexed rapidly.


Health Check

Endpoint: GET /health

No authentication required. Use this to verify API availability.

curl "https://api.defistream.dev/health"

Response:

{"status":"healthy","service":"defistream-gateway"}