Get Started w/ API

Written By Nansen Intern

Last updated 2 months ago

πŸŽ‰ 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.


Get Started with Our Top 5 APIs:

1. Token Screener

Discover and screen tokens across multiple blockchains with advanced filtering.
πŸ”— Endpoint Reference
Sample 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 Reference
Sample 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 Reference
Sample 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 Reference
Sample 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 Reference
Sample 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"]}'