The Nansen API uses API key-based authentication. All requests must include an API key provided in the request header for successful authentication.
You can access the API Keys from this link in account settings
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.
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
}
}'