Authentication

All API endpoints require authentication via an API key.

API Key Format

API keys follow the format: dsk_ followed by 32 random characters.

Example: dsk_a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6

Using Your API Key

Include your API key in the X-API-Key header with every request:

curl -H "X-API-Key: dsk_your_api_key_here" 
  "https://api.defistream.dev/v1/erc20/events/transfer?network=ETH&block_start=24000000&block_end=24010000&token=USDT"

Obtaining an API Key

  1. Sign up at defistream.dev
  2. Navigate to your dashboard
  3. Click “Create API Key”
  4. Copy and securely store your key