Get Started with API
Written By Nansen Team
Last updated About 6 hours ago
What is Nansen API?
Nansen API is a way to get programmatic access to comprehensive onchain data including Profiler wallet analysis, Token God Mode analytics, and Smart Money insights. Built for developers and institutional users.
Try out Nansen API

π Congratulations on Creating Your API Key!
You're all set to start exploring blockchain data with Nansen's API. Hereβs how to get started using our most popular endpoints.
Browse the full Nansen API documentation for comprehensive guides and interactive examples: docs.nansen.ai.
How much does this cost?
It costs $10 for every 10,000 API credits purchased.
Read more about the credit pricing for each API endpoint in the API docs.
How is this different from using Nansen's dashboard?
Instead of tab-switching between dashboards, you can now chat directly with your data. Ask 'Show me tokens with high smart money inflows' and get instant answers. It's transforming from clicking through interfaces to having conversations with onchain intelligence, from AI tools you already use.
What are the rules for data redistribution?
Data from permitted endpoints is allowed to be redistributed. Please note there are prohibited endpoints (eg. smart money endpoints) that are not open for redistribution.
Please read the full Data Redistribution Guidelines to understand what is permitted.
Get Started with Our Top 5 APIs:
1. Token Screener
Discover and screen tokens across multiple blockchains with advanced filtering. π Endpoint ReferenceSample Request:
curl -X POST https://api.nansen.ai/api/v1/token-screener \ -H 'apiKey: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{'chains':['solana'],'date':{'from':'2025-11-25','to':'2025-11-26'}}'2. Smart Money Netflows
Analyze net capital flows from smart traders and funds. π Endpoint ReferenceSample Request:
curl -X POST https://api.nansen.ai/api/v1/smart-money/netflow \ -H 'apiKey: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{'chains':['ethereum', 'base','solana']}'3. Token Holders
Retrieve top token holders with balances and historical activity.π Endpoint ReferenceSample Request:
curl -X POST https://api.nansen.ai/api/v1/tgm/holders \ -H 'apiKey: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{'chain':'ethereum','token_address':'0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9'}' 4. Flow Intelligence
Comprehensive flow analytics with inflows, outflows, and net flows by holder segments. π Endpoint ReferenceSample Request:
curl -X POST https://api.nansen.ai/api/v1/tgm/flow-intelligence \ -H 'apiKey: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{'chain':'ethereum','token_address':'0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9','timeframe':'1d'}'5. Smart Money DEX Trades
Access real-time DEX trading activity from smart traders and funds. π Endpoint ReferenceSample Request:
curl -X POST https://api.nansen.ai/api/v1/smart-money/dex-trades \ -H 'apiKey: YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{'chains':['solana']}'