All pages
Powered by GitBook
1 of 1

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

You can access the API Keys from this link in account settings

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
        }
      }'