🔓Authentication

The Nansen API uses API key-based authentication. All requests must include an API key provided in the request header for successful authentication.

Obtaining API Keys

During the closed beta phase, API Keys can be obtained by contacting Nansen.

Including Your API Key in Requests

Add the following header to all API requests:

Header Name

Header Value

apiKey

YOUR_API_KEY

Replace YOUR_API_KEY with your actual API key.

Example API Request

cURL Example:

curl -X POST 'https://api.nansen.ai/api/beta/smart-money/inflows' \
  -H 'apiKey: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
        "parameters": {
          "smFilter": ["Smart Trader"],
          "chains": ["ethereum"],
          "includeStablecoin": true
        }
      }'

Last updated

Was this helpful?