arrow-left

Only this pageAll pages
gitbookPowered by GitBook
1 of 87

Nansen API V1

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

API

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Nansen MCP

Loading...

Loading...

Loading...

Loading...

Loading...

Guides

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Profiler

Rate Limits

hashtag
Overview

The Nansen API implements rate limiting to ensure fair usage and system stability. Rate limits are applied per API key and vary by subscription tier.

Rate Limits:

The current rate limits are 20 requests per second and 300 requests per minute.

Exceeding Rate Limits:

If you exceed the defined rate limits, the API will return an error response. You should expect a 429 Too Many Requests HTTP status code.

Token God Mode

API Changelog

Common MCP clients

Below are some popular MCP clients for running remote Nansen MCP servers:

  • Claude

  • Cursor

  • VS Code

  • N8N

Complex Use cases

Explore advanced workflows you can create with the Nansen API. This section showcases complex use cases designed to help you unlock deeper insights and automate sophisticated tasks, empowering your team to get the most from Nansenโ€™s API.

Use case 1: Automated Token Tracking & Smart Money Analysischevron-rightUse Case 2: Find & Copytrade Wallets on Hyperliquidchevron-rightUse case 3: Identifying Related Wallets at Scalechevron-rightUse case 4: Copytrading Top Performing Walletschevron-rightUse case 5: Monitoring CEX Healthchevron-right

Use case Templates

This section provides comprehensive use case templates for the Nansen API V1, organized by both difficulty level and specific use case. Templates are grouped into "Simple" and "Complex" categories to help developers quickly find relevant examples based on their experience and needs. Each template is designed to guide you through integrating with the API and building meaningful applications.

Simple Use caseschevron-rightComplex Use caseschevron-right

Perp Trades

Getting Started

Welcome to the Nansen API. This guide will help you get up and running quickly.

hashtag
Prerequisites

  • A Nansen account with API access

  • An API key from your or through

hashtag
Quick Start

hashtag
1. Set Up Authentication

All API requests require your API key in the apikey header:

hashtag
2. Make Your First Request

hashtag
3. Understand the Response

hashtag
Next Steps

  • Authentication - Detailed auth setup

  • Rate Limits - Understand API limits

  • Credits System - How credits work

Perp Trades

Historical Holdings

circle-info

Note: This is a beta endpoint. The data provided may be subject to changes, corrections, or improvements as we continue to refine our Smart Money analytics.

Who Bought/Sold

PnL Leaderboard

circle-exclamation

Update: A premium_labels parameter is being added to this endpoint. From April 1, the default changes from true to false .

Address Related Wallets

Address Transactions

Token Transfers

Search

Address Perp Positions

Jupiter DCAs

Agent

Entity Name Search

Use this endpoint to find correct entity name format to use in Supported Profiler Endpoints (Consumes 0 Credits)

Address PnL & Trade Performance

circle-info

You can use this endpoint to find correct entity name format to use in this Profiler Endpoint: Click Herearrow-up-right

Flow Intelligence

Jupiter DCAs

Token Screener

circle-info

Data Retention Limits

This endpoint only supports recent data:

  • Minute Granularity: Last 130 minutes

  • Hourly Granularity: Last 50 hours

  • Daily Granularity: Last 50 days

Historical Analysis Not Supported:

  • to_date must be within 5 minutes of current time

  • Historical snapshots (e.g., "show me January 2024") are not available

Useful Links

Name
Link

Website Link

Plans and Pricing

Web-App

Token Perp Trades

Address Perp Trades

Hyperliquid Address Leaderboard

Price OHLCV

Address Labels

Retrieves all entity and behavioural labels associated with an address on a chain.

Token Perp Positions

Smart Money Perp Trades

DEX Trades

Perp Screener

Perp PnL Leaderboard

circle-exclamation

Update: A premium_labels parameter is being added to this endpoint. From April 1, the default changes from true to false .

DEX Trades

Perp Positions

circle-exclamation

Update: A premium_labels parameter is being added to this endpoint. From April 1, the default changes from true to false .

Token Information

Introduction

Nansen API offers programmatic access to high-quality onchain data and advanced blockchain analytics across numerous networks. The API aims to equip users with the necessary data to gain a competitive edge, identify opportunities, perform due diligence, and make informed decisions within the dynamic crypto market. It effectively translates the complexity of raw blockchain data into actionable intelligence, accessible through a structured API interface.

hashtag
Key Capabilities

  • Proprietary Data Labeling:

Address Counterparties

Get counterparties and their interaction statistics for any address or entity.

hashtag
Common Scenarios

circle-info

You can use this endpoint to find correct entity name format to use in this Profiler Endpoint:

Address Historical Balances

Get historical token balance information for any blockchain address or entity

hashtag
Common Scenarios

circle-info

You can use this endpoint to find correct entity name format to use in this Profiler Endpoint:

Perp Screener

hashtag
Common Scenarios

Usecase
Required Parameters
Optional Filters
Expected Output

Holdings

Aggregated token holdings data for smart traders and funds.

hashtag
Common Scenarios

Usecase
Required Parameters
Filters
Sorting Logic
Expected Output

Flows

hashtag
Using /flows Endpoint

The /flows endpoint allows you to analyze historical inflows and outflows of token holdings across specific wallet labels (e.g., Smart Money, Whales, Public Figures, etc.) on supported blockchains. This enables powerful workflows to investigate token accumulation or distribution trends by high-signal wallet groups over time.

This guide walks through how to use the endpoint in a workflow to explore Smart Money behavior for a given token on a given chain.

Data Methodology & Technical Reference

This page provides detailed technical specifications about how data is calculated, returned, and timed across Nansen API endpoints. This information is essential for quantitative analysis, backtesting

hashtag
Date Range Behaviour

All date range parameters across Nansen API endpoints use closed brackets on both sides [from, to], meaning both the from_date and to_date are inclusive. For example, requesting from=2024-11-04, to=2024-11-05 will return data for both November 4th and November 5th.

Hyperliquid Leaderboard

hashtag
Common Scenarios

Usecase
Required Parameters
Optional Filters
Expected Output

Perp PnL Leaderboard

hashtag
Common Scenarios

Usecase
Required Parameters
Optional Filters
Expected Output

Address Current Balances

Get real-time token balance information for any blockchain address or entity

hashtag
Common Scenarios

circle-info

You can use this endpoint to find correct entity name format to use in this Profiler Endpoint:

Netflows

Get aggregated token flow analysis for smart money wallets to see which tokens they're accumulating or distributing.

hashtag
Common Scenarios

Usecase
Required Parameters
Optional Filters
Sorting Logic
Expected Output

31-03-2026: TGM Endpoints - Premium Labels Flag

Affected endpoints: tgm/holders, tgm/pnl-leaderboard, tgm/perp-pnl-leaderboard, perp-leaderboard

A new premium_labels parameter has been added to these endpoints to control wallet label tier.

Value
Behavior

Holders

circle-exclamation

Update: A premium_labels parameter is being added to this endpoint. From April 1, the default changes from true to false .

Address Perp Trades

hashtag
Common Scenarios

Usecase
Required Parameters
Optional Filters
Expected Output

Address Perp Positions

hashtag
Common Scenarios

Usecase
Required Parameters
Optional Filters
Expected Output
hashtag
Historical Data Calculation Method (Smart Money Holdings)

The Smart Money Historical Holdings API returns pure historical snapshots using prices from the actual date requested, not recalculated values. This ensures there is no look-ahead bias, making the data suitable for backtesting and predictive models.

hashtag
Field-Level Details

  • value_usd: Historical USD value using the median price from that day

  • market_cap_usd: Historical market cap snapshot for that date

  • balance_24h_percent_change: Historical percentage calculated using that day's balance and the previous day's balance (with each day using its respective price)

hashtag
Snapshot Timing & Data Availability

hashtag
Snapshot Time

Daily snapshots represent end-of-day UTC values.

hashtag
Data Availability (Smart Money Historical Holdings)

Data processing begins at 05:00 AM UTC. Data is typically available by 07:00 AM UTC, though exact timing may vary. The current day's data is excluded from responses since it would be incomplete.

hashtag
Historical Depth

The Smart Money Historical Holdings endpoint provides a 4-year rolling window of historical data. The earliest available date moves forward daily.

Credits Used

true

Returns dbt-sourced premium labels (Smart Money, Fund, etc.)

150

false

Returns free-tier labels only

5

Plan enforcement: Free plan users sending premium_labels=true will receive a 403 Forbidden response. Paid plan users may use either value.

Default behavior: The default is currently true. A change on April 1st will flip the default to false and start consuming 150 credits.

https://www.nansen.aiarrow-up-right
https://app.nansen.ai/account/switch-plansarrow-up-right
https://app.nansen.aiarrow-up-right
Pagination - Handle large datasets
  • Error Handling - Handle errors gracefully

  • Best Practices - Optimize your integration

  • Nansen Dashboardarrow-up-right
    Agent Setup Linkarrow-up-right
    curl -X POST 'https://api.nansen.ai/api/v1/smart-money/holdings' \
      -H 'Content-Type: application/json' \
      -H 'apikey: YOUR_API_KEY' \
      -d '{"chains": ["ethereum"]}'
    import httpx
    
    response = httpx.post(
        "https://api.nansen.ai/api/v1/smart-money/holdings",
        headers={
            "Content-Type": "application/json",
            "apikey": "YOUR_API_KEY"
        },
        json={
            "chains": ["ethereum"],
            "pagination": {"page": 1, "per_page": 10}
        }
    )
    
    print(response.json())
    {
      "data": [
        {
          "chain": "ethereum",
          "token_address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
          "token_symbol": "PEPE",
          "value_usd": 15000000.50,
          "holders_count": 1250,
          "balance_24h_percent_change": 5.25
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": false
      }
    }
    Nansen applies unique, human-readable labels to hundreds of millions of blockchain addresses. These labels identify specific entities such as exchanges, funds, market makers, notable individual investors that allows users to understand who is behind onchain activities, providing crucial context that raw, pseudonymous data lacks. Accessing this labelled data via the API is a core component of Nansen's offering.
  • Unique Datasets and Insights: The API provides access to data points and analytics not readily available elsewhere, such as Smart Money analytics.

  • Comprehensive Multi-Chain Coverage: The API consolidates data from multiple blockchain networks, allowing users to track assets and activities across different ecosystems through a single integration point.

  • These features collectively enable the API to deliver not just data, but contextualized intelligence, transforming raw onchain events into a clearer picture of market dynamics and participant behavior.


    hashtag
    Quick Links

    Need
    Go To

    API authentication

    Rate limits

    Error handling

    Supported chains

    hashtag
    API Endpoints

    Category
    Path

    Overview

    Smart Money

    Profiler

    Token Screener

    hashtag
    MCP

    Category
    Path

    Connecting To MCP

    Supported Tools

    hashtag
    Guides

    Tutorial
    Path

    Use case Templates

    Data Redistribution Guides

    Usecase
    Required Parameters
    Expected Output

    Get counterparties for a single address

    address = "0x28c6c06298d514db089934071355e5743bf21d60", chain = "ethereum", group_by: "address"

    List of counterparties with interaction stats (volume, frequency, timing)

    Get counterparties for an entity (e.g., Coinbase)

    entity_name = "Coinbase", chain = "all", group_by: "entity"

    Aggregated counterparties across all entity wallets with interaction stats

    Click Herearrow-up-right
    Usecase
    Required Parameters
    Optional Filters
    Expected Output

    Check current holdings for a single address

    address = "0x28c6c06298d514db089934071355e5743bf21d60", chain = "ethereum"

    hide_spam_token = true,

    List of tokens with amounts, USD values, and chain info for the address

    View entity-wide portfolio (e.g., Coinbase)

    entity_name = "Coinbase", chain = "all"

    hide_spam_token = true

    Click Herearrow-up-right

    date ={ "from": "2025-10-01T00:00:00Z", "to": "2025-10-06T23:59:59Z" }

    filters ={ "buy_sell_pressure": { "min": 100000 }, "open_interest": { "min": 500000 } }

    Perps showing high buy/sell pressure and strong open interest, returned with mark price, volume, and trader details

    Discover perps favored by smart money

    date ={ "from": "2025-10-01T00:00:00Z", "to": "2025-10-06T23:59:59Z" }

    only_smart_money =true filters ={ "smart_money_volume": { "min": 100000 } }

    Perps with the highest smart money volume, including smart money long/short counts, USD position sizes, and assets

    Screen for perps with net buy/sell pressure and strong fundamentals

    View smart trader token holdings across chains

    chains = ["ethereum", "solana"]

    N/A

    order_by = [{field: "value_usd", direction: "DESC"}]

    Aggregated list of tokens held by smart traders on specified chains

    Monitor top accumulating tokens this week

    chains = "all",

    filters = {balance_24h_percent_change: {min: 10}},

    order_by = [{field: "balance_24h_percent_change", direction: "DESC"}]

    Tokens showing largest recent increases in smart trader holdings

    Screen for newly held tokens with threshold value

    hashtag
    Usecase 1: Track Smart Money Accumulation Trends

    This workflow helps you:

    • Identify what tokens Smart Money is holding (e.g., via /holdings or /inflows)

    • Investigate how inflows/outflows of Smart Money have evolved over time

    • Combine historical activity with price trends for better decision-making

    Step by Step Guide:

    1. Start with /holdings endpoint to identify what tokens Smart Money is holding.

    2. Pick a token of interest based on value and activity patterns.

    3. Use the /flows endpoint with the token address and smart_money label to view inflow/outflow trends.

    4. Specify timeframe (e.g., last 30 days) and examine how Smart Money behavior is evolving.

    hashtag
    Usecase 2: Monitor Exchange Flows

    This workflow helps you:

    • Track how much of a token is being sent to or from exchange wallets

    • Spot accumulation or distribution trends by observing net exchange flow

    • Correlate token price movement with CEX behavior patterns

    Step by Step Guide:

    1. Identify the token of interest (e.g., USDC, ETH, SOL).

    2. Choose the chain where it is active.

    3. Use label: "exchange" to track exchange wallets.

    4. Analyze net flows:

      • High inflow = Possible sell pressure

      • High outflow = Possible accumulation

    5. Correlate flow data with price action or events (e.g., listings, unlocks, news).

    date ={ "from": "2025-10-14", "to": "2025-10-15" }

    pagination ={ "page": 1, "per_page": 10 }

    List of the most profitable perpetual traders (addresses and labels) with their total PnL, ROI (%), and account values in the date range

    Filter leaderboard for high-value profitable accounts

    date ={ "from": "2025-10-14", "to": "2025-10-15" }

    filters ={ "account_value": { "min": 10000 }, "total_pnl": { "min": 1000 } }

    Leaderboard limited to traders with $10k+ account value and $1k+ profit, for easier benchmarking

    Show only smart money leaders (filtered by trader address label)

    date ={ "from": "2025-10-14", "to": "2025-10-15" }

    filters ={ "trader_address_label": "Smart Money" }

    Leaderboard showing only traders identified as Smart Money, with PnL, ROI, and account value for each

    Find top perpetual traders in a specific date range

    token_symbol ="ETH" date ={ "from": "2025-10-14", "to": "2025-10-15" }

    filters ={ "pnl_usd_realised": { "min": 100000 }, "position_value_usd": { "min": 100000 } }

    Only addresses with at least $100k realized PnL and $100k+ in position value are shown

    Surface only smart money traders for a specific contract

    token_symbol ="SOL" date ={ "from": "2025-10-14", "to": "2025-10-15" }

    filters ={ "trader_address_label": "Smart Money" }

    Leaderboard limited to traders labeled as Smart Money

    Filter for high-profit and high-balance addresses

    Usecase
    Required Parameters
    Optional Filters
    Expected Output

    Check current holdings for a single address

    address = "0x28c6c06298d514db089934071355e5743bf21d60", chain = "ethereum"

    hide_spam_token = true,

    List of tokens with amounts, USD values, and chain info for the address

    View entity-wide portfolio (e.g., Vitalik Buterin)

    entity_name = "Vitalik Buterin", chain = "all"

    hide_spam_token = true

    Click Herearrow-up-right

    Find what funds are buying on Solana

    chains: ["Solana"]

    include_smart_money_labels: ["Fund"]

    [{"field":"net_flow_7d_usd", "direction":"DESC"}]

    Returns top tokens by funds, sorted by 7D inflow

    Top DeFi tokens that Smart Money are selling

    chains: ["ethereum"]

    token_sectors: ["DeFi"]

    [{"field":"net_flow_7d_usd", "direction":"ASC"}]

    Returns tokens with highest net outflow in DeFi sector

    hashtag
    How to use the Holders Endpoint

    The Holders Endpoint returns holder data for a given token on a specific chain over a defined date range. You can use this to analyze who is holding a particular tokenโ€”whether itโ€™s Smart Money wallets, exchanges, or all holders.

    hashtag
    Usecase 1: Get list of Smart Money Holders

    1. Set "label" to "smart_money" in the parameters object.

    2. Add "includeLabels" as an array with the specific Smart Money segments you want (e.g., "Fund", "30D Smart Trader").

    3. Other parameters (like chain, tokenAddress, date range, etc.) stay the same.

    Example Configuration:

    hashtag
    Usecase 2: List of Exchanges Holding a Token

    1. Set "label" to "exchange" in the parameters object.

    2. Add "includeLabels" with "Exchange"

    3. Other parameters remain unchanged.

    Example Configuration:

    address ="0x45d26f28196d226497130c4bac709d808fed4029" date ={ "from": "2025-10-01", "to": "2025-10-10" }

    (none needed for basic usage)

    List of trades with timestamps, price, size, token, direction (Long/Short), action (Open/Close), and fees for the address

    Analyze high-value trades with closed PnL details

    address ="0x45d26f28196d226497130c4bac709d808fed4029" date ={ "from": "2025-10-01", "to": "2025-10-10" }

    filters ={"value_usd": {"min": 1000}}

    List of trades above $1,000 with closed PnL, fees paid, order IDs, and asset symbols

    Track all short trades and compare performance by token

    address ="0x45d26f28196d226497130c4bac709d808fed4029" date ={ "from": "2025-10-01", "to": "2025-10-10" }

    filters ={"type": "Short"} order_by =[{"direction": "DESC", "field": "closed_pnl"}]

    All short trades, sorted by closed profit, allowing analysis of which tokens and trades delivered the best results

    Fetch all perp trades for an address within a specific date range

    address ="0xa312114b5795dff9b8db50474dd57701aa78ad1e"

    filters ={"position_value_usd": {"min": 1000}}

    List of open perpetual positions with entry price, mark price, leverage, PnL, and margin info for the address

    Get all perp positions with negative PnL for an address

    address ="0xa312114b5795dff9b8db50474dd57701aa78ad1e"

    filters ={"unrealized_pnl_usd": {"max": 0}}

    List of positions with negative unrealized PnL

    Check current perp positions for a single address

    Reference

    This section explains the key concepts and terminology used throughout the Nansen API.

    hashtag
    Guides

    • Supported Chains - Blockchains supported by the API

    • Address Formats - Address formats for each chain type

    • Smart Money Labels - Understanding smart money classifications

    • Filter Types - Available filter types and usage

    • Sorting - How to sort API results

    hashtag
    Quick Reference

    hashtag
    Chains

    The API supports 37 blockchains:

    Type
    Examples

    hashtag
    Smart Money Labels

    Label
    Description

    hashtag
    Common Filters

    Filter Type
    Example

    hashtag
    Sort Order

    Error Handling

    API responses are delivered in JSON format. The client applications must parse this JSON to extract the required data. Equally important is handling the HTTP status code returned with each response to determine success or failure.

    Common HTTP Status Codes:

    400

    Bad Request: Malformed request, invalid parameters or format

    Check your request syntax and parameters

    401

    Unauthorized: Authentication failed (missing, invalid, or expired token)

    Make Your First API Call

    Welcome! In the next 2 minutes, youโ€™ll make your first API call and unlock real-time blockchain insights.

    hashtag
    Step 1: Get your API key

    • Log in at Nansen (Click here)arrow-up-right

    • Navigate to the API tab in the left sidebar.

    • Click Create API Key (See screenshot below for where to find this button)

    • Copy your API Key

    hashtag
    Step 2: Run this cURL Command

    hashtag
    Step 3: Now try this in API Explorer

    • Click on Test It button on the API codeblock below

    • Paste your API Key under the value section (As shown in the screenshot)

    • Click on "Send" or press CMD + Enter.

    hashtag
    Next Steps

    1. Checkout these Usecase Templates

    1. Checkout all the available endpoints

    Overview

    Learn how to connect AI agents to Nansen

    Connect your AI tools (Eg. Claude, Cursor) using Anthropic's Model Context Protocol, a standard that lets AI tools interact with Nansen data.

    circle-info

    Check out the links below to learn how to connect and access all available tools in MCP.

    Connecting to Nansen MCP -> https://docs.nansen.ai/mcp/connectingarrow-up-right

    Tools Supported -> https://docs.nansen.ai/mcp/toolsarrow-up-right

    hashtag
    What is Nansen MCP?

    Nansen MCP is a Model Context Protocol (MCP) server that provides access to Nansen's institutional-grade blockchain intelligence platform. It transforms Nansen's onchain intelligence into an accessible interface that AI agents, developers, and researchers can use to analyze crypto markets and blockchain activity.

    hashtag
    Core Offering

    • MCP Protocol: Built on the standardized Model Context Protocol, ensuring compatibility with AI tools like Claude, Cursor, and other MCP-compatible clients

    • Multi-Chain Coverage: Supports 25+ major blockchains including Ethereum, Solana, Bitcoin, Arbitrum, Base, Polygon, and more

    • Real-Time Data: Provides access to live blockchain data including transactions, token movements, wallet activities, dex trades and PnL

    hashtag
    Why Use Nansen MCP?

    AI tools currently have no visibility into what's happening onchain. Even answering simple blockchain queries is extremely difficult without proper data access and context. Nansen MCP gives AI tools the ability to see and understand onchain activities, transforming them into powerful blockchain research assistants.

    hashtag
    1. Real-Time Access to Nansen's Rich Data

    • Access to Nansen's proprietary wallet labeling system with millions of identified addresses including smart money labels

    • Institutional-grade data accuracy and reliability

    • Real-time processing of onchain activities across multiple blockchains

    hashtag
    2. AI-Native Integration

    • One-click installation with Claude Desktop

    • No need to struggle with complex APIs or documentation - everything works out of the box

    • Build custom AI agents and LLMs with blockchain intelligence

    hashtag
    3. Streamlined Research Workflows

    • Saves time by wrapping complex workflows into simpler tasks

    • Automate onchain research that would take hours manually

    • Generate insights from multiple data sources simultaneously

    hashtag
    What Can You Do with Nansen MCP?

    hashtag
    Smart Money Tracking

    Track DEX trades, token holdings, and portfolio changes of profitable traders and funds. Discover tokens gaining traction among smart money before broader market adoption.

    hashtag
    Token Intelligence & Discovery

    Screen thousands of tokens across multiple chains using advanced filters. Analyze real-time trading data, holder distributions, and exchange flows to identify opportunities.

    hashtag
    Address & Entity Profiling

    Deep dive into wallet activities, trading patterns, and PnL analysis. Map relationships between wallets and identify connected addresses across all supported blockchains.

    hashtag
    Example Prompts

    • "Show me all tokens that funds bought in the last 24 hours"

    • "What DCA strategies are profitable traders using on Jupiter?"

    • "Find new tokens with high smart money inflows and growing trading volume"

    Connecting to Nansen MCP

    The Nansen MCP server provides AI assistants with access to comprehensive blockchain analytics through a secure API. This guide covers how to connect to Nansen MCP.

    hashtag
    Prerequisites

    Before connecting, you'll need:

    1. Nansen API Key: Get yours at

    2. npx: Required for remote connections (npm install -g npx)

    hashtag
    Installation Guide

    hashtag
    1. Claude Desktop (One-Click Install; Claude Desktop Required)

    The easiest way to get started with Nansen MCP. Double-click the downloaded .dxt file to configure automatically.

    hashtag
    2. Claude Code (Terminal Integration)

    Connect Nansen MCP through your terminal:

    hashtag
    3. Cursor IDE

    One-click install via Cursor deep link:

    1. Copy the deep link below (right-click > copy)

    2. Paste into any Cursor text/chat field

    3. Ctrl+Click (or Cmd+Click on Mac) inside Cursor to install

    hashtag
    4. Other MCP Clients

    Integration example for various other tools supporting MCPs

    Server configuration:

    • Server: https://mcp.nansen.ai/ra/mcp

    • Header: NANSEN-API-KEY: your_api_key

    • Transport: mcp-remote --allow-http

    NPX example:

    hashtag
    Authentication

    โš ๏ธ Nansen MCP uses the same API as your regular API keys. Ensure you have sufficient credits for your usage.

    Nansen CLI

    hashtag
    Overview

    The Nansen CLI (nansen-cli) is a command-line interface for the Nansen API. All output is structured JSON, making it ideal for AI agents, scripts, and automation pipelines.

    Or run without installing:

    Source code:

    Authentication

    hashtag
    Overview

    The Nansen API uses API key authentication. All requests must include your API key in the apikey header.

    hashtag

    Frequently Asked Questions

    hashtag
    Authentication

    chevron-rightHow can developers obtain API keys and access Nansenโ€™s API endpoints?hashtag

    You can request an API key by signing up on Nansen. You can find the detailed steps

    Use case 5: Monitoring CEX Health

    hashtag
    1. Scenario

    Monitor centralized exchange (CEX) health by tracking onchain asset balances and daily net flows.

    Goal: Generate daily reports showing:

    Name
    Assets on Exchange
    "label": "smart_money",
    "includeLabels": ["Fund", "30D Smart Trader"]
    "isEntity": true, -- To aggregate by Entity
    "label": "exchange",
    "includeLabels": ["Exchange"]
    "isEntity": true, -- To aggregate by Entity
    "Show me trending tokens with liquidity above $100k"
  • "Analyze the trading performance of this whale address"

  • "Find wallets connected to this successful trader"

  • "Track how this fund's portfolio allocation has changed over time"

  • "Do a deep dive into this wallet to find whom does it belong to"

  • Obtain or refresh your API Key

    402

    x402: Payment Required

    Please make the payment for API request and try again

    403

    Forbidden: Auth succeeded, but no permission for resource

    Ensure your account has access rights

    404

    Not Found: Resource or endpoint does not exist

    Verify the endpoint path and resource identifiers

    422

    Unprocessable Content

    Please verify your parameters

    429

    Too Many Requests: Rate limit exceeded

    Slow down requests; respect rate limits

    500

    Internal Server Error: Unexpected server issue

    Try again later; contact support if persistent

    504

    Gateway Timeout: Backend server did not respond in time

    Retry after a short wait; check for heavy queries

    /reference/chainsarrow-up-right

    Filter types

    /reference/filtersarrow-up-right

    AI Agent Access

    /getting-started/agentsarrow-up-right

    /api/token-god-modearrow-up-right

    Portfolio

    /api/portfolioarrow-up-right

    Points

    /api/pointsarrow-up-right

    Hyperliquid

    /api/hyperliquidarrow-up-right

    Agent

    /api/v1/agentarrow-up-right

    /getting-started/authenticationarrow-up-right
    /getting-started/rate-limitsarrow-up-right
    /getting-started/error-handlingarrow-up-right
    /api/overviewarrow-up-right
    /api/smart-moneyarrow-up-right
    /api/profilerarrow-up-right
    /mcp/connectingarrow-up-right
    /mcp/toolsarrow-up-right
    /guides/templatesarrow-up-right
    /guides/redistribution-guidearrow-up-right
    .

    hashtag
    Available Endpoints

    chevron-rightWhat types of data are available through Nansenโ€™s API (e.g., wallet balances, token prices, labeled transactions)?hashtag

    The API provides access to wallet balances, transaction data, exchange flows, smart money tracking and other on-chain analytics across multiple chains. You can find the full list of endpoints herearrow-up-right.

    hashtag
    API Rate Limits & Quotas

    chevron-rightWhat are the usage limits for Nansenโ€™s API?hashtag

    Nansen API comes with a flexi-credit plan. You purchase as many credits you need.

    hashtag
    Data Coverage

    chevron-rightCan I access labeled transaction data across multiple chains via the API?hashtag

    Yes, you can use /transactions to access transaction data and /labels endpoint to fetch labels across multiple chains.

    chevron-rightWhat on-chain metrics are available via Nansenโ€™s API?hashtag

    Metrics include wallet balances, token flows, smart money movements, portfolio distributions, and other derived analytics from raw blockchain data. You can find the full list of endpoints here.arrow-up-right

    chevron-rightDoes the API provide access to smart money wallet activities and behaviors?hashtag

    Yes, API allows users to monitor smart money inflows, portfolio holdings and DEX Trades. You can find the full list of Smart Money endpoints herearrow-up-right.

    chevron-rightHow does Nansen handle and provide data for non-EVM chains such as Solana or Sui?hashtag

    Nansen processes data from non-EVM chains by building native integrations that extract and structure on-chain information similar to EVM-based chains, while adjusting for each chainโ€™s unique architecture. You can find the full list of supported chains herearrow-up-right.

    hashtag
    Data Freshness and Performance

    chevron-rightHow frequently is the data updated in the API?hashtag

    Data is refreshed at varying intervals, with many endpoints updating in real-time depending on the data type.

    chevron-rightWhat is the typical latency for data delivery through Nansenโ€™s API?hashtag

    Typical data latency is low, often within seconds, depending on the chain being queried

    hashtag
    Developer Tools and Integration

    chevron-rightDoes Nansen support AI Integration Capabilities?hashtag

    Nansen offers MCP support that allows you to connect your AI tools to Nansen's Onchain Data. You can read more and follow steps for access herearrow-up-right.

    chevron-rightDoes Nansen offer SDKs, libraries, or tools for integrating analytics into third-party applications like DEXs or wallets?hashtag

    No

    chevron-rightCan I programmatically perform bulk analysis on wallet data using Nansenโ€™s tools?hashtag

    Yes, Nansenโ€™s API endpoints are designed for scalable, programmatic analysis across large datasets of wallets and transactions.

    herearrow-up-right

    EVM

    Ethereum, Arbitrum, Base, BNB, Polygon, Optimism

    Non-EVM

    Solana, Bitcoin, TON, Tron, Starknet, SUI

    Fund

    Institutional investment funds

    Smart Trader

    Historically profitable traders

    30D/90D/180D Smart Trader

    Time-based performance labels

    Numeric Range

    {"min": 1000, "max": 50000}

    Integer Range

    {"min": 10, "max": 100}

    Address List

    ["0x...", "0x..."]

    Label List

    ["Fund", "Smart Trader"]

    https://app.nansen.ai/api?tab=apiarrow-up-right
    Quick Install Linkarrow-up-right
    hashtag
    Authentication

    The CLI uses the same API key as the REST API. Two options, in priority order:

    Environment variable (recommended for agents and CI):

    Interactive login (persistent):

    Verify it works:

    schema is free and requires no API key -- if you get JSON back, the CLI is installed correctly.

    hashtag
    Quick Start

    hashtag
    Schema Discovery

    The CLI is fully self-documenting via nansen schema. This requires no API key and returns a machine-readable JSON reference of all commands, options, return fields, and supported chains.

    Example: query supported chains:

    Agents should use nansen schema as the source of truth for available commands and options.

    hashtag
    Output Format

    All responses use a consistent JSON envelope:

    Errors include a machine-readable code:

    Key error codes: UNAUTHORIZED, CREDITS_EXHAUSTED, RATE_LIMITED, INVALID_ADDRESS, UNSUPPORTED_FILTER. See Error Handling for the full list.

    hashtag
    Tips for AI Agents

    Use schema for self-discovery. Agents should call nansen schema at the start of a session to learn available commands, options, and supported chains -- it costs zero credits.

    Use --fields to reduce response size. Large JSON responses waste agent context tokens.

    Use --stream for large result sets. Processes results line-by-line instead of buffering the entire response.

    Budget credits carefully. Most calls cost 1 credit. schema and help are free. If you get CREDITS_EXHAUSTED, stop all calls immediately.

    github.com/nansen-ai/nansen-cliarrow-up-right
    Getting Your API Key
    1. Log in to your Nansen Accountarrow-up-right

    2. Generate a new API key

    hashtag
    Using Your API Key

    hashtag
    Header Format

    hashtag
    curl Example

    hashtag
    Python Example

    hashtag
    Python with Environment Variable

    hashtag
    Authentication Errors

    hashtag
    401 Unauthorized

    Returned when the API key is missing or invalid:

    Solutions:

    • Verify your API key is correct

    • Ensure the header name is apikey (lowercase)

    • Check that the key hasn't been revoked

    hashtag
    403 Forbidden

    Returned when the API key doesn't have permission for the requested resource:

    Solutions:

    • Verify your subscription tier includes access to this endpoint

    • Contact support to upgrade your plan

    hashtag
    Key Management

    If your key is compromised:

    1. Immediately revoke it in your dashboard

    2. Generate a new key

    3. Update all applications using the old key

    24hr Net Flows

    Coinbase, Inc.

    $30bn

    $1.2bn

    OKX

    $129bn

    $34m

    hashtag
    2. Solution

    Use two Nansen API endpoints:

    1. Address Balances (Link Here)arrow-up-right - Get total token holdings across all chains

    2. Counterparties (Link Here)arrow-up-right - Calculate 24hr net flows (inflows minus outflows)

    Alternative: Compare today's balance vs yesterday's balance for a simpler net flow calculation.

    hashtag
    3. Step-by-Step Guide

    hashtag
    Step 1: Get Current Assets on Exchange

    Fetch token balances across all chains covered by Nansen.

    Call the address balances endpoint:

    Process the response:

    • Sum all usd_value fields to get total assets on exchange

    • Store this value for comparison

    hashtag
    Step 2: Calculate 24hr Net Flow

    Method A: Simple (Balance Difference)

    1. Get today's total balance (from Step 1)

    2. Get yesterday's total balance (same call, run 24 hours earlier)

    3. Calculate: Net Flow = Today's Balance - Yesterday's Balance

    Method B: Detailed (Counterparties Breakdown)

    Fetch all inflows and outflows for the past 24 hours:

    Process the response:

    1. Sum all inflow_usd values = Total Inflows

    2. Sum all outflow_usd values = Total Outflows

    3. Calculate: Net Flow = Total Inflows - Total Outflows

    hashtag
    Step 3: Format Results

    Combine data into your target format:

    {
      "order_by": [
        {"field": "value_usd", "direction": "DESC"}
      ]
    }
    claude mcp add --transport http nansen https://mcp.nansen.ai/ra/mcp --header "NANSEN-API-KEY: YOUR_API_KEY_HERE"
    cursor://anysphere.cursor-deeplink/mcp/install?name=nansen-mcp&config=eyJlbnYiOnsiTkFOU0VOX0FQSV9LRVkiOiJSRVBMQUNFX1RISVMifSwiY29tbWFuZCI6Im5weCIsImFyZ3MiOlsiLXkiLCJtY3AtcmVtb3RlIiwiaHR0cHM6Ly9tY3AubmFuc2VuLmFpL3JhL21jcC8iLCItLWhlYWRlciIsIk5BTlNFTi1BUEktS0VZOiR7TkFOU0VOX0FQSV9LRVl9IiwiLS1hbGxvdy1odHRwIl19Cg==
    {
      "mcpServers": {
        "nansen-mcp": {
          "command": "npx",
          "args": [
            "-y",
            "mcp-remote",
            "https://mcp.nansen.ai/ra/mcp",
            "--header",
            "NANSEN-API-KEY: ",
            "--allow-http"
          ]
        }
      }
    }
    npx -y mcp-remote https://mcp.nansen.ai/ra/mcp \\
      --header "NANSEN-API-KEY:YOUR_API_KEY_HERE" \\
      --allow-http
    
    npm install -g nansen-cli
    npx nansen-cli help
    export NANSEN_API_KEY=your-api-key
    nansen login
    nansen schema | head -1
    # Trending tokens on Solana
    nansen token screener --chain solana --timeframe 24h
    
    # Smart Money flows
    nansen smart-money netflow --chain solana
    
    # Profile a wallet
    nansen profiler balance --address 0x28c6c06298d514db089934071355e5743bf21d60 --chain ethereum
    
    # Search for an entity
    nansen profiler search --query "Vitalik Buterin"
    nansen schema --pretty                    # Full schema
    nansen schema smart-money --pretty        # Single command group
    nansen schema | jq '.supportedChains'
    {
      "success": true,
      "data": { ... }
    }
    {
      "success": false,
      "error": "Invalid API key",
      "code": "UNAUTHORIZED",
      "status": 401
    }
    nansen smart-money netflow --chain solana --fields token_symbol,net_flow_usd --limit 10
    nansen token dex-trades --chain solana --limit 100 --stream
    apikey: YOUR_API_KEY
    curl -X POST 'https://api.nansen.ai/api/v1/smart-money/holdings' \
      -H 'Content-Type: application/json' \
      -H 'apikey: YOUR_API_KEY' \
      -d '{"chains": ["ethereum"]}'
    import httpx
    
    headers = {
        "Content-Type": "application/json",
        "apikey": "YOUR_API_KEY"
    }
    
    response = httpx.post(
        "https://api.nansen.ai/api/v1/smart-money/holdings",
        headers=headers,
        json={"chains": ["ethereum"]}
    )
    import os
    import httpx
    
    API_KEY = os.environ.get("NANSEN_API_KEY")
    
    headers = {
        "Content-Type": "application/json",
        "apikey": API_KEY
    }
    
    response = httpx.post(
        "https://api.nansen.ai/api/v1/smart-money/holdings",
        headers=headers,
        json={"chains": ["ethereum"]}
    )
    {
      "error": {
        "code": "UNAUTHORIZED",
        "message": "Invalid or missing API key"
      }
    }
    {
      "error": {
        "code": "FORBIDDEN",
        "message": "Insufficient permissions for this endpoint"
      }
    }
    curl -X POST "https://api.nansen.ai/api/v1/profiler/address/current-balance" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "entity_name": "Coinbase",
        "chain": "all",
        "hide_spam_token": true,
        "pagination": { "page": 1, "per_page": 1000 }
      }'
    curl -X POST "https://api.nansen.ai/api/v1/profiler/address/counterparties" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "entity_name": "Coinbase",
        "chain": "base",
        "date": {
          "from": "2025-10-22T18:43:00Z",
          "to": "2025-10-23T18:43:00Z"
        },
        "group_by": "entity",
        "source_input": "Combined",
        "pagination": { "page": 1, "per_page": 1000 }
      }'
    Name: [entity_name]
    Assets on Exchange: [Sum of usd_value from current-balance]
    24hr Net Flows: [Net Flow calculation from Step 2

    Aggregated balances for entity across all wallets, showing holdings per chain

    chains = "all",

    filters = {token_age_days: {max: 30}, value_usd: {min: 10000}}

    order_by = [{field: "token_age_days", direction: "ASC"}]

    Newly acquired tokens by smart money, filtered by age and min USD value

    Aggregated balances for entity across all wallets, showing holdings per chain

    Use case Templateschevron-right
    face-sunglassesSmart Moneychevron-right
    hexagonToken God Modechevron-right
    walletProfilerchevron-right
    chart-pie-simplePortfoliochevron-right

    Hyperliquid

    Nansen's Hyperliquid API endpoints provide comprehensive access to perp trading data on Hyperliquid. Track positions, analyze trades, screen tokens, and follow smart money activity across the fastest-growing perps platform.

    hashtag
    What can you do?

    With Hyperliquid endpoints, you can:

    • Track wallet positions: Monitor real-time perpetual positions, PnL, and account health

    • Analyze trading activity: View detailed trade history and execution data of any address

    • Screen perp trading activity: Find high-volume tokens and smart money flows on Hyperliquid

    • Find top performers: Discover the most profitable traders on specific tokens.

    hashtag
    Which endpoints can I use?

    I want to...
    Use this endpoint
    Best for

    hashtag
    Key Differences: Hyperliquid vs. Other Chains

    hashtag
    Token Identification

    Important: Hyperliquid perp endpoints use token symbols instead of token addresses in Token God Mode Inputs

    Other Chains
    Hyperliquid

    Example:

    hashtag
    Positive and Negative Positions

    Some endpoints (Eg. Token Perp Positions) have negative Position value. This usually represents a short and a positive value represents a long.

    hashtag
    Quick Start Checklist

    1. Get your API key from Nansen

    2. Choose your use case:

      • Wallet monitoring โ†’ Use /perp-positions + /perp-trades

    Portfolio

    DeFi Holdings API tracks active positions across DeFi protocols.

    hashtag
    Output Field Meanings

    hashtag
    Top-Level Fields

    hashtag
    Position Types within holdingsByProtocol

    hashtag
    Position Detail Structure

    hashtag
    Supported Protocols

    You can find the list of supported protocols on each supported chain by .

    hashtag
    Usage Guide: Creating Complete Portfolio Overview

    Use the following steps to create a complete Portfolio Overview:

    Step 1: Fetch DeFi Positions Get active protocol positions, staking rewards, and lending activities. This shows how assets are being used in DeFi.

    Step 2: Fetch Wallet Balances Retrieve all token holdings across chains, including idle tokens not actively deployed in protocols.

    Step 3: Combine & Analyze

    • Total Portfolio Value = DeFi positions + wallet balances

    • Strategy Analysis: Compare liquid vs. staked vs. lending positions

    • Chain Distribution: Identify multi-chain allocation patterns

    curl -L \
      --request POST \
      --url 'https://api.nansen.ai/api/v1/token-screener' \
      --header 'apiKey: YOUR_API_KEY' \
      --header 'Content-Type: application/json' \
      --data '{
        "chains": [
          "ethereum",
          "solana",
          "base"
        ],
        "date": {
          "from": "2025-01-01T00:00:00Z",
          "to": "2025-01-31T23:59:59Z"
        },
        "pagination": {
          "page": 1,
          "per_page": 10
        },
        "filters": {
          "only_smart_money": true,
          "token_age_days": {
            "max": 365,
            "min": 1
          }
        },
        "order_by": [
          {
            "field": "chain",
            "direction": "ASC"
          }
        ]
      }'

    Find profitable wallets and copy trading

    Find high-volume perp tokens or see where smart money is trading

    Market discovery & trends

    Find the most profitable traders on a specific perp token

    Performance rankings

    Track what smart money wallets are trading on Hyperliquid

    Real-time smart money

    See all open positions for a specific perp token including leverage, PnL, and liquidation prices

    Snapshot of current positions for a token

    View trading history for a specific perp token over a time period

    All trading activity for a specific token

    Market discovery โ†’ Use /perp-screener

  • Copy trading โ†’ Use /perp-leaderboard + /tgm/perp-pnl-leaderboard

  • Remember: Use token symbols (BTC, ETH) not addresses

  • Add filters: Refine results with volume, PnL, or time filters

  • See all open positions for a wallet including leverage, PnL, and liquidation prices

    Address Perp Positionsarrow-up-right

    Snapshot of current positions

    View a wallet's trading history with entry/exit prices, fees, and PnL

    Address Perp Tradesarrow-up-right

    Trade by trade breakdown of address activity

    token_address: "0x1234..."

    token_symbol: "BTC"

    Use contract addresses

    Use ticker symbols (BTC, ETH, SOL, etc.)

    See top profitable wallets on Hyperliquid over a given period

    locked

    Time-locked or vested tokens (e.g., vote-escrowed tokens)

    rewards

    Claimable but unclaimed protocol rewards

    farms

    Yield farming positions with staked LP tokens

    Risk Assessment: Analyze borrowing ratios, protocol concentration

    Field

    Description

    protocolsUsed

    Array of protocol names the wallet actively uses (e.g., "aave-v3-ethereum")

    holdingsByProtocol

    Detailed breakdown of positions per protocol

    success

    Boolean indicating API call success

    totalProtocols

    Count of protocols with detected activity

    Type

    Description

    deposits/lendings

    Assets supplied to lending protocols (Aave, Compound), including amounts, value, and rewards

    borrows

    Borrowed assets with debt ratios and health factors

    stakings

    Tokens staked for rewards (liquid staking, governance tokens)

    positions

    Field

    Description

    type

    Position category (e.g., "lending", "common", "locked")

    summary

    High-level metrics (asset value, rewards, debt)

    detail

    Granular breakdown including individual token balances, prices, and price changes

    clicking herearrow-up-right
    (Link Here)arrow-up-right

    Complex positions like LP tokens, derivatives, or structured products

    Use case 3: Identifying Related Wallets at Scale

    hashtag
    Scenario

    An address clustering workflow that uses the Nansen API to systematically identify related wallet addresses and analyze their relationships. This enables researchers to uncover wallet connections through funding patterns, shared interactions, and behavioral analysis across multiple blockchains.

    hashtag
    Core Components

    • Labels: Find labels of the initial address

    • Related Wallets: Detection of special connections (funding, signing, contract deployment)

    • Counterparties Analysis: Identification of high-interaction addresses and shared patterns

    This integration enables systematic discovery of wallet clusters through multiple relationship types and confidence levels.

    hashtag
    Workflow Implementation

    Step 1: Tarket Address Label Lookup

    • Query labels of the target address

    hashtag
    Step 2: Initial Relationship Discovery

    • Query Related Wallets endpoint with target address

    • Identify direct relationships: relation: "First Funder", "Signer", "Deployed via"

    • Build initial cluster with high-confidence connections

    hashtag
    Step 3: Counterparty Analysis

    • Analyze counterparties with group_by: "entity" for entity-level grouping

    • Filter for volume_in_usd > 50000 to find significant addresses

    • Identify shared CEX deposit addresses across potential cluster members

    hashtag
    Step 4: Pattern Recognition

    • Compare transaction timing using block_timestamp fields

    • Look for addresses with similar method: "0x" patterns

    • Check for coordinated movements with matching transaction_type

    hashtag
    Step 5: Multi-Level Clustering

    • For each high-confidence related address, repeat steps 1-3

    • Cross-reference addresses that deposit to same CEX addresses

    • Build network graph of relationships with confidence scores

    hashtag
    Step 6: Confidence Assessment

    • High confidence (>90%): First funder, shared signers, same CEX deposits

    • Medium confidence (60-90%): High interaction volume, coordinated timing

    • Low confidence (<60%): Indirect relationships, behavioral similarities

    hashtag
    Step 7: Validation and Refinement

    • Check balance patterns for coordinated movements

    • Filter out false positives from common protocol interactions

    hashtag
    Code Examples

    hashtag
    1. Find Target Address Labels

    Identify all the labels associated with the target address

    hashtag
    2. Find Related Wallets (Direct Relationships)

    Identify wallets with special connections to a target address:

    This reveals first funder relationships, signer connections, multisig relationships, and contract deployment patterns.

    hashtag
    3. Analyze Address Counterparties

    Find addresses with the highest interaction volume:

    This identifies CEX deposit addresses and high-frequency interaction patterns crucial for clustering.

    hashtag
    4. Track Historical Balance Patterns

    Analyze coordinated balance movements across potential cluster members:

    Coordinated balance changes across addresses indicate potential cluster membership.

    hashtag
    5. Examine Transaction Patterns

    Review transaction history for behavioral similarities:

    Similar transaction timing and patterns across addresses suggest coordinated activity.

    Use case 1: Automated Token Tracking & Smart Money Analysis

    hashtag
    Scenario

    A DeFi trading team automated their token discovery and smart money analysis using Nansen's API. They built custom tools that combine multiple data sources to identify promising trading opportunities in real-time.

    hashtag
    Problem

    • Manual Process: Hours spent cross-referencing multiple dashboards

    • Fragmented Data: Token analysis scattered across different platforms

    • Slow Decisions: Opportunities missed due to manual analysis delays

    hashtag
    Solution

    The team built an automated system using three core Nansen API endpoints:

    1. Token Screener () - Find trending tokens

    2. Smart Money Netflow () - Track institutional buying

    3. TGM PnL Leaderboard () - Score trader credibility

    hashtag
    Step-by-Step Guide

    Step 1: Configure Your Token Screener Filters

    Start by selecting the chains you want to analyze (e.g., Ethereum, Solana). Apply filters to narrow down your search:

    • Set market cap range (min and max) to target tokens with desired liquidity.

    • Specify minimum liquidity and number of traders to focus on active, tradable tokens.

    • Limit token age to capture new and trending assets.

    Step 2: Analyze Smart Money Netflow

    Use the Smart Money Netflow endpoint to track institutional and expert activity:

    • Select your chains.

    • Include smart money labels such as โ€œFundโ€, โ€œSmart Traderโ€, and โ€œ30D Smart Traderโ€ for targeted analysis.

    • Set a minimum market cap and trader count to filter out low-activity tokens.

    Step 3: Validate Trader Credibility with TGM PnL Leaderboard

    For any token of interest, use the TGM PnL Leaderboard:

    • Specify the chain and token address.

    • Set your date range for analysis.

    • Filter for holders with significant USD value and realized profit.

    hashtag
    Code Blocks

    hashtag
    Token Screener API Call

    hashtag
    Smart Money Netflow API Call

    hashtag
    TGM PnL Leaderboard API Call

    Use Case 2: Find & Copytrade Wallets on Hyperliquid

    Use Nansen API To Find and Copytrade Profitable Wallets on Hyperliquid

    hashtag
    1. Scenario

    Identify and replicate trades from successful perpetual traders on Hyperliquid by monitoring their positions and trade activity in real-time.

    Goal: Build an automated copytrading system that:

    1. Discovers profitable traders using the Hyperliquid leaderboard

    2. Monitors their perpetual positions and recent trades

    3. Replicates their trading activity in your own account

    hashtag
    2. Solution

    Use three Nansen API endpoints:

    1. Perp Leaderboard - Discover top performing traders by PnL and ROI

    2. Perp Positions - Monitor current open positions for selected wallets

    3. Perp Trades - Track all trades executed by profitable wallets

    Optional: Filter the leaderboard to smart money wallets only for higher quality signals.

    Example workflow:

    1. Discover top Smart Money traders from Step 1

    2. Every 30 minutes to an hour:

      1. Fetch recent trades (last 1 hour) for all traders

    hashtag
    3. Step-by-Step Guide

    Step 1: Find Profitable Traders on Hyperliquid

    Use the Perp Leaderboard endpoint to discover the most profitable perpetual traders over a specific timeframe.

    Call the perp leaderboard endpoint:

    Process the response:

    • Extract trader_address from top performers

    • Note their total_pnl, roi, and account_value for ranking

    Example response:

    Step 2: Monitor Current Positions

    For each profitable trader identified, check their current open positions to understand what they're actively trading.

    Call the perp positions endpoint:

    Process the response:

    • Identify active positions by token_symbol (e.g., BTC, ETH, SOL)

    • Note position direction from size (positive = long, negative = short)

    • Review unrealized_pnl_usd

    Key fields to monitor:

    • token_symbol: The perpetual contract being traded

    • size: Position size (negative for short, positive for long)

    • position_value_usd: Total position value

    Step 3: Track Trading Activity

    Monitor recent trades to identify entry and exit signals you can replicate.

    Call the perp trades endpoint:

    Process the response:

    • Identify new positions from trades where action = "Open"

    • Detect position increases where action = "Add"

    • Track exits where action = "Close" or "Reduce"

    Key fields for copytrading:

    • timestamp: When the trade occurred

    • token_symbol: What contract was traded (e.g., BTC, ETH)

    • side: Position direction (Long or Short)

    Points

    Developer reference for the Permissionless Rewards API service.

    hashtag
    Permissionless Rewards: Concepts

    Before integrating the Nansen Points Leaderboard endpoint, it helps to understand Permissionless Rewards at a high levelโ€”see Nansen Academy: On Permissionless Rewardsarrow-up-right for full details.

    • What they are: An open registry that maps Nansen Points balances to onchain wallets (EVM and Solana), without requiring an API key or explicit permission from Nansen.

    • Why it matters: Protocols can seamlessly discover eligible wallets and distribute tokens, NFTs, or other perksโ€”fully public and opt-in.

    • User control: Holders can add or remove their wallet mapping at any time, revoking future distributions.

    hashtag
    A. Points Leaderboard (Paginated)

    GET

    Query the full leaderboard with pagination. No authentication required.

    hashtag
    Query Parameters

    Name
    Type
    Required
    Default
    Description

    hashtag
    Example Request

    hashtag
    Response Structure

    Results are ordered by rank. Ties share the same rank.

    hashtag
    B. Individual Lookup

    GET

    Fetch the tier for a single wallet address. No API key or authentication required.

    hashtag
    Query Parameters

    Name
    Type
    Required
    Description

    hashtag
    Example Request

    hashtag
    Response Structure

    hashtag
    References

    hashtag
    Response Codes

    Code
    Description

    hashtag
    Fields Response:

    Field
    Type
    Description

    hashtag
    Usage Notes

    • Minimum Qualification: Wallets with fewer than 1,000 points return {"tier":"none"}

    • Public & Permissionless: No authentication required.

    • Data Refresh: Tier data refreshes daily at 11am UTC. Implement local caching to reduce redundant calls.

    Tools supported by Nansen MCP

    hashtag
    Tools supported by Nansen MCP

    Explore the suite of tools available through Nansen MCP. Each tool is purpose-built to deliver actionable blockchain insights โ€” from tracking smart money movements to analyzing token flows and wallet activities.

    Total tools: 24

    Protocol: JSON-RPC 2.0 over Streamable HTTP (SSE) Endpoint: https://mcp.nansen.ai/ra/mcp Auth: NANSEN-API-KEY header Required header: Accept: application/json, text/event-stream

    hashtag
    Quick Reference

    Tool
    Description
    Credits

    hashtag
    Common Gotchas

    1. Most tools wrap arguments in {"request": {...}} but general_search and transaction_lookup take flat args

    2. Date ranges use object format: {"from": "YYYY-MM-DD", "to": "YYYY-MM-DD"}

    Simple Use cases

    Use the sample requests and responses to accelerate development and gain actionable insights from blockchain data.

    hashtag
    1. Viewing DeFi Positions

    Description: Get comprehensive information about a wallet's DeFi positions including balances, values, and token details.

    Use Case: Analyze DeFi portfolio performance, track position changes, and understand asset allocation.

    Endpoint Documentation:

    cURL Command (Replace your API Key and run this in your terminal):

    Key Benefits:

    • Complete portfolio overview across multiple chains

    • Real-time balance and value calculations

    Common Use Cases:

    • Portfolio tracking applications

    • DeFi protocol analytics

    • Risk management systems


    hashtag
    2. Viewing Smart Money Holdings

    Description: Discover which tokens top traders and funds are holding.

    Use Case: Follow smart money movements, identify trending tokens, and make informed investment decisions.

    Endpoint Documentation:

    cURL Command (Replace your API Key and run this in your terminal):

    Key Benefits:

    • Identify institutional investment trends

    • Track smart money portfolio changes

    • Filter by smart money categories

    Common Use Cases:

    • Investment research and analysis

    • Token discovery and trending analysis

    • Market sentiment analysis


    hashtag
    3. Finding Top Holders of a Token

    Description: Discover the largest holders of a specific token, including their balances and wallet types.

    Use Case: Analyze token distribution, identify major stakeholders, and understand market concentration.

    Endpoint Documentation:

    cURL Command (Replace your API Key and run this in your terminal):

    Key Benefits:

    • Identify major token holders and their types

    • Includes individual addresses and aggregated by entity views

    • Track balance changes over time

    Common Use Cases:

    • Token governance analysis

    • Market concentration studies

    • Risk assessment for token holders


    hashtag
    4. Using Token Screener to Find New Tokens

    Description: Discover new and trending tokens based on various metrics like market cap, token age, volume, and smart money activity.

    Use Case: Find emerging opportunities, track new token launches, and identify trending assets.

    Endpoint Documentation:

    cURL Command:

    Key Benefits:

    • Discover new token opportunities

    • Filter by market cap, volume, sectors and age

    • Track trending metrics and holder growth

    Common Use Cases:

    • Token discovery using different metrics


    hashtag
    Next Steps

    Once you're comfortable with these easy-level use cases, explore:

    • Medium Level: Advanced filtering, historical data analysis, and multi-chain operations

    • Hard Level: Complex analytics, data aggregation, and real-time monitoring systems

    For more information, refer to the complete API documentation and examples in the repository.

    Smart Money

    hashtag
    Overview

    Smart Money endpoints provide insights into the trading and holding activity of sophisticated market participants, including institutional funds and historically profitable traders.

    hashtag
    Endpoints

    // Other chains
    {"token_address": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2"}
    
    // Hyperliquid
    {"token_symbol": "BTC"}  // For leaderboard endpoint
    Hyperliquid Leaderboardarrow-up-right
    Perp Screenerarrow-up-right
    Perp PnL Leaderboardarrow-up-right
    Smart Money Perp Trades
    Token Perp Positions
    Token Perp Trades

    Top token holders with labels

    5

    token_dex_trades

    DEX trading activity for a token

    1

    token_transfers

    Token transfer history

    1

    token_flows

    Hourly aggregated token flows by segment

    1

    token_pnl_leaderboard

    Trader PnL rankings for a token

    5

    token_who_bought_sold

    Total bought/sold by address (DEX)

    1

    token_recent_flows_summary

    Flow summary by segment (Smart Money, Whales, etc.)

    1

    token_discovery_screener

    Multi-chain token screening with filters

    1

    token_ohlcv

    OHLCV price data with auto interval

    1

    token_quant_scores

    Quantitative scores for a token

    2

    nansen_score_top_tokens

    Top tokens ranked by Nansen score

    1

    address_historical_balances

    Historical token & native coin balances

    1

    address_related_addresses

    First funders, signers, deployed contracts

    1

    address_counterparties

    Most interacted addresses/entities

    5

    address_transactions

    Recent transactions for an address

    1

    wallet_pnl_for_token

    PnL for a specific token by wallet

    1

    wallet_pnl_summary

    Overall realized PnL for a wallet

    1

    address_portfolio

    Full portfolio overview & DeFi positions

    1

    general_search

    Search tokens, entities, addresses (free)

    0

    growth_chain_rank

    Chain growth rankings by key metrics

    1

    hyperliquid_leaderboard

    Top HyperLiquid traders leaderboard

    9

    transaction_lookup

    Transaction details with transfers (EVM)

    1

    Wallet tools use addresses: ["0x..."] (plural array), not address: "0x..." โ€” except wallet_pnl_for_token, wallet_pnl_summary (singular address), and address_portfolio (wallet_address)

  • Enum values are case-sensitive: "BUY" / "SELL" โ€” not lowercase

  • HyperLiquid dates accept relative strings: "7D_AGO", "30D_AGO", "NOW"

  • smart_traders_and_funds_token_balances

    Smart money holdings & 24h changes

    5

    smart_traders_and_funds_perp_trades

    Smart money perpetual trades (HyperLiquid)

    5

    token_current_top_holders

    values
    Poor Scalability: Process couldn't handle growing portfolio needs

    Enable โ€œonly_smart_moneyโ€ to prioritize tokens held by sophisticated traders.

  • Order results by volume (descending) for immediate visibility on high-activity tokens.

  • Order by net flow over the past 7 days to surface tokens with significant smart money movement.
    Use pagination to manage large datasets.
  • This step helps you confirm which traders are consistently profitable, adding confidence to your token selection.

  • Link Herearrow-up-right
    Link Herearrow-up-right
    Link Herearrow-up-right
    Identify new "Open" or "Add" Actions
  • Execute matching trades on your account

  • Every couple of hours

    1. Check current positions vs tracked wallets

    2. Close any positions where traders have exited

    3. Rebalance position sizes if needed

  • Filter by trader_address_label to identify known smart money wallets
  • Store addresses for monitoring in the next steps

  • to gauge current profitability
  • Check leverage_value to understand risk levels

  • Use entry_price_usd and liquidation_price_usd for position context

  • unrealized_pnl_usd: Current unrealized profit/loss

  • leverage_value: Leverage multiplier used

  • entry_price_usd: Average entry price

  • mark_price_usd: Current market price

  • Note the side (Long/Short) and token_symbol for each trade

  • Monitor price, size, and value_usd to replicate sizing

  • Check closed_pnl to understand profitability of closed trades

  • action: Trade action (Open, Add, Close, Reduce)

  • price: Execution price

  • size: Trade size in token units

  • value_usd: USD value of the trade

  • start_position: Position size before this trade

  • closed_pnl: Realized profit/loss (for closing trades)

  • (Link Here)arrow-up-right
    (Link Here)arrow-up-right
    (Link Here)arrow-up-right

    integer

    No

    1

    Page number (min: 1)

    recordsPerPage

    integer

    No

    10

    Results per page (min: 1, max: 10,000)

    number

    Total accumulated Nansen Points

    evm_address

    string

    Linked EVM rewards wallet

    solana_address

    string

    Linked Solana rewards wallet

    tier

    string

    No

    all tiers

    Filter by tier: green, ice, north, star

    address

    string

    Yes

    EVM or Solana wallet address. Case-insensitive.

    200

    Successful response

    400

    Invalid parameters

    tier

    string

    Tier name determined by points thresholds. Valid tier values are: "none," "green," "ice," "north," or "star." Addresses not on the leaderboard return "none."

    rank

    number

    Leaderboard rank. Users with the same points share the same rank.

    https://app.nansen.ai/api/points-leaderboard/apiarrow-up-right
    https://app.nansen.ai/api/points-leaderboard/api?tier=star&recordsPerPage=10arrow-up-right
    https://app.nansen.ai/api/points-leaderboard/{address}arrow-up-right
    https://app.nansen.ai/api/points-leaderboard/0xbbfb6566ad064c233af6314aeb1eee4c26a5f921arrow-up-right

    page

    points

    Understand token distribution patterns
    Click Herearrow-up-right
    Click Herearrow-up-right
    Click Herearrow-up-right
    Click Herearrow-up-right
    curl -L \
      --request POST \
      --url 'https://api.nansen.ai/api/beta/profiler/address/labels' \
      --header 'apiKey: YOUR_API_KEY' \
      --header 'Content-Type: application/json' \
      --data '{
        "parameters": {
          "chain": "ethereum",
          "address": "0xbdfa4f4492dd7b7cf211209c4791af8d52bf5c50"
        },
        "pagination": {
          "page": 1,
          "recordsPerPage": 100
        }
      }'
    curl -X POST "https://api.nansen.ai/api/v1/profiler/address/related-wallets" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "address": "0x28c6c06298d514db089934071355e5743bf21d60",
        "chain": "ethereum",
        "pagination": {
          "page": 1,
          "per_page": 20
        }
      }'
    curl -X POST "https://api.nansen.ai/api/v1/profiler/address/counterparties" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "address": "0x28c6c06298d514db089934071355e5743bf21d60",
        "chain": "ethereum",
        "date": {
          "from": "2024-07-01",
          "to": "2025-01-21"
        },
        "group_by": "wallet",
        "source_input": "Combined",
        "filters": {
          "total_volume_usd": {
            "min": 10000
          }
        },
        "order_by": [
          {
            "field": "total_volume_usd",
            "direction": "DESC"
          }
        ]
      }'
    curl -X POST "https://api.nansen.ai/api/v1/profiler/address/historical-balances" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "address": "0x28c6c06298d514db089934071355e5743bf21d60",
        "chain": "ethereum",
        "date": {
          "from": "2024-10-01",
          "to": "2025-01-21"
        },
        "filters": {
          "token_symbol": "USDC",
          "value_usd": {
            "min": 1000
          }
        }
      }'
    curl -X POST "https://api.nansen.ai/api/v1/profiler/address/transactions" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "address": "0x28c6c06298d514db089934071355e5743bf21d60",
        "chain": "ethereum",
        "date": {
          "from": "2025-01-01",
          "to": "2025-01-21"
        },
        "filters": {
          "volume_usd": {
            "min": 5000
          },
          "source_type": "transfer"
        }
      }'
    curl -X POST "https://api.nansen.ai/api/v1/token-screener" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "chains": ["ethereum", "solana"],
        "date": {
          "from": "2025-01-20T00:00:00Z",
          "to": "2025-01-21T23:59:59Z"
        },
        "pagination": {
          "page": 1,
          "per_page": 50
        },
        "filters": {
          "market_cap_usd": {
            "min": 1000000,
            "max": 100000000
          },
          "liquidity": {
            "min": 500000
          },
          "nof_traders": {
            "min": 100
          },
          "only_smart_money": true,
          "token_age_days": {
            "min": 1,
            "max": 30
          }
        },
        "order_by": [
          {
            "field": "volume",
            "direction": "DESC"
          }
        ]
      }'
    curl -L \
      --request POST \
      --url 'https://api.nansen.ai/api/v1/smart-money/netflow' \
      --header 'apiKey: YOUR_API_KEY' \
      --header 'Content-Type: application/json' \
      --data '{
        "chains": [
          "ethereum",
          "solana"
        ],
        "filters": {
          "include_smart_money_labels": [
            "Fund",
            "Smart Trader",
            "30D Smart Trader"
          ],
          "market_cap_usd": {
            "min": 1000000
          },
          "trader_count": {
            "min": 5
          }
        },
        "pagination": {
          "page": 1,
          "per_page": 10
        },
        "order_by": [
          {
            "field": "net_flow_7d_usd",
            "direction": "DESC"
          }
        ]
      }'
    
    curl -L \
      --request POST \
      --url 'https://api.nansen.ai/api/v1/tgm/pnl-leaderboard' \
      --header 'apiKey: YOUR_API_KEY' \
      --header 'Content-Type: application/json' \
      --data '{
        "chain": "ethereum",
        "token_address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
        "date": {
          "from": "2024-10-23",
          "to": "2025-01-21"
        },
        "pagination": {
          "page": 1,
          "per_page": 100
        },
        "filters": {
          "holding_usd": {
            "min": 1000
          },
          "pnl_usd_realised": {
            "min": 1000
          }
        }
      }'
    
    curl -X POST "https://api.nansen.ai/api/v1/perp-leaderboard" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "date": {
          "from": "2025-10-01",
          "to": "2025-10-31"
        },
        "filters": {
          "total_pnl": { "min": 10000 },
          "roi": { "min": 20 },
          "account_value": { "min": 50000 },
          "include_smart_money_labels": ["Fund", "Smart Trader"]
        },
        "pagination": { "page": 1, "per_page": 20 },
        "order_by": [{ "field": "total_pnl", "direction": "DESC" }]
      }'
    {
      "data": [
        {
          "trader_address": "0x28c6c06298d514db089934071355e5743bf21d60",
          "trader_address_label": "Smart Money Trader [0x28c6c0]",
          "total_pnl": 45230.50,
          "roi": 35.2,
          "account_value": 150000.0
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 20,
        "total": 150
      }
    }
    curl -X POST "https://api.nansen.ai/api/v1/profiler/perp-positions" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "address": "0x28c6c06298d514db089934071355e5743bf21d60",
        "order_by": [{ "field": "position_value_usd", "direction": "DESC" }]
      }'
    curl -X POST "https://api.nansen.ai/api/v1/profiler/perp-trades" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "address": "0x28c6c06298d514db089934071355e5743bf21d60",
        "date": {
          "from": "2025-10-30T00:00:00Z",
          "to": "2025-10-31T23:59:59Z"
        },
        "filters": {
          "value_usd": { "min": 5000 }
        },
        "pagination": { "page": 1, "per_page": 100 },
        "order_by": [{ "field": "timestamp", "direction": "DESC" }]
      }'
    "results": [
          {                                                                                                                                                                                    
            "rank": 1,
            "points": 982400,
            "evm_address": "0x1234...abcd",
            "solana_address": null,                                                                                                                                                            
            "tier": "Star",                                                                                                                                                                    
            "is_eligible": true                                                                                                                                                                
          },                                                                                                                                                                                   
          {                                                                                                                                                                                    
            "rank": 2,                                                                                                                                                                         
            "points": 871200,                                                                                                                                                                  
            "evm_address": "0x5678...efgh",                                                                                                                                                    
            "solana_address": "7xKX...9mPq",                                                                                                                                                   
            "tier": "Star",                                                                                                                                                                    
            "is_eligible": true                                                                                                                                                                
          }                                                                                                                                                                                    
        ]
       {"tier":"star"}
    curl -L \
      --request POST \
      --url 'https://api.nansen.ai/api/v1/portfolio/defi-holdings' \
      --header 'apiKey: YOUR_API_KEY' \
      --header 'Content-Type: application/json' \
      --data '{
        "wallet_address": "0x4062b997279de7213731dbe00485722a26718892"
      }'
    curl -L \
      --request POST \
      --url 'https://api.nansen.ai/api/v1/smart-money/holdings' \
      --header 'apiKey: YOUR_API_KEY' \
      --header 'Content-Type: application/json' \
      --data '{
      "chains": [
        "ethereum",
        "solana",
        "base"
      ],
      "pagination": {
        "page": 1,
        "per_page": 50
      },
      "order_by": [
        {
          "field": "value_usd",
          "direction": "DESC"
        }
      ]
    }'
    curl -L \
      --request POST \
      --url 'https://api.nansen.ai/api/v1/tgm/holders' \
      --header 'apiKey: YOUR_API_KEY' \
      --header 'Content-Type: application/json' \
      --data '{
        "chain": "solana",
        "token_address": "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv",
        "aggregate_by_entity": false,
        "label_type": "all_holders",
        "pagination": {
          "page": 1,
          "per_page": 10
        },
        "order_by": [
          {
            "field": "value_usd",
            "direction": "DESC"
          }
        ]
      }'
    curl -L \
      --request POST \
      --url 'https://api.nansen.ai/api/v1/token-screener' \
      --header 'apiKey: YOUR_API_KEY' \
      --header 'Content-Type: application/json' \
      --data '{
        "chains": [
          "ethereum",
          "solana",
          "base"
        ],
        "date": {
          "from": "2025-08-27T00:00:00Z",
          "to": "2025-09-03T23:59:59Z"
        },
        "pagination": {
          "page": 1,
          "per_page": 10
        },
        "filters": {
          "token_age_days": {
            "max": 7
          }
        },
        "order_by": [
          {
            "field": "market_cap_usd",
            "direction": "DESC"
          }
        ]
      }'
    
    Endpoint
    Path
    Description

    Netflow

    /api/v1/smart-money/netflow

    Net capital flows (inflows vs outflows)

    DEX Trades

    /api/v1/smart-money/dex-trades

    Real-time DEX trading activity

    hashtag
    Supported Chains

    Smart Money endpoints support these chains:

    Chain
    Value

    Ethereum

    ethereum

    Solana

    solana

    Base

    base

    BNB Chain

    hashtag
    Smart Money Labels

    Filter by these smart money labels:

    Label
    Description

    Fund

    Institutional investment funds

    Smart Trader

    Historically profitable traders

    30D Smart Trader

    Top performers (30-day window)

    90D Smart Trader

    hashtag
    Common Request Pattern

    hashtag
    Next:

    Netflowschevron-right
    Holdingschevron-right
    Historical Holdingschevron-right
    DEX Tradeschevron-right
    Perp Tradeschevron-right
    Jupiter DCAschevron-right

    Credits & Pricing Guide

    Welcome to our updated API pricing and credit system. Weโ€™ve made it easier to get started, scale up, and pay only for what you need.

    hashtag
    Available API Plans

    We offer two main API plans to fit your needs:

    Plan
    Credits Included
    Top Ups
    Intended Use

    For more information on plan features, visit .

    hashtag
    Pro Plan Details

    • Subscription: $49/month (annual) or $69/month (monthly)

    • Starter Credits: Get 1,000 credits to start building before making your first purchase

    • Flexi-Credits: Purchase as many credits as you want. (Here's a )

    hashtag
    Free Plan Details

    • 100 one-time credits to try the API

    • Ability to purchase credits

    • API credits are consumed much faster than Pro plan

    chevron-rightList of Available Endpoints in Free Tierhashtag

    Free plan users have access to the following endpoints:

    • /v1/profiler/address/transactions

    hashtag
    What Your Budget Gets You?

    circle-info

    You can also use to easily plan your API budget.

    Quickly compare what each credit package unlocks across our main API features.

    Budget
    Credits
    What it gets you

    hashtag
    Endpoint Credit Cost

    Credit costs are structured to reflect the value of the data youโ€™re accessing. Foundational data is inexpensive to encourage frequent use, while our proprietary, alpha-generating data costs more.

    Endpoint
    Credit Cost per Call (Pro)
    Credit Cost per Call (Free)

    hashtag
    FAQs

    What happens if I run out of credits?

    You can purchase additional credit blocks at any time to ensure your service is not interrupted.

    Are there higher tiers or enterprise plans?

    No, the Pro plan is designed to meet most needs. However, if you are making a bulk credit purchase over $10,000, please reach out to our sales team to discuss a custom solution.

    How do I track my credit usage?

    You can track your credit usage by visiting this link:

    x402 Payments

    hashtag
    Overview

    x402 enables pay-per-call access to the Nansen API using cryptocurrency. No subscription or API key required. Send a request, pay with USDC on EVM (Base) or Solana, and get data back.

    hashtag
    How It Works

    x402 is an open HTTP payment protocol. When you make a request to a supported endpoint without an API key, the server returns a 402 Payment Required response with payment instructions. Your client pays the specified amount in USDC, then retries the request with a payment receipt.

    hashtag
    Request Flow

    hashtag
    Example

    With an x402-compatible client, payment and retry happen automatically:

    hashtag
    Pricing

    All Pro-tier endpoints are available via x402 (except labels endpoint). Pricing is based on endpoint tier.

    Tier
    Price Per Call
    Endpoints

    hashtag
    Basic Endpoints โ€” $0.01/call

    Endpoint
    Path

    hashtag
    Premium Endpoints โ€” $0.05/call

    Endpoint
    Path

    hashtag
    Smart Money Endpoints โ€” $0.05/call

    Endpoint
    Path

    hashtag
    Excluded Endpoints

    • /api/v1/labels/*; these require a Pro subscription due to the proprietary nature of Nansen's entity classification data.

    • /api/v1/portfolio/defi-holdings

    hashtag
    Payment Details

    Parameter
    Value

    hashtag
    Rate Limits

    x402 requests have separate rate limits from API key authenticated requests.

    Limit
    Value

    If you exceed rate limits, you'll receive a 429 Too Many Requests response. Payments are not charged for rate-limited requests.

    hashtag
    FAQ

    Q: Do I need a Nansen account? No. x402 is fully permissionless. You only need a wallet with USDC on Base or Solana.

    Q: What happens if payment fails? You'll receive a 402 Payment Required response again. No data is returned until payment succeeds.

    Q: Can I use x402 and an API key together? If you include a valid API key, it takes precedence and no x402 payment is required.

    Q: Which networks are supported for payment? Currently Base and Solana. More networks may be added in the future.

    Q: Is there a minimum balance required? No minimum. You just need enough USDC to cover the call price plus gas fees (typically < $0.01).

    Use case 4: Copytrading Top Performing Wallets

    hashtag
    Scenario

    A copy trading workflow that uses the Nansen API to deliver structured, real-time onchain token insights. This enables traders to understand token flows, track smart money activity, and evaluate token performance across multiple chains.

    hashtag
    Core Components

    • Flow Intelligence (): Real-time tracking of wallet inflows and outflows for each token

    • PnL Leaderboard (): Identification of top-performing wallets by token

    • PnL Summary (): Cross-chain wallet performance analysis

    hashtag
    Step-by-Step Guide

    hashtag
    Step 1: Track Token Flow Intelligence

    • Select your target blockchain (chain: "ethereum") and token address (token_address: "0x6982508145454ce325ddbe47a25d4ec3d2311933").

    • Call the Flow Intelligence endpoint with timeframe: "7d" to monitor weekly inflows and outflows.

    hashtag
    Step 2: Find Top-Performing Wallets For a Token

    • Use the PnL Leaderboard endpoint with chain: "ethereum" and your token address.

    • Set date range with date: { "from": "2024-10-01", "to": "2025-01-21" } for 3-month analysis.

    • Apply filter pnl_usd_realised: { "min": 1000 }

    hashtag
    Step 3: Assess Cross-Chain Wallet Performance

    • For any wallet, use PnL Summary with address: "0x39d52da6beec991f075eebe577474fd105c5caec" and chain: "ethereum".

    • Set date: { "from": "2024-07-01", "to": "2025-01-21" } for 6-month performance history.

    hashtag
    Step 4: Monitor Smart Money DEX Trades

    • Call Smart Money DEX Trades with chains: ["ethereum", "base", "arbitrum"] for multi-chain coverage.

    • Apply filters: token_bought_address: "0x6982508145454ce325ddbe47a25d4ec3d2311933" and trade_value_usd: { "min": 10000 }.

    hashtag
    Step 5: Analyze Token Holder Distribution

    • Access Token Holders endpoint with chain: "ethereum" and your token address.

    • Set label_type: "smart_money" and filter with include_smart_money_labels: ["Smart Trader", "Fund", "30D Smart Trader"].

    hashtag
    Step 6: Implement and Refine Copy Trading

    • Select wallets with roi_percent_realised > 50 and win_rate > 0.6 from your PnL analysis.

    • Set up monitoring with pagination: { "page": 1, "per_page": 20 } to track the top 20 performers.

    hashtag
    Code Examples

    hashtag
    1. Get Token Flow Intelligence

    Track real-time capital flows to identify accumulation or distribution patterns:

    This endpoint reveals net flows across different wallet segments (smart traders, whales, public figures) helping identify whether sophisticated players are accumulating or distributing.

    hashtag
    2. Get PnL Leaderboard (Find Highest Performing Wallets)

    Identify the most profitable traders for any token:

    This leaderboard shows which wallets have the highest realized profits, enabling copy traders to identify successful trading patterns.

    hashtag
    3. Get Wallet PnL Summary (Cross-Chain Performance)

    Analyze a trader's overall performance and success rate:

    This provides win-rate, realized PnL, and top profitable tokens for any wallet, helping assess trader quality before copying their strategies.

    hashtag
    4. Track Smart Money DEX Trades

    Monitor real-time trading activity from sophisticated traders:

    Real-time smart money trades provide copy trading signals by showing what experienced traders are buying or selling right now.

    hashtag
    5. Analyze Token Holder Distribution

    Understand token concentration and holder quality:

    This shows smart money concentration in any token, helping traders assess whether sophisticated investors are holding or have exited.

    Endpoints Overview

    hashtag
    Overview

    The Nansen API provides endpoints organized into 4 categories. All endpoints use POST requests with JSON bodies.

    hashtag

    {
      "chains": ["ethereum", "solana"],
      "filters": {
        "include_smart_money_labels": ["Fund", "Smart Trader"],
        "value_usd": {"min": 10000}
      },
      "pagination": {
        "page": 1,
        "per_page": 100
      },
      "order_by": [
        {"field": "value_usd", "direction": "DESC"}
      ]
    }

    Perp Trades

    /api/v1/smart-money/perp-trades

    Perpetual trading on Hyperliquid

    DCAs

    /api/v1/smart-money/dcas

    DCA strategies on Jupiter

    Holdings

    /api/v1/smart-money/holdings

    Aggregated token balances

    Historical Holdings

    /api/v1/smart-money/historical-holdings

    Historical balance snapshots

    bnb

    Arbitrum

    arbitrum

    Polygon

    polygon

    Optimism

    optimism

    Avalanche

    avalanche

    Linea

    linea

    Scroll

    scroll

    zkSync

    zksync

    Mantle

    mantle

    Ronin

    ronin

    Sei

    sei

    Plasma

    plasma

    Sonic

    sonic

    Unichain

    unichain

    Monad

    monad

    HyperEVM

    hyperevm

    IOTA EVM

    iotaevm

    Top performers (90-day window)

    180D Smart Trader

    Top performers (180-day window)

    Smart HL Perps Trader

    Profitable Hyperliquid traders

    AI Agent Access

    Connect your AI agent to Nansen's blockchain data API in under a minute.

    hashtag
    Get Started

    Setup URLarrow-up-right

    1. Your agent will ask you to visit the setup page

    2. Sign in with your Nansen account

    3. Copy the message shown

    4. Paste it back to your agent

    Your agent saves the key and handles everything else automatically.

    Expiry: Credits expire 1 year from purchase
    /v1/profiler/address/current-balance
  • /v1/profiler/address/historical-balances

  • /v1/profiler/address/counterparties

  • /v1/profiler/address/related-wallets

  • /v1/tgm/flows

  • /v1/tgm/who-bought-sold

  • /v1/tgm/dex-trades

  • /v1/tgm/transfers

  • /v1/tgm/holders

  • /v1/portfolio/defi-holdings

  • /v1/transaction-with-token-transfer-lookup

  • /v1/token-screener

  • 1M

    1M balance/pnl/txn checks or 200K Smart Money calls or 2000 label lookups

    1

    10

    profiler/address/transactions

    1

    10

    profiler/perp-trades

    1

    10

    profiler/address/related-wallets

    1

    10

    profiler/pnl-summary

    1

    10

    profiler/pnl

    1

    10

    tgm/token-screener

    1

    10

    tgm/perp-screener

    1

    10

    tgm/transfers

    1

    10

    tgm/dcas

    1

    10

    tgm/flow-intel

    1

    10

    tgm/who-bought-sold

    1

    10

    tgm/dex-trades

    1

    10

    portfolio/defi-holdings

    1

    10

    tgm/flows

    1

    10

    All Smart Money endpoints (/inflows, /holdings, /dex-trades, etc.)

    5

    50

    profiler/perp-leaderboard

    5

    50

    tgm/perp-pnl-leaderboard

    5

    50

    profiler/address/counterparties

    5

    50

    tgm/holders

    5

    50

    tgm/pnl-leaderboard

    5

    50

    All Label endpoints

    500

    5000

    Pro

    1,000 Starter Credits (one time grant)

    โœ…

    Professional, production, and high volume integrations

    Free

    100 Trial Credits (one time grant)

    โœ…

    Brief experimentation and testing; comes at 10x credit consumption

    $100

    100K

    100K balance/pnl/txn checks or 20K Smart Money calls or 200 label lookups

    $500

    500K

    500K balance/pnl/txn checks or 100K Smart Money calls or 1000 label lookups

    profiler/address/current-balances

    1

    10

    profiler/address/historical-balances

    1

    10

    our pricing pagearrow-up-right
    purchase guidearrow-up-right
    this Credit Purchase Calculatorarrow-up-right
    https://app.nansen.ai/api?tab=usage-analyticsarrow-up-right

    $1000

    profiler/perp-positions

    $0.05

    SM Net Flow, SM Inflows, SM Holdings, SM DEX Trades

    Perp Trades

    /api/v1/profiler/perp-trades

    Related Wallets

    /api/v1/profiler/address/related-wallets

    PnL Summary

    /api/v1/profiler/address/pnl-summary

    PnL

    /api/v1/profiler/address/pnl

    Token Screener

    /api/v1/token-screener

    Perp Screener

    /api/v1/perp-screener

    Transfers

    /api/v1/tgm/transfers

    DCAs

    /api/v1/tgm/jup-dca

    Flow Intel

    /api/v1/tgm/flow-intelligence

    Who Bought/Sold

    /api/v1/tgm/who-bought-sold

    DEX Trades

    /api/v1/tgm/dex-trades

    DeFi Holdings

    /api/v1/portfolio/defi-holdings

    Flows

    /api/v1/tgm/flows

    Perp Leaderboard

    /api/v1/perp-leaderboard

    Basic

    $0.01

    Token Screener, Wallet Balances, Transactions, PnL, DEX Trades, Flows, and more

    Premium

    $0.05

    Counterparties, Holders, PnL Leaderboard, Perp Leaderboard

    Current Balances

    /api/v1/profiler/address/current-balance

    Historical Balances

    /api/v1/profiler/address/historical-balances

    Perp Positions

    /api/v1/profiler/perp-positions

    Transactions

    Counterparties

    /api/v1/profiler/address/counterparties

    Holders

    /api/v1/tgm/holders

    PnL Leaderboard

    /api/v1/tgm/pnl-leaderboard

    Perp PnL Leaderboard

    Net Flow

    /api/v1/smart-money/netflow

    Holdings

    /api/v1/smart-money/holdings

    DEX Trades

    /api/v1/smart-money/dex-trades

    All other SM endpoints

    Network

    Base & Solana

    Currency

    USDC

    Settlement

    Instant (onchain verification)

    Facilitator

    Per second (per wallet)

    5 requests

    Per minute (per wallet)

    60 requests

    Smart Money

    /api/v1/profiler/address/transactions

    /api/v1/tgm/perp-pnl-leaderboard

    /api/v1/smart-money/*

    Base: Coinbase CDP Solana: Payai

    TGM Holders (Link Herearrow-up-right): Identify top holders of any token

    Review net flows by wallet type - check smart_trader_net_flow_usd, whale_net_flow_usd, and public_figure_net_flow_usd fields to spot accumulation (positive values) or distribution (negative values) trends.
    to find wallets with over $1,000 realized profits.
  • Review the roi_percent_realised and nof_trades fields to identify consistent performers.

  • Check win_rate (target > 0.5), realized_pnl_usd, and top5_tokens array to judge trader reliability.
    Include include_smart_money_labels: ["Smart Trader", "Fund"] to focus on sophisticated traders.
  • Monitor token_bought_amount and estimated_swap_price_usd for entry points.

  • Apply filters: { "ownership_percentage": { "min": 0.1 }, "value_usd": { "min": 50000 } } to find significant holders.
  • Check balance_change_7d and balance_change_30d fields to see if smart money is accumulating (positive) or exiting (negative).

  • Use order_by: [{ "field": "pnl_usd_realised", "direction": "DESC" }] to prioritize highest profit wallets.
  • Refresh Flow Intelligence data with timeframe: "1h" for intraday monitoring during volatile periods.

  • Link Herearrow-up-right
    Link Herearrow-up-right
    Link Herearrow-up-right
    1. Client sends request (no API key)
    2. Server returns 402 with payment details
    3. Client pays USDC on Base or Solana
    4. Client retries with payment receipt in header
    5. Server verifies payment and returns data
    # 1. Initial request returns 402 with payment instructions
    curl -X POST 'https://api.nansen.ai/api/v1/smart-money/holdings' \
      -H 'Content-Type: application/json' \
      -d '{"chains": ["ethereum"]}'
    
    # Response: 402 Payment Required
    # Headers include payment details (amount, recipient, network)
    from x402.client import x402_client
    
    client = x402_client(wallet="YOUR_WALLET")
    
    response = client.post(
        "https://api.nansen.ai/api/v1/smart-money/holdings",
        json={"chains": ["ethereum"]}
    )
    # Payment handled automatically โ€” response contains data
    curl -X POST "https://api.nansen.ai/api/v1/tgm/flow-intelligence" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "chain": "solana",
        "token_address": "token_address_here",
        "timeframe": "7d"
      }'
    curl -X POST "https://api.nansen.ai/api/v1/tgm/pnl-leaderboard" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "chain": "solana",
        "token_address": "token_address_here",
        "date": {
          "from": "2024-10-23",
          "to": "2025-01-21"
        },
        "filters": {
          "pnl_usd_realised": {
            "min": 1000
          }
        }
      }'
    curl -X POST "https://api.nansen.ai/api/v1/profiler/address/pnl-summary" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "address": "wallet_address_here",
        "chain": "solana",
        "date": {
          "from": "2024-10-23",
          "to": "2025-01-21"
        }
      }'
    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"],
        "filters": {
          "token_bought_address": "token_address_here",
          "trade_value_usd": {
            "min": 10000
          }
        }
      }'
    curl -X POST "https://api.nansen.ai/api/v1/tgm/holders" \
      -H "apiKey: YOUR_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "chain": "solana",
        "token_address": "token_address_here",
        "label_type": "smart_money",
        "filters": {
          "include_smart_money_labels": ["Smart Trader", "Fund"]
        }
      }'
    Smart Money

    A curated list of the top 5 000 highest-performing wallets ranked by realised profit, winrate, and strong performance across market cycles.

    Endpoint
    Credit
    Description

    5

    Provides net flow of tokens bought/sold by Smart Money addresses

    5

    Holdings of tokens by Smart Money addresses.

    hashtag
    Agent

    Endpoint
    Credit
    Description

    200

    Ask Nansen Agent any question in fast mode

    750

    Ask Nansen Agent any question in expert mode

    hashtag
    Profiler

    A toolkit for diving deep into address relationships and behaviour, letting you analyse any wallet or entity cluster to uncover flows, counterparties, and behavioural patterns.

    Endpoint
    Credit
    Description

    1

    Current Token balances of an address

    1

    Historical holdings of a wallet address

    hashtag
    Token God Mode

    A comprehensive lens on a tokenโ€™s on-chain activity, combining Smart Money movements, holder-base analysis, and exchange-flow tracking in one view.

    Endpoint
    Credits
    Description

    1

    A token screening endpoint that provides real-time analytics and insights across multiple blockchain networks.

    1

    Discover and screen tokens on Hyperliquid with the highest volume and smart money activity.

    hashtag
    Portfolio API

    Endpoint
    Credits
    Description

    1

    Track DeFi positions of all addresses

    Filter Types

    hashtag
    Overview

    Filters allow you to narrow down API results to specific criteria. Each endpoint supports different filters based on the data it returns.

    hashtag
    Filter Types

    hashtag
    NumericRangeFilter

    Filter numeric values (floats) with optional min/max bounds.

    Schema:

    Fields:

    Field
    Type
    Description

    Examples:

    Common Uses:

    • value_usd - Filter by USD value

    • price_usd - Filter by price

    • market_cap_usd - Filter by market cap

    hashtag
    IntegerRangeFilter

    Filter integer values with optional min/max bounds.

    Schema:

    Fields:

    Field
    Type
    Description

    Examples:

    Common Uses:

    • holder_count - Filter by number of holders

    • token_age_days - Filter by token age

    • trade_count - Filter by number of trades

    hashtag
    DateRangeFilter

    Filter by date/time ranges.

    Schema:

    Fields:

    Field
    Type
    Description

    Formats:

    Examples:

    hashtag
    TokenAddressFilter

    Filter by one or more token addresses.

    Schema:

    Examples:

    hashtag
    TraderAddressFilter

    Filter by one or more trader/wallet addresses.

    Schema:

    Examples:

    hashtag
    LabelFilter

    Filter by smart money or entity labels.

    Schema:

    Smart Money Labels:

    Extended Labels:

    Examples:

    hashtag
    SectorsFilter

    Filter by token sector/category.

    Schema:

    Common Sectors:

    Examples:

    hashtag
    BooleanFilter

    Simple true/false filter.

    Schema:

    Examples:

    hashtag
    Filter Validation Rules

    hashtag
    Range Filters

    1. max must be greater than min if both provided

    2. Some fields require positive values only

    hashtag
    Date Filters

    1. to must be after from

    2. Maximum range is typically 1 year

    hashtag
    Address Filters

    1. Must match chain address format

    2. Cannot be burn/zero addresses for some endpoints

    hashtag
    Using Filters in Requests

    hashtag
    Basic Filter Usage

    hashtag
    Combining Multiple Filters

    hashtag
    Endpoint-Specific Filters

    Different endpoints support different filters. Check each endpoint's documentation for available filters.

    29-08-2025: Major API Restructuring

    This changelog highlights the key architectural and structural differences between the beta endpoints and v1 endpoints, focusing on breaking changes that developers need to be aware of when migrating.

    hashtag
    ๐Ÿ”„ Version Update

    • From: Beta endpoints (/api/beta/*

    Sorting

    hashtag
    Overview

    Most Nansen API endpoints support sorting results using the order_by parameter. This allows you to control the order of returned data.

    hashtag

    smart-money/historical-holdingsarrow-up-right

    5

    All Historical Holdings of Smart Money Wallets

    smart-money/dex-tradesarrow-up-right

    5

    All dex trades of smart money traders in the last 24h

    smart-money/dcas arrow-up-right

    5

    All Jupiter DCAs started by Smart Money Wallets on Solana

    smart-money/perp-trades

    5

    Track what smart money wallets are trading on Hyperliquid

    profiler/perp-positionsarrow-up-right

    1

    Fetch current positions, PnL and account health of a wallet

    profiler/address/transactionsarrow-up-right

    1

    List of transactions made by an address

    profiler/perp-trades

    1

    Get all Hyperliquid trades of a wallet

    profiler/address/related-wallets

    1

    List of related wallets and its first degree relation

    profiler/address/pnl-summary

    1

    Trade summary including top 5 trades

    profiler/address/pnl

    1

    List of Past Trades and their performance made by the address

    profiler/address/counterparties

    5

    Top Counterparties a wallet has interacted with

    perp-leaderboard

    5

    Get a list of most profitable Hyperliquid addresses

    /profiler/address/labels (Common labels)

    100

    Address and list of all its labels

    /profiler/address/labels (Premium labels)

    500

    Address and list of all its labels

    tgm/flow-intelligence

    1

    Summary of token flows across Smart Money, exchanges, Top PnL Traders, Public Figures, Whales, Fresh Wallets

    tgm/holders

    5

    Balance of top addresses, smart money, exchanges, public figures and whales that can be queried by address or by entity

    tgm/perp-positions

    5

    See all open positions for a specific perp token including leverage, PnL, and liquidation prices

    tgm/flows

    1

    Total Inflow and outflow of a token from smart money, exchanges, public figures or whales.

    tgm/who-bought-sold

    1

    Recent buyers and sellers of a token summarised

    tgm/perp-trades

    1

    View trading history for a specific perp token over a time period

    tgm/dex-trades

    1

    All DEX Trades of a Token

    tgm/transfers

    1

    Top Token Transfers of a token

    tgm/jup-dca

    1

    List of all Jupiter DCA orders of a token on Solana

    tgm/pnl-leaderboard

    5

    List of addresses and their total realised and unrealised PnL

    tgm/perp-pnl-leaderboard

    5

    List of addresses and their PnL for a specific token on Hyperliquid

    tgm/token-informationarrow-up-right

    1

    Get stats about Token Marketcap, Volume, Holders, Traders, etc

    tgm/indicatorsarrow-up-right

    5

    Get risk and reward indicators for a specific token.

    tgm/token-ohlcvarrow-up-right

    1

    Get unified OHLCVdata for tokens

    smart-money/netflowsarrow-up-right
    smart-money/holdingsarrow-up-right
    agent/fastarrow-up-right
    agent/expertarrow-up-right
    address/current-balancearrow-up-right
    profiler/address/historical-balancesarrow-up-right
    tgm/token-screener
    tgm/perp-screener
    portfolio/defi-holdings

    volume_24h_usd - Filter by volume

    min

    float

    Minimum value (inclusive)

    max

    float

    Maximum value (inclusive)

    min

    integer

    Minimum value (inclusive)

    max

    integer

    Maximum value (inclusive)

    from

    string

    Start date (ISO 8601 format)

    to

    string

    End date (ISO 8601 format)

    )
  • To: v1 endpoints (/api/v1/*)

  • hashtag
    ๐Ÿ—๏ธ Major Structural Changes

    hashtag
    1. Parameter Structure Overhaul

    Before (Beta): Nested Parameters Object

    After (v1): Structured Request with Nested Filters

    Impact: All existing client code must be restructured to remove the nested parameters wrapper.

    hashtag
    2. Naming Convention Changes

    Before (Beta): camelCase

    • tokenAddress

    • includeStablecoin

    After (v1): snake_case

    • tokenAddress โ†’ token_address`

    • smFilter โ†’ filters.smart_money.include (nested structure)

    • includeStablecoin โ†’ filters.include_stablecoins

    Impact: Significant impact - all fields are changed to snake_case

    hashtag
    3. Response Structure Standardization

    Before (Beta): camelCase Response Fields

    After (v1): snake_case Response Fields

    Note: Not all v1 endpoints return pagination fields - some return data only while others include pagination metadata. When pagination is present, it now includes an is_last_page boolean for easier pagination handling.

    Impact: All client code must be updated to handle snake_case field names in responses.

    hashtag
    ๐Ÿ“‹ Renamed Endpoint

    hashtag
    Smart Money Endpoints

    /beta/smart-money/inflows โ†’ /api/v1/smart-money/netflow

    hashtag
    Profiler Endpoints

    /beta/profiler/address/balances โ†’ /api/v1/profiler/address/current-balance

    hashtag
    ๐Ÿšจ Breaking Changes Summary

    hashtag
    Must Update:

    1. Remove nested parameters wrapper from all requests

    2. Handle new response structure with data and pagination fields

    3. Check parameter naming for snake_case vs camelCase changes

    hashtag
    Endpoint Migration Map

    hashtag
    Smart Money Endpoints

    /api/beta/smart-money/inflows โ†’ /api/v1/smart-money/netflow

    Changes:

    • Renamed from "inflows" to "netflow" for clarity

    • Request structure simplified (no parameters wrapper)

    • Enhanced filtering capabilities

    • Added comprehensive sorting options

    • Response includes pagination metadata

    New Features in V1:

    • remove_scam_tokens filter

    • hide_spam_tokens filter

    • token_sector filter

    • Custom sort ordering support

    /api/beta/smart-money/holdings โ†’ /api/v1/smart-money/holdings

    Changes:

    • Direct request body structure

    • Enhanced response with pagination

    • Improved filtering system

    • Added sort customization

    /api/beta/smart-money/dex-trades โ†’ /api/v1/smart-money/dex-trades

    Changes:

    • Simplified request structure

    • Added comprehensive trade filters

    • Enhanced label filtering

    • Improved response metadata

    /api/beta/smart-money/dcas โ†’ /api/v1/smart-money/dcas

    Changes:

    • Standardized request/response format

    • Enhanced filtering for DCA parameters

    • Added sort capabilities

    hashtag
    Wallet Profiler Endpoints

    /api/beta/profiler/address/transactions โ†’ /api/v1/profiler/address/transactions

    Changes:

    • Reduced max pagination from 100 to 20 records per page (performance optimization)

    • Enhanced filtering for transaction types

    • Added method and source type filters

    • Improved token info structure

    /api/beta/profiler/address/balances โ†’ /api/v1/profiler/address/current-balance

    Changes:

    • Renamed for clarity (balances โ†’ current-balance)

    • Enhanced filtering capabilities

    • Added value range filters

    • Improved chain support

    /api/beta/profiler/address/pnl โ†’ /api/v1/profiler/address/pnl

    Changes:

    • Simplified request structure

    • Enhanced PnL calculation fields

    • Added comprehensive filtering

    • Improved sort options

    /api/beta/profiler/address/pnl-summary โ†’ /api/v1/profiler/address/pnl-summary

    Changes:

    • Standardized response format

    • Enhanced top token structure

    • Improved metadata

    /api/beta/profiler/address/counterparties โ†’ /api/v1/profiler/address/counterparties

    Changes:

    • Enhanced label filtering

    • Added interaction count filters

    • Improved volume filtering

    • Better token info structure

    /api/beta/profiler/address/historical-balances โ†’ /api/v1/profiler/address/historical-balances

    Changes:

    • Standardized date range handling

    • Enhanced spam token filtering

    • Improved response structure

    /api/beta/profiler/address/related-wallets โ†’ /api/v1/profiler/address/related-wallets

    Changes:

    • Enhanced relationship metadata

    • Added sort capabilities

    • Improved response structure

    hashtag
    Token God Mode (TGM) Endpoints

    /api/beta/tgm/dex-trades โ†’ /api/v1/tgm/dex-trades

    Changes:

    • Enhanced filtering system

    • Added action filters (buy/sell)

    • Improved trader label filtering

    • Better value range filters

    /api/beta/tgm/transfers โ†’ /api/v1/tgm/transfers

    Changes:

    • Enhanced transfer type filtering

    • Added CEX/DEX inclusion controls

    • Improved smart money filtering

    • Better address label filtering

    /api/beta/tgm/holders โ†’ /api/v1/tgm/holders

    Changes:

    • Simplified label type handling

    • Enhanced balance change tracking

    • Added ownership percentage filters

    • Improved sort capabilities

    /api/beta/tgm/flows โ†’ /api/v1/tgm/flows

    Changes:

    • Enhanced flow tracking

    • Added holder statistics

    • Improved time-based analysis

    • Better sort options

    /api/beta/tgm/pnl-leaderboard โ†’ /api/v1/tgm/pnl-leaderboard

    Changes:

    • Enhanced PnL metrics

    • Added ROI calculations

    • Improved trader filtering

    • Better sort capabilities

    /api/beta/tgm/who-bought-sold โ†’ /api/v1/tgm/who-bought-sold

    Changes:

    • Enhanced volume tracking

    • Added trade direction analysis

    • Improved label filtering

    /api/beta/tgm/jup-dca โ†’ /api/v1/tgm/jup-dca

    Changes:

    • Standardized DCA vault tracking

    • Enhanced status filtering

    • Improved deposit tracking

    /api/beta/tgm/flow-intelligence โ†’ /api/v1/tgm/flow-intelligence

    Changes:

    • Enhanced category tracking

    • Added wallet count metrics

    • Improved flow analysis

    hashtag
    New V1-Only Endpoints

    /api/v1/portfolio/defi-holdings

    • Production-ready DeFi portfolio tracking

    • Comprehensive protocol breakdown

    • Asset/debt/reward categorization

    /api/v1/transaction-with-token-transfer-lookup

    • Enhanced transaction lookup

    • NFT transfer support

    • Comprehensive token transfer tracking

    /api/v1/token-screener

    • Advanced token discovery

    • Multi-chain screening

    • Comprehensive filtering system

    • Smart money integration

    {
      "min": 1000.0,
      "max": 50000.0
    }
    // Minimum only
    {"min": 1000000}
    
    // Maximum only
    {"max": 50000}
    
    // Range
    {"min": 1000, "max": 1000000}
    
    // Negative values allowed
    {"min": -10.5, "max": 100.75}
    {
      "min": 10,
      "max": 1000
    }
    // Minimum holders
    {"min": 100}
    
    // Age range
    {"min": 7, "max": 365}
    {
      "from": "2025-01-01T00:00:00Z",
      "to": "2025-01-31T23:59:59Z"
    }
    // Full datetime
    "2025-01-01T00:00:00Z"
    
    // Date only
    "2025-01-01"
    // Last 7 days
    {
      "from": "2025-01-07T00:00:00Z",
      "to": "2025-01-14T00:00:00Z"
    }
    
    // Specific month
    {
      "from": "2025-01-01",
      "to": "2025-01-31"
    }
    "0x..."
    // or
    ["0x...", "0x..."]
    // Single token
    "token_address": "0x6982508145454ce325ddbe47a25d4ec3d2311933"
    
    // Multiple tokens
    "token_addresses": [
      "0x6982508145454ce325ddbe47a25d4ec3d2311933",
      "0xdac17f958d2ee523a2206206994597c13d831ec7"
    ]
    "0x..."
    // or
    ["0x...", "0x..."]
    // Single trader
    "trader_address": "0x28C6c06298d514Db089934071355E5743bf21d60"
    
    // Multiple traders
    "trader_addresses": [
      "0x28C6c06298d514Db089934071355E5743bf21d60",
      "0x47ac0Fb4F2D84898e4D9E7b4DaB3C24507a6D503"
    ]
    ["Fund", "Smart Trader"]
    [
      "Fund",
      "Smart Trader",
      "30D Smart Trader",
      "90D Smart Trader",
      "180D Smart Trader",
      "Smart HL Perps Trader"
    ]
    [
      "Public Figure",
      "Exchange",
      "Whale",
      "BananaGun Bot User",
      "Maestro Bot User"
    ]
    // Include funds and smart traders
    "include_smart_money_labels": ["Fund", "Smart Trader"]
    
    // Exclude exchanges
    "exclude_labels": ["Exchange"]
    ["DeFi", "Meme"]
    [
      "DeFi",
      "Meme",
      "Gaming",
      "NFT",
      "Infrastructure",
      "Layer 1",
      "Layer 2",
      "Stablecoin",
      "AI",
      "RWA"
    ]
    // DeFi tokens only
    "sectors": ["DeFi"]
    
    // Multiple sectors
    "sectors": ["Meme", "Gaming"]
    true
    // or
    false
    // Hide spam tokens
    "hide_spam_tokens": true
    
    // Include only new positions
    "only_new_positions": true
    // Invalid - max less than min
    {"min": 1000, "max": 500}
    
    // Invalid for some fields - negative min
    {"min": -100}
    // Invalid - to before from
    {
      "from": "2025-12-31",
      "to": "2025-01-01"
    }
    response = client.post(
        "https://api.nansen.ai/api/v1/smart-money/holdings",
        json={
            "chains": ["ethereum"],
            "filters": {
                "value_usd": {"min": 100000},
                "include_smart_money_labels": ["Fund"]
            }
        }
    )
    response = client.post(
        "https://api.nansen.ai/api/v1/token-screener",
        json={
            "chains": ["ethereum"],
            "filters": {
                "market_cap_usd": {"min": 1000000, "max": 100000000},
                "volume_24h_usd": {"min": 50000},
                "holder_count": {"min": 100},
                "token_age_days": {"min": 7},
                "sectors": ["DeFi", "Meme"],
                "hide_spam_tokens": true
            }
        }
    )
    {
      "parameters": {
        "tokenAddress": "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv",
        "smFilter": ["180D Smart Trader"],
        "chain": "solana"
      },
      "pagination": {
        "page": 1,
        "recordsPerPage": 100
      }
    }
    {
      "chain": "solana",
      "token_address": "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv",
      "filters": {
        "smart_money": {
          "include": ["180D Smart Trader"]
        },
        "include_stablecoins": true,
        "include_native_tokens": true
      },
      "pagination": {
        "page": 1,
        "per_page": 100
      }
    }
    {
      "tokenAddress": "...",
      "symbol": "...",
      "marketCap": 1000000
    }
    {
      "token_address": "...",
      "symbol": "...",
      "market_cap": 1000000
    }
    Sort Order Schema

    hashtag
    Parameters

    Parameter
    Type
    Description

    field

    string

    The field to sort by

    direction

    string

    ASC (ascending) or DESC (descending)

    hashtag
    Directions

    Direction
    Description
    Example

    ASC

    Ascending (smallest first)

    1, 2, 3, ... or A, B, C

    DESC

    Descending (largest first)

    100, 99, 98, ... or Z, Y, X

    hashtag
    Examples

    hashtag
    Single Field Sort

    Sort by USD value, highest first:

    hashtag
    Multiple Field Sort

    Sort by volume first, then by price:

    hashtag
    Full Request Example

    hashtag
    Common Sort Fields by Endpoint

    hashtag
    Smart Money Holdings

    Field
    Description

    value_usd

    Total USD value of holdings

    balance_24h_percent_change

    24-hour balance change percentage

    holders_count

    Number of smart money holders

    share_of_holdings_percent

    hashtag
    Smart Money Netflow

    Field
    Description

    net_flow_1h_usd

    1-hour net flow in USD

    net_flow_24h_usd

    24-hour net flow in USD

    net_flow_7d_usd

    7-day net flow in USD

    net_flow_30d_usd

    hashtag
    Smart Money DEX Trades

    Field
    Description

    timestamp

    Trade timestamp

    value_usd

    Trade value in USD

    amount

    Token amount traded

    hashtag
    Token Screener

    Field
    Description

    market_cap_usd

    Market capitalization

    volume_24h_usd

    24-hour trading volume

    price_change_24h_percent

    24-hour price change

    holder_count

    hashtag
    TGM Holders

    Field
    Description

    balance_usd

    Current balance in USD

    balance_change_24h_usd

    24-hour balance change

    first_transfer_timestamp

    First transfer date

    last_transfer_timestamp

    hashtag
    TGM PnL Leaderboard

    Field
    Description

    realized_pnl_usd

    Realized profit/loss

    unrealized_pnl_usd

    Unrealized profit/loss

    total_pnl_usd

    Total profit/loss

    roi_percent

    hashtag
    Best Practices

    hashtag
    1. Always Sort When Paginating

    Ensure consistent ordering across pages:

    hashtag
    2. Use Secondary Sort for Ties

    Add a secondary sort field to break ties:

    hashtag
    3. Sort by Timestamp for Recent Data

    For trade/transaction data, sort by timestamp:

    hashtag
    4. Consider Default Sorts

    Many endpoints have sensible default sorts. Check the endpoint documentation for defaults.

    hashtag
    Error Handling

    hashtag
    Invalid Sort Field

    hashtag
    Invalid Direction

    hashtag
    Python Helper

    MCP Data Redistribution Guidelines

    hashtag
    Purpose

    These guidelines help developers understand how to legally and responsibly redistribute data obtained from Nansen API and MCP tools, while protecting Nansen's proprietary insights and competitive advantage.

    hashtag

    {
      "order_by": [
        {
          "field": "field_name",
          "direction": "DESC"
        }
      ]
    }
    {
      "order_by": [
        {"field": "value_usd", "direction": "DESC"}
      ]
    }
    {
      "order_by": [
        {"field": "volume_24h_usd", "direction": "DESC"},
        {"field": "price_usd", "direction": "ASC"}
      ]
    }
    response = client.post(
        "https://api.nansen.ai/api/v1/smart-money/holdings",
        json={
            "chains": ["ethereum"],
            "pagination": {"page": 1, "per_page": 100},
            "order_by": [
                {"field": "value_usd", "direction": "DESC"}
            ]
        }
    )
    {
      "order_by": [{"field": "value_usd", "direction": "DESC"}]
    }
    {
      "order_by": [{"field": "net_flow_24h_usd", "direction": "DESC"}]
    }
    {
      "order_by": [{"field": "timestamp", "direction": "DESC"}]
    }
    {
      "order_by": [
        {"field": "volume_24h_usd", "direction": "DESC"},
        {"field": "market_cap_usd", "direction": "DESC"}
      ]
    }
    {
      "order_by": [{"field": "balance_usd", "direction": "DESC"}]
    }
    {
      "order_by": [{"field": "total_pnl_usd", "direction": "DESC"}]
    }
    # Good - consistent ordering
    for page in range(1, 10):
        response = client.post(url, json={
            "pagination": {"page": page, "per_page": 100},
            "order_by": [{"field": "value_usd", "direction": "DESC"}]
        })
    
    # Bad - order may change between pages
    for page in range(1, 10):
        response = client.post(url, json={
            "pagination": {"page": page, "per_page": 100}
        })
    {
      "order_by": [
        {"field": "volume_24h_usd", "direction": "DESC"},
        {"field": "token_address", "direction": "ASC"}
      ]
    }
    {
      "order_by": [{"field": "timestamp", "direction": "DESC"}]
    }
    {
      "detail": [
        {
          "type": "enum",
          "loc": ["body", "order_by", 0, "field"],
          "msg": "Input should be 'value_usd', 'balance_24h_percent_change', ..."
        }
      ]
    }
    {
      "detail": [
        {
          "type": "enum",
          "loc": ["body", "order_by", 0, "direction"],
          "msg": "Input should be 'ASC' or 'DESC'"
        }
      ]
    }
    from enum import Enum
    from typing import Literal
    
    class SortDirection(str, Enum):
        ASC = "ASC"
        DESC = "DESC"
    
    def create_sort_order(
        field: str,
        direction: Literal["ASC", "DESC"] = "DESC"
    ) -> dict:
        return {"field": field, "direction": direction}
    
    # Usage
    sort = create_sort_order("value_usd", "DESC")

    Share of total token supply held

    market_cap_usd

    Token market capitalization

    token_age_days

    Days since token creation

    30-day net flow in USD

    trader_count

    Number of smart money traders

    market_cap_usd

    Token market capitalization

    Total holder count

    smart_money_holder_count

    Smart money holder count

    liquidity_usd

    Total liquidity

    Last transfer date

    Return on investment

    Quick Reference: Can You Redistribute?

    hashtag
    Wallet Profiler

    Tool Name
    Redistribution Status
    Requirements

    address_portfolio

    โœ… Allowed

    None

    address_historical_balances

    โœ… Allowed

    None

    hashtag
    Token God Mode

    Tool Name
    Redistribution Status
    Notes

    token_ohlcv

    โœ… Allowed

    None

    token_dex_trades

    โœ… Allowed

    Attribution required

    hashtag
    Smart Money

    Tool Name
    Redistribution Status
    Notes

    smart_traders_and_funds_netflows

    โš ๏ธ Restricted

    Approval + Significant Modification

    smart_traders_and_funds_token_balances

    ๐Ÿšซ Prohibited

    Not permitted


    hashtag
    Understanding Redistribution Statuses

    hashtag
    โœ… Allowed

    You may freely redistribute this data in your products, services, or applications according to Nansen's Terms of Service. No additional permissions needed.

    Example use cases:

    • Displaying wallet balances in your portfolio tracker


    hashtag
    โœ… Allowed (with attribution)

    You may redistribute this data, but you must provide clear attribution to Nansen.

    Attribution requirements:

    • Display "Powered by Nansen API" visibly in your product interface, OR

    • Provide a clickable link to Nansen.aiarrow-up-right near the data display

    Note: Attribution is NOT required for personal or internal-only use.

    Example use cases:

    • Token screening dashboards that display real-time token metrics and volume data

    • Trading analytics platforms showing DEX trade flows and whale activity

    • Portfolio management apps displaying counterparties

    • Research reports examining flow intelligence patterns across tokens


    hashtag
    โš ๏ธ Restricted By-Default

    These endpoints contain Nansen's proprietary smart money insights and require both approval AND significant data modification.

    You must:

    1. Submit a request for approval via this formarrow-up-right

    2. Demonstrate significant data transformation (see requirements below)

    3. Provide clear attribution to Nansen

    This data cannot be redistributed without meeting these requirements.


    hashtag
    ๐Ÿšซ Prohibited

    Redistribution is NOT allowed under any circumstances. These endpoints contain Nansen's most sensitive proprietary data and competitive advantages.

    Do not:

    • Display this data in any public or customer-facing interface

    • Use this data to build competing products

    • Redistribute this data through APIs, exports, or any other means

    Internal use only: You may use this data for your own internal analysis, but not share it externally.


    hashtag
    What is "Significant Modification"?

    To redistribute smart money data, you must transform it substantially so that:

    1. Not Directly Traceable: The output cannot be reverse-engineered to reveal Nansen's underlying smart money classifications, wallet lists, or raw activity data

    2. Meaningfully Combined: The data must be integrated with at least one other substantial, independent data source (not just cosmetic additions)

    3. Novel Insights: Your final output must provide unique analysis or value-add beyond what Nansen already offers

    chevron-rightโœ… ALLOWED Use Cases (with approval)hashtag

    hashtag
    1. AI Agent Background Analysis

    Using smart money data as one input among multiple sources to generate unique analytical responses.

    โœ“ Good Example:

    Your AI agent analyzes: Nansen smart money flows (30%) + on-chain volume metrics (30%) + social sentiment analysis (20%) + technical indicators (20%) โ†’ generates custom investment thesis that synthesizes all sources

    โœ— Bad Example:

    Your AI agent says: "Smart money wallets bought 5M tokens in the last 24 hours according to Nansen data"

    hashtag
    2. Custom Composite Indicators

    Building proprietary trading signals that incorporate smart money data alongside other metrics.

    โœ“ Good Example:

    A "Token Momentum Score" (0-100) that combines:

    • Smart money net flow (25%)

    • DEX liquidity depth (25%)

    • Price action volatility (25%)

    โœ— Bad Example:

    A "Smart Money Activity Index" that's just a reformatted version of Nansen's smart money inflow data

    hashtag
    3. Research Reports & Analysis

    Periodic research that synthesizes smart money trends with broader market context.

    โœ“ Good Example:

    Weekly market report: "DeFi sector analysis combining smart trader positioning (via Nansen), protocol TVL trends (via DeFiLlama), and governance activity (via on-chain data) suggests..."

    โœ— Bad Example:

    Daily newsletter that lists: "Top 10 tokens smart money bought yesterday" with minimal additional context

    chevron-right๐Ÿšซ PROHIBITED Use Caseshashtag

    hashtag
    1. Direct Display Dashboards

    Any interface where Nansen's smart money data is shown without substantial transformation.

    Examples of what NOT to do:

    • Dashboards showing "Smart Money bought these tokens in last 24h"

    • Charts displaying raw smart money wallet balances over time

    • Tables listing smart money trades with timestamps and amounts

    • Real-time feeds of smart money wallet activity

    hashtag
    2. Competing Smart Money Products

    Products that directly compete with or replicate Nansen's core offerings.

    Examples of what NOT to do:

    • "Smart Money Tracker" features

    • "Profitable Wallet Scanner" tools

    • "Smart Trader Leaderboards"

    • "Elite Wallet Following" services

    hashtag
    3. Public Leaderboards & Rankings

    Displaying smart money wallet performance, rankings, or PnL data.

    Examples of what NOT to do:

    • "Top 50 Smart Money Wallets This Month"

    • "Highest PnL Smart Traders" rankings

    • Public smart money wallet performance dashboards

    hashtag
    4. Near Real-Time Data Redistribution

    Redistributing smart money data with minimal time delay or transformation.

    Examples of what NOT to do:

    • API endpoints serving Nansen smart money data with <7d delay

    • Webhook notifications for smart money wallet trades

    • Real-time smart money activity alerts


    hashtag
    Requesting Approval for Restricted Endpoints

    Step 1: Submit Your Request

    Complete the approval form: https://forms.gle/AoXk9jRdbuiqqG5f9arrow-up-right

    Step 2: Provide Required Information

    1. Describe your product, how you'll use the data, and your target audience

    2. Explain modifications, other data sources, and provide mockups

    3. Show unique insights and differentiation from Nansen's products

    4. Detail how you'll credit Nansen and potential partnership opportunities


    hashtag
    Attribution Guidelines

    When Attribution is Required

    Required for endpoints marked "โœ… Allowed (with attribution)" or "โš ๏ธ Restricted".

    How to Attribute

    Choose one:

    • Text: "Powered by Nansen API" or similar, displayed near the data

    • Logo: Nansen logo with link to nansen.aiarrow-up-right

    • Footer: "Blockchain analytics powered by Nansenarrow-up-right"

    When Attribution is NOT Required

    • Personal or internal use only

    • Endpoints marked "โœ… Allowed" (no attribution noted)


    hashtag
    General Rules & Compliance

    1. Terms of Service

    • Must comply with Nansen's Terms of Servicearrow-up-right

    2. Stay Updated

    • Check latest guidelines before launching products, changing data usage, or entering new markets

    3. API & MCP Coverage

    • Rules apply to API responses, MCP tools, and derived data

    4. Volume & Rate Limits

    • Redistribution doesn't exempt you from rate limits

    5. Data Accuracy

    • Don't misrepresent data

    • Include appropriate disclaimers

    • Don't make unwarranted guarantees

    6. Competitive Use

    • Don't build competing products

    • Don't use Nansen data as foundation for competitor services

    • Don't repackage data to commoditize Nansen's insights

    Data Redistribution Guidelines

    Updated as of 18/11/2025

    hashtag
    Purpose

    These guidelines help developers understand how to legally and responsibly redistribute data obtained from Nansen API and MCP tools, while protecting Nansen's proprietary insights and competitive advantage.

    hashtag
    Quick Reference: Can You Redistribute?

    Endpoint
    Status
    Requirements

    hashtag
    Understanding Redistribution Statuses

    hashtag
    โœ… Allowed

    You may freely redistribute this data in your products, services, or applications according to Nansen's Terms of Service. No additional permissions needed.

    Example use cases:

    • Displaying wallet balances in your portfolio tracker


    hashtag
    โœ… Allowed (with attribution)

    You may redistribute this data, but you must provide clear attribution to Nansen.

    Attribution requirements:

    • Display "Powered by Nansen API" visibly in your product interface, OR

    • Provide a clickable link to near the data display

    Note: Attribution is NOT required for personal or internal-only use.

    Example use cases:

    • Token screening dashboards that display real-time token metrics and volume data

    • Trading analytics platforms showing DEX trade flows and whale activity

    • Portfolio management apps displaying counterparties


    hashtag
    โš ๏ธ Restricted By-Default

    These endpoints contain Nansen's proprietary smart money insights and require both approval AND significant data modification.

    You must:

    1. Submit a request for approval via

    2. Demonstrate significant data transformation (see requirements below)

    3. Provide clear attribution to Nansen

    This data cannot be redistributed without meeting these requirements.


    hashtag
    ๐Ÿšซ Prohibited

    Redistribution is NOT allowed under any circumstances. These endpoints contain Nansen's most sensitive proprietary data and competitive advantages.

    Do not:

    • Display this data in any public or customer-facing interface

    • Use this data to build competing products

    • Redistribute this data through APIs, exports, or any other means

    Internal use only: You may use this data for your own internal analysis, but not share it externally.


    hashtag
    What is "Significant Modification"?

    To redistribute smart money data, you must transform it substantially so that:

    1. Not Directly Traceable: The output cannot be reverse-engineered to reveal Nansen's underlying smart money classifications, wallet lists, or raw activity data

    2. Meaningfully Combined: The data must be integrated with at least one other substantial, independent data source (not just cosmetic additions)

    3. Novel Insights: Your final output must provide unique analysis or value-add beyond what Nansen already offers

    chevron-rightโœ… ALLOWED Use Cases (with approval)hashtag

    hashtag
    1. AI Agent Background Analysis

    Using smart money data as one input among multiple sources to generate unique analytical responses.

    โœ“ Good Example:

    chevron-right๐Ÿšซ PROHIBITED Use Caseshashtag

    hashtag
    1. Direct Display Dashboards

    Any interface where Nansen's smart money data is shown without substantial transformation.

    Examples of what NOT to do:


    hashtag
    Requesting Approval for Restricted Endpoints

    Step 1: Submit Your Request

    Complete the approval form:

    Step 2: Provide Required Information

    1. Describe your product, how you'll use the data, and your target audience

    2. Explain modifications, other data sources, and provide mockups

    3. Show unique insights and differentiation from Nansen's products


    hashtag
    Attribution Guidelines

    When Attribution is Required

    Required for endpoints marked "โœ… Allowed (with attribution)" or "โš ๏ธ Restricted".

    How to Attribute

    Choose one:

    • Text: "Powered by Nansen API" or similar, displayed near the data

    • Logo: Nansen logo with link to

    • Footer: "Blockchain analytics powered by "

    When Attribution is NOT Required

    • Personal or internal use only

    • Endpoints marked "โœ… Allowed" (no attribution noted)


    hashtag
    General Rules & Compliance

    1. Terms of Service

    • Must comply with Nansen's

    2. Stay Updated

    • Check latest guidelines before launching products, changing data usage, or entering new markets

    3. API & MCP Coverage

    • Rules apply to API responses, MCP tools, and derived data

    4. Volume & Rate Limits

    • Redistribution doesn't exempt you from rate limits

    5. Data Accuracy

    • Don't misrepresent data

    • Include appropriate disclaimers

    • Don't make unwarranted guarantees

    6. Competitive Use

    • Don't build competing products

    • Don't use Nansen data as foundation for competitor services

    • Don't repackage data to commoditize Nansen's insights

    Developer activity (25%)

    Smart money wallet comparison tools
    Automated smart money trade copying services

    wallet_pnl_for_token

    โœ… Allowed

    None

    wallet_pnl_summary

    โœ… Allowed

    None

    address_transactions

    โœ… Allowed

    Attribution required

    address_related_addresses

    โœ… Allowed

    Attribution required

    address_counterparties

    โœ… Allowed

    Attribution required

    address_transactions_for_token

    โœ… Allowed

    Attribution required

    token_transfers

    โœ… Allowed

    Attribution required

    token_who_bought_sold

    โœ… Allowed

    Attribution required

    token_flows

    โœ… Allowed

    Attribution required

    token_recent_flows_summary

    โœ… Allowed

    Attribution required

    token_jup_dca

    โœ… Allowed

    Attribution required

    token_exchange_transactions

    โœ… Allowed

    Attribution required

    token_discovery_screener

    โœ… Allowed

    Attribution required

    token_current_top_holders

    โš ๏ธ Restricted

    Approval + Significant Modification

    token_pnl_leaderboard

    ๐Ÿšซ Prohibited

    Not permitted

    โœ… Allowed

    None

    profiler/address/pnl & pnl-summary

    โœ… Allowed

    None

    profiler/address/historical-balances

    โœ… Allowed

    None

    tgm/transfers

    โœ… Allowed

    Attribution required

    profiler/address/transactions

    โœ… Allowed

    Attribution required

    profiler/address/counterparty

    โœ… Allowed

    Attribution required

    profiler/address/related-wallets

    โœ… Allowed

    Attribution required

    tgm/token-screener

    โœ… Allowed

    Attribution required

    tgm/perp-screener

    โœ… Allowed

    Attribution required

    tgm/dex-trades

    โœ… Allowed

    Attribution required

    tgm/perp-trades

    โœ… Allowed

    Attribution required

    tgm/who-bought-sold

    โœ… Allowed

    Attribution required

    tgm/flow-intelligence

    โœ… Allowed

    Attribution required

    tgm/flows

    โœ… Allowed

    Attribution required

    tgm/holders (with smart money filter)

    โš ๏ธ Restricted

    Approval + Significant Modification

    tgm/perp-positions (with smart money filter)

    โš ๏ธ Restricted

    Approval + Significant Modification

    smart-money/inflows

    โš ๏ธ Restricted

    Approval + Significant Modification

    Prohibited Endpoints

    address/labels

    ๐Ÿšซ Prohibited

    Not permitted

    smart-money/holdings

    ๐Ÿšซ Prohibited

    Not permitted

    tgm/pnl-leaderboard

    ๐Ÿšซ Prohibited

    Not permitted

    perp-leaderboard

    ๐Ÿšซ Prohibited

    Not permitted

    smart-money/dex-trades

    ๐Ÿšซ Prohibited

    Not permitted

    smart-money/dcas

    ๐Ÿšซ Prohibited

    Not permitted

    smart-money/perp-trades

    ๐Ÿšซ Prohibited

    Not permitted

    Research reports examining flow intelligence patterns across tokens

    Your AI agent analyzes: Nansen smart money flows (30%) + on-chain volume metrics (30%) + social sentiment analysis (20%) + technical indicators (20%) โ†’ generates custom investment thesis that synthesizes all sources

    โœ— Bad Example:

    Your AI agent says: "Smart money wallets bought 5M tokens in the last 24 hours according to Nansen data"

    hashtag
    2. Custom Composite Indicators

    Building proprietary trading signals that incorporate smart money data alongside other metrics.

    โœ“ Good Example:

    A "Token Momentum Score" (0-100) that combines:

    • Smart money net flow (25%)

    • DEX liquidity depth (25%)

    • Price action volatility (25%)

    • Developer activity (25%)

    โœ— Bad Example:

    A "Smart Money Activity Index" that's just a reformatted version of Nansen's smart money inflow data

    hashtag
    3. Research Reports & Analysis

    Periodic research that synthesizes smart money trends with broader market context.

    โœ“ Good Example:

    Weekly market report: "DeFi sector analysis combining smart trader positioning (via Nansen), protocol TVL trends (via DeFiLlama), and governance activity (via on-chain data) suggests..."

    โœ— Bad Example:

    Daily newsletter that lists: "Top 10 tokens smart money bought yesterday" with minimal additional context

  • Dashboards showing "Smart Money bought these tokens in last 24h"

  • Charts displaying raw smart money wallet balances over time

  • Tables listing smart money trades with timestamps and amounts

  • Real-time feeds of smart money wallet activity

  • hashtag
    2. Competing Smart Money Products

    Products that directly compete with or replicate Nansen's core offerings.

    Examples of what NOT to do:

    • "Smart Money Tracker" features

    • "Profitable Wallet Scanner" tools

    • "Smart Trader Leaderboards"

    • "Elite Wallet Following" services

    hashtag
    3. Public Leaderboards & Rankings

    Displaying smart money wallet performance, rankings, or PnL data.

    Examples of what NOT to do:

    • "Top 50 Smart Money Wallets This Month"

    • "Highest PnL Smart Traders" rankings

    • Public smart money wallet performance dashboards

    • Smart money wallet comparison tools

    hashtag
    4. Near Real-Time Data Redistribution

    Redistributing smart money data with minimal time delay or transformation.

    Examples of what NOT to do:

    • API endpoints serving Nansen smart money data with <7d delay

    • Webhook notifications for smart money wallet trades

    • Real-time smart money activity alerts

    • Automated smart money trade copying services

    Detail how you'll credit Nansen and potential partnership opportunities

    profiler/address/balances

    โœ… Allowed

    None

    profiler/perp-positions

    โœ… Allowed

    None

    Nansen.aiarrow-up-right
    this formarrow-up-right
    https://forms.gle/AoXk9jRdbuiqqG5f9arrow-up-right
    nansen.aiarrow-up-right
    Nansenarrow-up-right
    Terms of Servicearrow-up-right

    profiler/perp-trades

    Supported Chains

    hashtag
    Overview

    The Nansen API supports 37 blockchain networks across EVM and non-EVM ecosystems. Chain support varies by endpoint.

    hashtag
    EVM Chains

    EVM-compatible chains use the standard Ethereum address format (0x + 40 hex characters).

    Chain
    Value
    Description

    hashtag
    Non-EVM Chains

    Non-EVM chains have unique address formats. See Address Formats for details.

    Chain
    Value
    Description

    hashtag
    Using the "all" Chain

    Some endpoints support "all" to query across all supported chains:

    This expands to all chains supported by that specific endpoint.

    hashtag
    Chain Support by Endpoint

    Not all chains are available on all endpoints. Here's the support matrix:

    hashtag
    Smart Money Endpoints

    Chain
    Netflow
    DEX Trades
    Holdings
    Historical

    hashtag
    Token God Mode Endpoints

    Chain
    Flows
    Transfers
    Holders
    PnL

    hashtag
    Profiler Endpoints

    Chain
    Balance
    Transactions
    PnL
    Related

    hashtag
    Examples

    hashtag
    Single Chain Query

    hashtag
    Multi-Chain Query

    hashtag
    All Chains Query

    hashtag
    Chain-Specific Considerations

    hashtag
    Solana

    • Uses base58 addresses

    • Transaction lookup not supported

    • Full support for Smart Money and TGM

    hashtag
    Bitcoin

    • Limited endpoint support (Profiler only)

    • Supports P2PKH, P2SH, and Bech32 addresses

    • No Smart Money or TGM support

    hashtag
    TON

    • Uses EQ.../UQ... address format

    • Addresses are automatically normalized

    • No PnL endpoints

    hashtag
    Hyperliquid

    • Perpetuals platform only

    • Used for perp-specific endpoints

    • No standard token endpoints

    avalanche

    Avalanche C-Chain

    Base

    base

    Coinbase L2

    Bitlayer

    bitlayer

    Bitcoin L2

    BNB Chain

    bnb

    BNB Smart Chain

    Celo

    celo

    Celo network

    Chiliz

    chiliz

    Chiliz Chain

    Gravity

    gravity

    Gravity network

    HyperEVM

    hyperevm

    Hyperliquid EVM

    IOTA EVM

    iotaevm

    IOTA EVM

    Linea

    linea

    Linea L2

    Mantle

    mantle

    Mantle L2

    Monad

    monad

    Monad network

    Optimism

    optimism

    Optimism L2

    Plasma

    plasma

    Plasma network

    Polygon

    polygon

    Polygon PoS

    Ronin

    ronin

    Ronin sidechain

    Scroll

    scroll

    Scroll L2

    Sei

    sei

    Sei EVM

    Sonic

    sonic

    Sonic network

    Unichain

    unichain

    Uniswap L2

    Viction

    viction

    Viction (TomoChain)

    zkSync

    zksync

    zkSync Era

    bitcoin

    Bitcoin network

    Hyperliquid

    hyperliquid

    Hyperliquid DEX (perpetuals only)

    NEAR

    near

    NEAR Protocol

    Solana

    solana

    Solana network

    Stacks

    stacks

    Stacks (Bitcoin L2)

    Starknet

    starknet

    Starknet L2

    Stellar

    stellar

    Stellar network

    SUI

    sui

    SUI network

    TON

    ton

    The Open Network

    Tron

    tron

    Tron network

    Yes

    Yes

    Yes

    Yes

    base

    Yes

    Yes

    Yes

    Yes

    bnb

    Yes

    Yes

    Yes

    Yes

    arbitrum

    Yes

    Yes

    Yes

    No

    polygon

    Yes

    Yes

    Yes

    No

    avalanche

    Yes

    Yes

    Yes

    No

    optimism

    Yes

    Yes

    Yes

    No

    Yes

    Yes

    Yes

    Yes

    base

    Yes

    Yes

    Yes

    Yes

    bnb

    Yes

    Yes

    Yes

    Yes

    arbitrum

    Yes

    Yes

    Yes

    Yes

    ton

    Yes

    Yes

    Yes

    No

    tron

    Yes

    Yes

    Yes

    No

    Yes

    Yes

    Yes

    Yes

    bitcoin

    Yes

    Yes

    No

    No

    ton

    Yes

    Yes

    No

    Yes

    tron

    Yes

    Yes

    No

    Yes

    Ethereum

    ethereum

    Main Ethereum network

    Arbitrum

    arbitrum

    Arbitrum One L2

    Algorand

    algorand

    Algorand network

    Aptos

    aptos

    Aptos network

    ethereum

    Yes

    Yes

    Yes

    Yes

    ethereum

    Yes

    Yes

    Yes

    Yes

    ethereum

    Yes

    Yes

    Yes

    Yes

    Avalanche

    Bitcoin

    solana

    solana

    solana

    {
      "chains": ["all"]
    }
    {
      "chains": ["ethereum"]
    }
    {
      "chains": ["ethereum", "solana", "base"]
    }
    {
      "chains": ["all"]
    }

    hashtag
    Get TGM Perp Trades Data

    post

    Retrieve perpetual trade data for a specific token on Hyperliquid. Shows individual trades with detailed information including trader address, trade side (Long/Short), action type (Add/Reduce/Open/Close), order type (Market/Limit), and trade metrics.

    Key Features:

    • Hyperliquid perpetual contracts only

    • Smart money filtering capabilities

    • Detailed trade breakdown with parsed action fields

    Request Parameters:

    • token_symbol: Token symbol to fetch trades for (e.g., "BTC", "ETH")

    • date: Date range for the trades

    • filters: Additional filters for side, action, order_type, etc.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/tgm/perp-trades

    hashtag
    Get Smart Money Perpetual Trades Data

    post

    Access real-time perpetual trading activity from smart traders and funds on Hyperliquid. This endpoint provides granular transaction-level data showing exactly what sophisticated traders are trading on perpetual contracts.

    Key Features:

    • Hyperliquid perpetual contracts only (no chain field needed)

    • Real-time trading data from smart money wallets

    • Detailed trade information including coin, amount, price, action, and type

    • Smart money filtering capabilities

    • Type filtering (Market/Limit)

    • Only new positions filter to show only position opening trades (defaults to false - shows all trades)

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/smart-money/perp-trades

    hashtag
    Get Smart Money Historical Holdings Data

    post

    Retrieve historical snapshots of aggregated token balances held by smart traders and funds. This endpoint provides time-series data for trend analysis, backtesting, and performance attribution.

    Key Features:

    • Daily snapshots of smart money holdings

    • Date range filtering (max 4 years lookback)

    • Point-in-time pricing and market cap data

    • Balance change tracking between snapshots

    • Same filtering options as current holdings endpoint

    Use Cases:

    • Trend Analysis: Track how smart money rotates between assets over time

    • Performance Attribution: Combine with price data to estimate ROI

    • Backtesting: Validate trading strategies based on historical smart money behavior

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/smart-money/historical-holdings

    hashtag
    Get TGM Who Bought/Sold Data

    post

    This endpoint provides an aggregated summary of trade volumes in USD for addresses. It can be used to identify addresses that are net buyers or sellers of a token within a time period.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    Responses
    chevron-right
    200

    TGM who bought/sold data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    addressstringRequired

    The address that did the trades

    Example: 0x1234567890123456789012345678901234567890
    address_labelany ofOptional

    Label associated with the address

    Example: High Gas Consumer
    stringOptional
    bought_token_volumeany ofOptional

    The aggregate bought token volume for the address

    Example: 1000.5
    numberOptional
    sold_token_volumeany ofOptional

    The aggregate sold token volume for the address

    Example: 500.25
    numberOptional
    token_trade_volumeany ofOptional

    The net token trade volume for the address

    Example: 500.25
    numberOptional
    bought_volume_usdany ofOptional

    The aggregate bought volume in USD for the address

    Example: 25000
    numberOptional
    sold_volume_usdany ofOptional

    The aggregate sold volume in USD for the address

    Example: 12500
    numberOptional
    trade_volume_usdany ofOptional

    The net trade volume in USD for the address

    Example: 12500
    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/tgm/who-bought-sold

    hashtag
    Get TGM PnL Leaderboard Data

    post

    Rank traders by their profit/loss performance for a specific token. Shows both realized profits (from completed trades) and unrealized profits (from current holdings), along with ROI percentages and trading patterns. This endpoint can be used to analyze the realized and unrealized profit for each trader who traded the input token.

    Label Tier Control (premium_labels): The premium_labels parameter is now available to all users. When omitted, it defaults to true (premium labels). In a future release, the default will change to false. Pass premium_labels=true explicitly to preserve premium label behavior.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/tgm/pnl-leaderboard

    hashtag
    Get Address Related Wallets Data

    post

    Get wallets that are related to the input address through various types of blockchain interactions and relationships. Returns detailed information about each related wallet including the relationship type, transaction details, and timing information.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    addressstringRequired

    Address to get related wallets for

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    chainstring ยท enumRequired

    Blockchain chain for the related wallets data

    Example: ethereumPossible values:
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Address related wallets data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    addressstringRequired

    Hexadecimal representation of the related address

    address_labelany ofOptional

    The label of the address

    stringOptional
    relationstringRequired

    The type of relation between the address and the input address

    transaction_hashstringRequired

    Hexadecimal representation of the transaction hash

    block_timestampstringRequired

    The timestamp of the transaction

    orderintegerRequired

    The order of the relation

    chainstringRequired

    The chain of the relation

    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/profiler/address/related-wallets

    hashtag
    Get Address Transactions Data

    post

    Retrieve recent blockchain transactions for an address including token transfers, native currency movements, and contract interactions.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    Responses
    chevron-right
    200

    Address transaction data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chainstringRequired

    Blockchain chain

    methodstringRequired

    Transaction method (sent/received)

    tokens_sentany ofOptional

    Tokens sent in the transaction

    token_symbolstringRequired

    Token symbol

    token_amountnumberRequired

    Token amount

    price_usdany ofOptional

    Token price in USD

    numberOptional
    value_usdany ofOptional

    Token value in USD

    numberOptional
    token_addressstringRequired

    Token contract address

    chainstringRequired

    Blockchain chain

    from_addressstringRequired

    Source address

    to_addressstringRequired

    Destination address

    from_address_labelany ofOptional

    Source address label

    stringOptional
    to_address_labelany ofOptional

    Destination address label

    stringOptional
    tokens_receivedany ofOptional

    Tokens received in the transaction

    token_symbolstringRequired

    Token symbol

    token_amountnumberRequired

    Token amount

    price_usdany ofOptional

    Token price in USD

    numberOptional
    value_usdany ofOptional

    Token value in USD

    numberOptional
    token_addressstringRequired

    Token contract address

    chainstringRequired

    Blockchain chain

    from_addressstringRequired

    Source address

    to_addressstringRequired

    Destination address

    from_address_labelany ofOptional

    Source address label

    stringOptional
    to_address_labelany ofOptional

    Destination address label

    stringOptional
    volume_usdany ofOptional

    Transaction volume in USD

    numberOptional
    block_timestampstringRequired

    Block timestamp in ISO format

    transaction_hashstringRequired

    Transaction hash in hex format

    source_typestringRequired

    Transaction source type

    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/profiler/address/transactions

    hashtag
    Get Transaction with Token Transfer Lookup Data

    post

    Get comprehensive transaction information including token transfers and NFT transfers. This endpoint provides detailed information about a specific transaction including native cryptocurrency movements, token transfers, and NFT transfers with USD values.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    chainstring ยท enumRequired

    Blockchain chain for the transaction lookup

    Example: ethereumPossible values:
    transaction_hashstringRequired

    Transaction hash to lookup

    Example: 0xf16f93cb53f4f977d45b1b08af7b66e1939d0fe69d669012458239b23797e492
    block_timestampstringRequired

    Timestamp of the transaction

    Example: 2025-08-06 01:47:11
    Responses
    chevron-right
    200

    Transaction lookup data with token and NFT transfer information

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    chainstringRequired

    The blockchain network of the transaction

    transaction_hashstringRequired

    The unique identifier of the transaction

    from_addressstringRequired

    The hexadecimal address of the sender

    from_address_labelany ofRequired

    The name or label associated with the sender's address

    stringOptional
    to_addressstringRequired

    The hexadecimal address of the recipient

    to_address_labelany ofRequired

    The name or label associated with the recipient's address

    stringOptional
    native_valueany ofRequired

    The amount of native cryptocurrency transferred

    numberOptional
    dated_native_priceany ofRequired

    The price of the native cryptocurrency at the time of the transaction

    numberOptional
    dated_native_value_usdany ofRequired

    The USD value of the native cryptocurrency transferred at the time of the transaction

    numberOptional
    current_native_priceany ofRequired

    The current price of the native cryptocurrency

    numberOptional
    current_native_value_usdany ofRequired

    The current USD value of the native cryptocurrency transferred

    numberOptional
    receipt_statusany ofRequired

    The status of the transaction receipt (1 for success, 0 for failure)

    integerOptional
    block_timestampstringRequired

    The timestamp of the block in which the transaction was included

    token_transfer_arrayany ofRequired

    Information about any token transfers associated with this transaction

    from_addressstringRequired

    From address

    from_address_labelstringRequired

    From address label

    to_addressstringRequired

    To address

    to_address_labelstringRequired

    To address label

    token_addressstringRequired

    Token contract address

    token_symbolstringRequired

    Token symbol

    token_amountnumberRequired

    Token amount transferred

    dated_price_usdany ofRequired

    Price of the token in USD at the time of the transaction

    numberOptional
    dated_value_usdany ofRequired

    USD value of the token transferred at the time of the transaction

    numberOptional
    current_price_usdany ofRequired

    Current price of the token in USD

    numberOptional
    current_value_usdany ofRequired

    Current USD value of the token transferred

    numberOptional
    transfer_idstringRequired

    Transfer ID

    nft_transfer_arrayany ofRequired

    Information about any NFT transfers associated with this transaction

    from_addressstringRequired

    From address

    from_address_labelstringRequired

    From address label

    to_addressstringRequired

    To address

    to_address_labelstringRequired

    To address label

    project_idstringRequired

    Project ID

    collection_namestringRequired

    Collection name

    nft_idstringRequired

    NFT ID

    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/transaction-with-token-transfer-lookup

    hashtag
    Get TGM Transfers Data

    post

    Track all token transfer activity including direct transfers, DEX trades, and CEX movements. This endpoint is particularly useful for monitoring exchange flows - both centralized (CEX) and decentralized (DEX) - to identify accumulation or distribution patterns.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    Responses
    chevron-right
    200

    TGM transfers data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    block_timestampstringRequired

    The block timestamp for the transaction

    Example: 2025-05-01T12:00:00Z
    transaction_hashstringRequired

    The transaction hash for the transaction

    Example: 0x1234567890abcdef...
    from_addressstringRequired

    from address

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    to_addressstringRequired

    to address

    Example: 0x742d35cc6634c0532925a3b8d4c9db96c4b4d8b6
    from_address_labelany ofOptional

    from address label

    Example: ๐Ÿฆ Binance 14 [0x28c6c0]
    stringOptional
    to_address_labelany ofOptional

    to address label

    Example: High Balance
    stringOptional
    transaction_typeany ofOptional

    Transaction type

    Example: DEX
    stringOptional
    transfer_amountany ofOptional

    value of the token traded

    Example: 1000
    numberOptional
    transfer_value_usdany ofOptional

    value of the token traded in USD

    Example: 2500
    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/tgm/transfers

    hashtag
    General Search

    post

    Search for tokens and entities by name, symbol, or contract address. This endpoint provides a unified search experience across all Nansen data.

    Use Cases:

    1. Find token addresses: Search by name or symbol to get contract addresses (e.g., "AAVE", "Uniswap")

    2. Discover entities: Find known entities like exchanges, funds, and public figures (e.g., "vitalik", "Binance")

    3. Resolve addresses: Search by contract address to identify tokens

    4. Filter by chain: Narrow down results to specific blockchains

    Search Parameters:

    • search_query: Token name, symbol, contract address, or entity name

    • result_type: Filter by "token", "entity", or "any" (default: "any")

    • chain: Optional blockchain filter (e.g., "ethereum", "solana", "base")

    Example Request:

    Example Response:

    Important Notes:

    • Prices may be delayed; use token OHLCV endpoints for real-time prices

    • Results are sorted by relevance/popularity rank

    • Use the chain parameter (not the query string) to filter by blockchain

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for general search endpoint.

    This endpoint searches for tokens and entities by name, symbol, or address.

    search_querystring ยท min: 1 ยท max: 200Required

    Search query - token name, symbol, contract address, or entity name.

    Example: AAVE
    result_typestring ยท enumOptional

    Type filter - 'token' for tokens only, 'entity' for entities only, 'any' for both.

    Default: anyPossible values:
    chainany ofOptional

    Optional chain filter to narrow down token results (e.g., 'ethereum', 'solana', 'base').

    Example: ethereum
    stringOptional
    limitinteger ยท min: 1 ยท max: 50Optional

    Maximum number of results to return (default: 25, max: 50).

    Default: 25
    post
    /api/v1/search/general

    hashtag
    Get Perpetual Positions Data

    post

    Get perpetual positions data for a user by calling the Hyperliquid API directly. This endpoint provides real-time position information including entry price, mark price, PnL, leverage, and other position details.

    What it helps to answer:

    1. What are the current perpetual positions for a specific user address?

    2. What is the unrealized PnL and performance of each position?

    3. What are the leverage levels and margin requirements for each position?

    4. What are the liquidation prices and risk levels for each position?

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/profiler/perp-positions

    hashtag
    Get Smart Money DCAs Data

    post

    Monitor DCA strategies employed by smart money on Solana through Jupiter DCA. This endpoint reveals systematic accumulation strategies used by smart money.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    Responses
    chevron-right
    200

    Smart money DCAs data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    dca_created_atstringRequired

    The timestamp of the earliest transaction

    dca_updated_atstringRequired

    The timestamp of the latest transaction

    trader_addressstringRequired

    The address of the trader

    transaction_hashstringRequired

    The transaction hash at the time of creation

    trader_address_labelstringRequired

    Label associated with the address

    dca_vault_addressstringRequired

    The address of the DCA vault

    input_token_addressstringRequired

    Address of token

    output_token_addressstringRequired

    Address of token

    deposit_token_amountany ofOptional

    The amount deposited into the DCA vault

    numberOptional
    token_spent_amountany ofOptional

    The amount spent from the deposit

    numberOptional
    output_token_redeemed_amountany ofOptional

    The amount of other tokens redeemed

    numberOptional
    dca_statusstringRequired

    Indicates if the account was closed or active

    input_token_symbolstringRequired

    The symbol of the input token

    output_token_symbolstringRequired

    The symbol of the output token

    deposit_value_usdany ofOptional

    The USD value of the deposit

    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/smart-money/dcas

    hashtag
    Fast Research Agent

    post

    Ask the Nansen AI agent a research question and receive a streamed answer backed by on-chain data. The fast variant uses a lighter model optimised for low-latency responses.

    What it helps to answer:

    1. Which tokens are smart money accumulating right now?

    2. What is the current narrative driving activity in DeFi?

    3. Which wallets are connected to a specific address?

    4. What is the on-chain story behind a recent price move?

    SSE event types:

    The response is a text/event-stream with the following JSON event types:

    type
    payload
    description

    The stream terminates with a data: [DONE] sentinel.

    Fast vs Expert: Use /agent/fast for quick factual lookups and simple questions. Use /agent/expert when you need deeper multi-step analysis or synthesis across multiple data sources.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for Agent Research endpoints (fast and expert).

    textstring ยท min: 1Required

    Research query or question for the Nansen AI agent.

    Example: Which tokens are whales accumulating on Ethereum this week?
    conversation_idany ofOptional

    Optional conversation ID for multi-turn interactions. Returned in the finish event of a previous response. Omit to start a new conversation.

    Example: conv_abc123
    stringOptional
    Responses
    chevron-right
    200

    Server-Sent Events stream. Each event is a data: {json} line. See endpoint description for event schema.

    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    Responseany
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/agent/fast

    hashtag
    Expert Research Agent

    post

    Ask the Nansen AI agent a research question and receive a streamed answer backed by on-chain data. The expert variant uses a more capable model for deeper, multi-step analysis.

    What it helps to answer:

    1. Which tokens are smart money accumulating right now?

    2. What is the current narrative driving activity in DeFi?

    3. Which wallets are connected to a specific address?

    4. What is the on-chain story behind a recent price move?

    SSE event types:

    The response is a text/event-stream with the following JSON event types:

    type
    payload
    description

    The stream terminates with a data: [DONE] sentinel.

    Fast vs Expert: Use /agent/fast for quick factual lookups and simple questions. Use /agent/expert when you need deeper multi-step analysis or synthesis across multiple data sources.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for Agent Research endpoints (fast and expert).

    textstring ยท min: 1Required

    Research query or question for the Nansen AI agent.

    Example: Which tokens are whales accumulating on Ethereum this week?
    conversation_idany ofOptional

    Optional conversation ID for multi-turn interactions. Returned in the finish event of a previous response. Omit to start a new conversation.

    Example: conv_abc123
    stringOptional
    Responses
    chevron-right
    200

    Server-Sent Events stream. Each event is a data: {json} line. See endpoint description for event schema.

    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    Responseany
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/agent/expert

    hashtag
    Search for Entity Names

    post

    Search for entity names to use in other v1 endpoints that support entity_name parameters.

    This endpoint helps users find the correct entity name format when they want to query by entity instead of address. Many endpoints accept either address or entity_name as parameters, but entity names must match exactly. This search endpoint makes it easy to find the right entity name.

    Key Features:

    • Case-insensitive search that matches anywhere in the entity name

    • Returns up to 100 results ordered alphabetically

    • Minimum 2 character search query required

    Use Cases:

    1. Find entity names for profiler endpoints: Search "vitalik" to find "Vitalik Buterin" for use in address balance or transaction queries

    2. Discover exchange entities: Search "binance" to find all Binance-related entities

    3. Locate fund entities: Search "jump" to find "Jump Trading" and related entities

    Example Usage:

    Response:

    Note: This endpoint does not support pagination as results are capped at 100 items.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for entity name search endpoint.

    This endpoint helps users find the correct entity_name to use in other v1 endpoints that accept entity_name as a parameter.

    search_querystring ยท min: 2Required

    Search query for entity names (minimum 2 characters). Search is case-insensitive and matches anywhere in the entity name.

    Example: vitalik
    Responses
    chevron-right
    200

    List of matching entity names

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    entity_namestringRequired

    Entity name that can be used in other v1 endpoints

    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/search/entity-name

    hashtag
    Get Address PnL Summary Data

    post

    Get aggregate PnL statistics and top profitable tokens for a specific wallet address. This endpoint provides comprehensive profit and loss analysis including realized PnL, win rate, and top performing tokens.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    addressany ofOptional

    Address to get PnL summary for

    Example: 0x39d52da6beec991f075eebe577474fd105c5caec
    stringOptional
    entity_nameany ofOptional

    Entity name to get PnL summary for

    Example: Vitalik Buterin
    stringOptional
    chainstring ยท enumRequired

    Blockchain chain for the PnL data

    Example: ethereumPossible values:
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    Responses
    chevron-right
    200

    Address PnL summary data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    realized_pnlany ofRequired

    Realized profit and loss in USD

    numberOptional
    realized_roiany ofRequired

    Realized return on investment as percentage

    numberOptional
    token_addressstringRequired

    Token contract address

    token_symbolstringRequired

    Token symbol

    chainstringRequired

    Blockchain chain

    traded_token_countintegerRequired

    Total number of different tokens that have been bought or sold

    traded_timesintegerRequired

    Total number of sales (outflow or dex sell)

    realized_pnl_usdnumberRequired

    Total realized profit and loss in USD

    realized_pnl_percentnumberRequired

    Realized profit and loss as a percentage (not multiplied by 100)

    win_ratenumberRequired

    Number of sales where price of the token was higher than cost basis

    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/profiler/address/pnl-summary

    hashtag
    Get Address PnL Data

    post

    Calculate profit and loss metrics for a specific address and token. Provides detailed trading performance including realized gains from sales and unrealized gains from current holdings.

    What it helps to answer:

    • Realized profits or losses from completed token sales

    • Unrealized gains or losses on current token holdings

    • Average purchase and sale prices for the token

    • Total return on investment

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/profiler/address/pnl

    hashtag
    Get TGM Flow Intelligence Data

    post

    This endpoint provides comprehensive flow intelligence analytics, including inflows, outflows, and net flows for a specific token, broken down by various holder segments (Exchanges, Smart Money, Public Figures, Whales) with time-based statistics and trends. It can be used for identifying accumulation/distribution patterns across different holder segments.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    Responses
    chevron-right
    200

    TGM flow intelligence data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    public_figure_net_flow_usdany ofOptional

    Net flow (USD) for addresses labeled as Public Figure

    Example: 1000000.5
    numberOptional
    public_figure_avg_flow_usdany ofOptional

    Geometric mean of absolute flow for Public Figure addresses

    Example: 50000.25
    numberOptional
    public_figure_wallet_countany ofOptional

    Unique wallet count for Public Figure addresses

    Example: 10
    integerOptional
    top_pnl_net_flow_usdany ofOptional

    Net flow (USD) for addresses labeled as Top PnL

    Example: 2000000.75
    numberOptional
    top_pnl_avg_flow_usdany ofOptional

    Geometric mean of absolute flow for Top PnL addresses

    Example: 100000.5
    numberOptional
    top_pnl_wallet_countany ofOptional

    Unique wallet count for Top PnL addresses

    Example: 15
    integerOptional
    whale_net_flow_usdany ofOptional

    Net flow (USD) for addresses labeled as Whale

    Example: 5000000.25
    numberOptional
    whale_avg_flow_usdany ofOptional

    Geometric mean of absolute flow for Whale addresses

    Example: 250000.75
    numberOptional
    whale_wallet_countany ofOptional

    Unique wallet count for Whale addresses

    Example: 25
    integerOptional
    smart_trader_net_flow_usdany ofOptional

    Net flow (USD) for addresses labeled as Smart Trader

    Example: 1500000.5
    numberOptional
    smart_trader_avg_flow_usdany ofOptional

    Geometric mean of absolute flow for Smart Trader addresses

    Example: 75000.25
    numberOptional
    smart_trader_wallet_countany ofOptional

    Unique wallet count for Smart Trader addresses

    Example: 20
    integerOptional
    exchange_net_flow_usdany ofOptional

    Net flow (USD) for addresses labeled as Exchange

    Example: 3000000.75
    numberOptional
    exchange_avg_flow_usdany ofOptional

    Geometric mean of absolute flow for Exchange addresses

    Example: 150000.5
    numberOptional
    exchange_wallet_countany ofOptional

    Unique wallet count for Exchange addresses

    Example: 5
    integerOptional
    fresh_wallets_net_flow_usdany ofOptional

    Net flow (USD) for fresh wallets. Only available for 1d and 7d timeframes.

    Example: 500000.25
    numberOptional
    fresh_wallets_avg_flow_usdany ofOptional

    Average absolute flow (USD) for fresh wallets. Only available for 1d and 7d timeframes.

    Example: 25000.75
    numberOptional
    fresh_wallets_wallet_countany ofOptional

    Fresh wallets wallet count. Only available for 1d and 7d timeframes.

    Example: 100
    integerOptional
    warningsany ofOptional

    Optional warnings about the query results. For example, if fresh_wallets fields are null due to timeframe constraints.

    string[]Optional
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/tgm/flow-intelligence

    hashtag
    Get TGM Jupiter DCA Data

    post

    This endpoint provides Jupiter DCA orders with stats per vault for a specific token. Jupiter DCA (Dollar Cost Averaging) is only available on Solana and allows users to automate token purchases over time. Returns comprehensive data about DCA vaults including deposit amounts, redemption status, and trader information.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    Responses
    chevron-right
    200

    TGM Jupiter DCA data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    since_timestampany ofOptional

    The timestamp of the earliest transaction

    Example: 2024-01-15T10:30:00Z
    stringOptional
    last_timestampany ofOptional

    The timestamp of the latest transaction

    Example: 2024-01-20T15:45:00Z
    stringOptional
    trader_addressstringRequired

    The address of the trader

    Example: 7BgBvyjrZX8YKHKbbh3FbXzqKFKWJNJRVdVkgLkFUGG1
    creation_hashany ofOptional

    The transaction hash at the time of creation

    Example: 3k2j9h4k5l6m7n8o9p0q1r2s3t4u5v6w7x8y9z0a1b2c3d4e5f6g7h8i9j0k1l2m
    stringOptional
    trader_labelany ofOptional

    The label of the trader obtained from Nansen's multichain data

    Example: High Gas Consumer
    stringOptional
    dca_vault_addressany ofOptional

    The address of the DCA vault

    Example: 8CvgjhGJeKM9xkRBKkwRGF2VchUxJKNDLvSfXBmZ4Pqr
    stringOptional
    input_mint_addressany ofOptional

    The mint address of the input token

    Example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
    stringOptional
    output_mint_addressany ofOptional

    The mint address of the output token

    Example: 2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv
    stringOptional
    deposit_amountany ofOptional

    The amount deposited into the DCA vault

    Example: 1000
    numberOptional
    deposit_spentany ofOptional

    The amount spent from the deposit

    Example: 250.5
    numberOptional
    other_token_redeemedany ofOptional

    The amount of other tokens redeemed

    Example: 50.25
    numberOptional
    statusany ofOptional

    The status of the DCA vault

    Example: Active
    string ยท enumOptional

    Enum for TGM Jupiter DCA status values.

    Possible values:
    token_inputany ofOptional

    The symbol of the input token

    Example: USDC
    stringOptional
    token_outputany ofOptional

    The symbol of the output token

    Example: PEPE
    stringOptional
    deposit_usd_valueany ofOptional

    The USD value of the deposit

    Example: 1000
    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/tgm/jup-dca

    hashtag
    Get TGM Perp Trades Data

    post

    Retrieve perpetual trade data for a specific token on Hyperliquid. Shows individual trades with detailed information including trader address, trade side (Long/Short), action type (Add/Reduce/Open/Close), order type (Market/Limit), and trade metrics.

    Key Features:

    • Hyperliquid perpetual contracts only

    • Smart money filtering capabilities

    • Detailed trade breakdown with parsed action fields

    • Support for both Long and Short position trading

    • Market and Limit order types

    Request Parameters:

    • token_symbol: Token symbol to fetch trades for (e.g., "BTC", "ETH")

    • date: Date range for the trades

    • filters: Additional filters for side, action, order_type, etc.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for TGM perp trades endpoint.

    This endpoint provides perp trades data for a specific token.

    token_symbolstringRequired

    Token symbol

    Example: BTC
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"order_type":["MARKET"],"side":["Long"]}
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Trader label filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    sideany ofOptional

    Position side filter (Long or Short)

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    itemsstring ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    nullOptional
    actionany ofOptional

    Action filter with combined buy/sell direction (e.g., 'Buy - Add Long', 'Sell - Reduce Long')

    Example: Buy - Add Long
    string ยท enumOptional

    Shared enum for perpetual trade action types (combined buy/sell with position actions).

    Possible values:
    or
    itemsstring ยท enumOptional

    Shared enum for perpetual trade action types (combined buy/sell with position actions).

    Possible values:
    or
    nullOptional
    order_typeany ofOptional

    Order type filter (MARKET or LIMIT)

    Example: MARKET
    string ยท enumOptional

    Order type.

    Possible values:
    or
    itemsstring ยท enumOptional

    Order type.

    Possible values:
    or
    nullOptional
    token_amountany ofOptional

    Token amount range filter

    Example: {"max":1000,"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    price_usdany ofOptional

    Price range filter in USD

    Example: {"max":10000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    value_usdany ofOptional

    Trade value range filter in USD

    Example: {"max":10000,"min":-10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    include_smart_money_labelsany ofOptional

    Include smart money labels

    Example: ["Fund","Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels

    Example: ["30D Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "block_timestamp", "direction": "DESC"}] - Sort by timestamp descending
    • [{"field": "value_usd", "direction": "DESC"}] - Sort by trade value descending

    Default: block_timestamp DESC, transaction_hash ASC, trader_address ASC (ensures stable pagination and prevents duplicate rows)

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    post
    /api/v1/tgm/perp-trades

    hashtag
    Get Perpetual Trade Data

    post

    Get perpetual trade data for a user. This endpoint provides trade information including trade price, size, side, fees, and other trade details.

    What it helps to answer:

    1. What are the perpetual trades for a specific user address within a date range?

    2. What are the trade prices, sizes, and directions for each trade?

    3. What are the trading fees and closed PnL for each trade?

    4. What are the order IDs and transaction hashes for trade tracking?

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/profiler/perp-trades

    hashtag
    Get Perpetual Trading Leaderboard Data

    post

    Get perpetual trading leaderboard data showing the most profitable traders within a given date range. This endpoint provides trader performance metrics including total PnL, ROI, and account values.

    What it helps to answer:

    1. Who are the most profitable perpetual traders in a given timeframe?

    2. What are the ROI percentages for top performing traders?

    3. What are the account values of successful perpetual traders?

    4. How do trader addresses and labels correlate with performance?

    Key Features:

    • Trader address and label information

    • Total PnL tracking in USD

    • ROI calculations as percentages

    • Account value tracking

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/perp-leaderboard

    hashtag
    Get Token OHLCV Data

    post

    Get unified OHLCV (Open, High, Low, Close, Volume) data for tokens across supported chains.

    This endpoint unifies the legacy TGM prices endpoints (/tgm/prices/low-timeframe and /tgm/prices/high-timeframe) into a single endpoint with support for multiple timeframes:

    Low timeframes (sub-hourly): 1m, 5m, 15m, 30m, 1h High timeframes (multi-hour): 4h, 1d, 1w, 1M

    Returns OHLCV candle data including:

    • Price data: open, high, low, close prices

    • Volume data: trading volume in token units and USD

    • Market cap data: market capitalization at each time point

    Date range defaults to the last 30 days if not specified.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/tgm/token-ohlcv

    hashtag
    Get Address Labels

    post

    Get labels for a wallet address. Returns non-premium labels only.

    Labels include ENS domains, behavioral labels, DeFi labels, CEX labels, and more. Premium labels (smart money, alpha trader) are excluded from this endpoint.

    Use /api/v1/profiler/address/premium-labels to get all labels including premium ones.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for Address Labels endpoint.

    addressstringRequired

    Wallet address to get labels for

    Example: 0x4a7c6899cdcb379e284fbfd045462e751da4c7ce
    chainstring ยท enumRequired

    Blockchain chain. Use 'all' to search all chains compatible with the address format.

    Example: ethereumPossible values:
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    post
    /api/v1/profiler/address/labels

    hashtag
    Get Address Premium Labels

    post

    Get all labels for a wallet address, including premium labels.

    Returns all labels including smart money labels, alpha trader labels, and public figure tags that are excluded from the standard /labels endpoint.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for Address Labels endpoint.

    addressstringRequired

    Wallet address to get labels for

    Example: 0x4a7c6899cdcb379e284fbfd045462e751da4c7ce
    chainstring ยท enumRequired

    Blockchain chain. Use 'all' to search all chains compatible with the address format.

    Example: ethereumPossible values:
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    Responses
    chevron-right
    200

    Address labels data (including premium)

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    labelstringRequired

    The label name

    Example: Token Millionaire
    categoryany ofOptional

    Label category (smart_money, behavioral, defi, social, cefi, nft, others)

    Example: behavioral
    stringOptional
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/profiler/address/premium-labels

    hashtag
    Get TGM Perp Positions Data

    post

    Retrieve current perpetual positions for a specific token on Hyperliquid. Shows active positions with detailed metrics including entry price, mark price, leverage, PnL, and liquidation price.

    Key Features:

    • Hyperliquid perpetual contracts only (no chain field needed)

    • Real-time position tracking with live PnL calculations

    • Leverage and margin information

    • Smart money filtering capabilities

    • Support for both Long and Short positions

    What it helps to answer:

    1. What are the current perp positions for a specific token?

    2. Which addresses have the largest positions by value?

    3. What are the unrealized gains/losses on current positions?

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/tgm/perp-positions

    hashtag
    Get Smart Money Perpetual Trades Data

    post

    Access real-time perpetual trading activity from smart traders and funds on Hyperliquid. This endpoint provides granular transaction-level data showing exactly what sophisticated traders are trading on perpetual contracts.

    Key Features:

    • Hyperliquid perpetual contracts only (no chain field needed)

    • Real-time trading data from smart money wallets

    • Detailed trade information including coin, amount, price, action, and type

    • Smart money filtering capabilities

    • Type filtering (Market/Limit)

    • Only new positions filter to show only position opening trades (defaults to false - shows all trades)

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    filtersany ofOptional

    Additional filters to apply. Only filters for columns that are being selected will be applied.

    Example: {"action":"Buy - Add Long","side":"Long","token_symbol":"BTC","type":"Limit","value_usd":{"max":10000,"min":1000}}
    include_smart_money_labelsany ofOptional

    Include smart money labels for traders

    Example: ["Smart HL Perps Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels for traders

    Example: ["Smart HL Perps Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Trader name or label filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_symbolany ofOptional

    Token symbol filter

    Example: BTC
    stringOptional
    typeany ofOptional

    Trade type filter - Market or Limit

    Example: Market
    string ยท enumOptional

    Enum for trade types.

    Possible values:
    token_amountany ofOptional

    Token amount range filter

    Example: {"max":1000,"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    price_usdany ofOptional

    Price range filter in USD

    Example: {"max":10000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    value_usdany ofOptional

    Trade value range filter in USD

    Example: {"max":10000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    sideany ofOptional

    Position side filter - Long or Short

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    itemsstring ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    nullOptional
    actionany ofOptional

    Action filter - combined buy/sell with position action (e.g., 'Buy - Add Long', 'Sell - Open Short')

    Example: Buy - Add Long
    string ยท enumOptional

    Shared enum for perpetual trade action types (combined buy/sell with position actions).

    Possible values:
    or
    itemsstring ยท enumOptional

    Shared enum for perpetual trade action types (combined buy/sell with position actions).

    Possible values:
    or
    nullOptional
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels (20 credits, currently available to internal users only).

    booleanOptional
    only_new_positionsany ofOptional

    When True, includes 'Open' position actions (Open Long, Open Short). Can be combined with other action filters using OR logic (union). When False (default), returns all trades.

    Default: falseExample: true
    booleanOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "value_usd", "direction": "DESC"}] - Sort by trade value descending
    • [{"field": "block_timestamp", "direction": "ASC"}] - Sort by timestamp ascending
    • [{"field": "token_amount", "direction": "DESC"}, {"field": "block_timestamp", "direction": "ASC"}] - Sort by token amount descending, then timestamp ascending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    post
    /api/v1/smart-money/perp-trades

    hashtag
    Get TGM DEX Trades Data

    post

    Access individual DEX trading transactions for a specific token. Shows detailed trade-by-trade data including trader labels, amounts, and prices.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    Responses
    chevron-right
    200

    TGM DEX trades data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    block_timestampstringRequired

    Block timestamp of the trade

    Example: 2025-05-01T12:00:00Z
    transaction_hashstringRequired

    Transaction hash

    Example: 0x61adb6da30853c5988f0204dd9f6e4abbc878e02c34030a4f707cf4ec3124bcb
    trader_addressstringRequired

    Trader's address

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    trader_address_labelany ofOptional

    Name of the trader, based on nansen_label

    Example: High Gas Consumer
    stringOptional
    actionstring ยท enumRequired

    The action taken by the trader. Either 'BUY' or 'SELL'

    Example: BUYPossible values:
    token_addressstringRequired

    Address of token

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    token_namestringRequired

    The name of the token

    Example: USDC
    token_amountany ofRequired

    The amount of the specified token traded

    Example: 1000
    numberOptional
    traded_token_addressstringRequired

    Address of token

    Example: 0x6b175474e89094c44da98b954eedeac495271d0f
    traded_token_namestringRequired

    The name of the token traded for the specified token

    Example: DAI
    traded_token_amountany ofRequired

    The amount of the token traded for the specified token

    Example: 500
    numberOptional
    estimated_swap_price_usdany ofRequired

    Estimated swap price in USD, derived from the counterpart token's USD value. Falls back to the daily median token price if the counterpart price is unavailable.

    Example: 1
    numberOptional
    estimated_value_usdany ofRequired

    The estimated value of the trade in USD

    Example: 1500.5
    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/tgm/dex-trades

    hashtag
    Get Perpetual Contract Screening Data

    post

    Discover and screen perpetual contracts on Hyperliquid with advanced filtering capabilities. This endpoint helps identify trending perpetual contracts, trading activity, funding rates, and smart money movements by combining metrics like volume, open interest, funding rates, and position data.

    What it helps to answer:

    1. Which perpetual contracts are experiencing significant trading volume and activity?

    2. How do funding rates correlate with trading patterns and smart money positions?

    3. What perpetual contracts show strong fundamentals in terms of open interest and trading patterns?

    4. Which perpetual contracts are attracting smart money participation with long/short positions?

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/perp-screener

    hashtag
    Get TGM Perp PnL Leaderboard Data

    post

    Rank traders by their profit/loss performance for a specific perpetual contract on Hyperliquid. Shows both realized profits (from completed trades) and unrealized profits (from current holdings), along with ROI percentages and trading patterns. This endpoint can be used to analyze the realized and unrealized profit for each trader who traded the input perpetual contract.

    Key Features:

    • Hyperliquid perpetual contracts only (no chain field needed)

    • Realized and unrealized PnL tracking

    • ROI calculations and trading patterns

    • Position size and balance tracking

    Request Format:

    • token_symbol: Perpetual contract symbol (e.g., "BTC", "ETH", "SOL")

    • date: Date range for analysis

    • filters: Optional filters for trader addresses, PnL ranges, etc.

    Label Tier Control (premium_labels): The premium_labels parameter is now available to all users. When omitted, it defaults to true (premium labels). In a future release, the default will change to false. Pass premium_labels=true explicitly to preserve premium label behavior.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/tgm/perp-pnl-leaderboard

    hashtag
    Get Smart Money DEX Trades Data

    post

    Access real-time DEX trading activity from smart traders and funds over the last 24 hours. This endpoint provides granular transaction-level data showing exactly what sophisticated traders are buying and selling on decentralized exchanges.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    Responses
    chevron-right
    200

    Smart money DEX trades data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    chainstringRequired

    Blockchain chain

    block_timestampstringRequired

    Block timestamp of the trade

    transaction_hashstringRequired

    Transaction hash

    trader_addressstringRequired

    Hexadecimal representation of the trader's address, i.e. the signer of the transaction

    trader_address_labelstringRequired

    Name of the trader, based on nansen_label

    token_bought_addressstringRequired

    Hexadecimal representation of the bought token's address

    token_sold_addressstringRequired

    Hexadecimal representation of the sold token's address

    token_bought_amountany ofOptional

    Amount of token bought in decimal amount

    numberOptional
    token_sold_amountany ofOptional

    Amount of token sold in decimal amount

    numberOptional
    token_bought_symbolstringRequired

    Symbol of the bought token

    token_sold_symbolstringRequired

    Symbol of the sold token

    token_bought_age_daysintegerRequired

    Age of bought token's address in days

    token_sold_age_daysintegerRequired

    Age of sold token's address in days

    token_bought_market_capany ofOptional

    Circulating market cap of bought token in USD. Returns NULL when circulating supply data is unavailable.

    numberOptional
    token_sold_market_capany ofOptional

    Circulating market cap of sold token in USD. Returns NULL when circulating supply data is unavailable.

    numberOptional
    token_bought_fdvany ofOptional

    Fully Diluted Valuation of bought token in USD (total_supply x price). May be very large for tokens with no circulating supply data.

    numberOptional
    token_sold_fdvany ofOptional

    Fully Diluted Valuation of sold token in USD (total_supply x price). May be very large for tokens with no circulating supply data.

    numberOptional
    trade_value_usdany ofOptional

    Either token_bought_in_usd or token_sold_in_usd, if token_bought_in_usd is 0

    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/smart-money/dex-trades

    hashtag
    Get TGM Perp Positions Data

    post

    Retrieve current perpetual positions for a specific token on Hyperliquid. Shows active positions with detailed metrics including entry price, mark price, leverage, PnL, and liquidation price.

    Key Features:

    • Hyperliquid perpetual contracts only (no chain field needed)

    • Real-time position tracking with live PnL calculations

    • Leverage and margin information

    • Smart money filtering capabilities

    • Support for both Long and Short positions

    What it helps to answer:

    1. What are the current perp positions for a specific token?

    2. Which addresses have the largest positions by value?

    3. What are the unrealized gains/losses on current positions?

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for TGM perp positions endpoint.

    This endpoint provides perp positions data for a specific token.

    token_symbolstringRequired

    Token symbol

    Example: BTC
    label_typestring ยท enumOptional

    Label type filter

    Default: all_tradersExample: all_tradersPossible values:
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"include_smart_money_labels":["Smart HL Perps Trader","Fund"],"position_value_usd":{"min":10000},"side":["Long"],"upnl_usd":{"min":0}}
    include_smart_money_labelsany ofOptional

    Include smart money labels for traders

    Example: ["Smart HL Perps Trader"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels for traders

    Example: ["Smart HL Perps Trader"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    address_labelany ofOptional

    Trader label filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    sideany ofOptional

    Position side filter (Long or Short)

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    itemsstring ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    nullOptional
    position_value_usdany ofOptional

    Position value range filter in USD

    Example: {"min":10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    position_sizeany ofOptional

    Position size range filter (token amount)

    Example: {"min":1.5}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    entry_priceany ofOptional

    Entry price range filter

    Example: {"max":60000,"min":50000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    upnl_usdany ofOptional

    Unrealized PnL range filter in USD

    Example: {"max":10000,"min":-1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    funding_usdany ofOptional

    Funding range filter in USD

    Example: {"max":10000,"min":-1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "position_value_usd", "direction": "DESC"}] - Sort by position value USD descending
    • [{"field": "upnl_usd", "direction": "ASC"}] - Sort by unrealized PnL ascending
    • [{"field": "leverage", "direction": "DESC"}] - Sort by leverage descending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    post
    /api/v1/tgm/perp-positions

    hashtag
    Get TGM Token Information Data

    post

    Get comprehensive token information including basic details (name, symbol, contract address, logo), token details (deployment date, social links, market metrics like market cap and FDV), and spot trading metrics (volume, buys/sells, unique traders, liquidity, holders).

    This endpoint provides a complete overview of a token's metadata, market position, and trading activity for a specific date range.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for TGM token information endpoint. This endpoint provides comprehensive token information including basic details, token details (deployment, social links, market metrics), and spot trading metrics.

    chainstring ยท enumRequired

    Blockchain chain

    Example: ethereumPossible values:
    token_addressstringRequired

    Token address

    Example: 0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9
    timeframestring ยท enumRequired

    Timeframe for the token information query

    Example: 1dPossible values:
    Responses
    chevron-right
    200

    TGM token information data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    nameany ofOptional

    Token name

    Example: Aave
    stringOptional
    symbolany ofOptional

    Token symbol

    Example: AAVE
    stringOptional
    contract_addressany ofOptional

    Token contract address

    Example: 0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9
    stringOptional
    logoany ofOptional

    Token logo URL

    Example: https://assets.coingecko.com/coins/images/12645/large/AAVE.png
    stringOptional
    token_detailsany ofOptional

    Token details including deployment, social links, and market metrics

    token_deployment_dateany ofOptional

    Token deployment date in ISO format

    Example: 2020-11-05T00:00:00Z
    stringOptional
    websiteany ofOptional

    Token website URL

    Example: https://aave.com
    stringOptional
    xany ofOptional

    X (Twitter) profile URL

    Example: https://x.com/aave
    stringOptional
    telegramany ofOptional

    Telegram channel URL

    Example: https://t.me/Aavesome
    stringOptional
    market_cap_usdany ofOptional

    Market capitalization in USD

    Example: 4690000000
    numberOptional
    fdv_usdany ofOptional

    Fully diluted valuation in USD

    Example: 4930000000
    numberOptional
    circulating_supplyany ofOptional

    Circulating supply of the token

    Example: 15230000
    numberOptional
    total_supplyany ofOptional

    Total supply of the token

    Example: 16000000
    numberOptional
    spot_metricsany ofOptional

    Spot trading metrics for the token

    volume_total_usdany ofOptional

    Total trading volume in USD

    Example: 8850000
    numberOptional
    buy_volume_usdany ofOptional

    Total buy volume in USD

    Example: 4520000
    numberOptional
    sell_volume_usdany ofOptional

    Total sell volume in USD

    Example: 4330000
    numberOptional
    total_buysany ofOptional

    Total number of buy transactions

    Example: 666
    integerOptional
    total_sellsany ofOptional

    Total number of sell transactions

    Example: 499
    integerOptional
    unique_buyersany ofOptional

    Number of unique buyers

    Example: 106
    integerOptional
    unique_sellersany ofOptional

    Number of unique sellers

    Example: 132
    integerOptional
    liquidity_usdany ofOptional

    Liquidity in USD

    Example: 153420000
    numberOptional
    total_holdersany ofOptional

    Total number of token holders

    Example: 165299
    integerOptional
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/tgm/token-information

    hashtag
    Get Token Screening Data

    post

    Discover and screen tokens across multiple blockchains with advanced filtering capabilities. This endpoint helps identify trending tokens, new launches, and smart money movements by combining metrics like volume, liquidity, market cap, and trading activity.

    What it helps to answer:

    1. Which tokens are experiencing significant smart money activity across different chains?

    2. How do market metrics (price, volume, liquidity) correlate with holder behavior and smart money movements?

    3. What tokens show strong fundamentals in terms of holder distribution and trading patterns?

    4. Which emerging tokens are attracting fresh wallet inflows while maintaining healthy smart money participation?

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/token-screener

    hashtag
    Get TGM Flows Data

    post

    Analyze aggregated token flows by holder category over time. Shows hourly snapshots of balances, inflows, and outflows for specific holder groups: smart money, public figures, whales, and exchanges.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    Responses
    chevron-right
    200

    TGM flows data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    datestringRequired

    Block date of the flow data point

    price_usdany ofOptional

    Daily median token price in USD. For the current day, uses the latest spot price.

    numberOptional
    token_amountany ofOptional

    Total token amount

    numberOptional
    value_usdany ofOptional

    Total token value in USD

    numberOptional
    holders_countany ofOptional

    Number of token holders

    integerOptional
    total_inflows_countany ofOptional

    Total inflows

    numberOptional
    total_outflows_countany ofOptional

    Total outflows

    numberOptional
    total_inflows_dexany ofOptional

    Total DEX inflows (token amount). Only populated when label=exchange, null otherwise.

    numberOptional
    total_outflows_dexany ofOptional

    Total DEX outflows (token amount). Only populated when label=exchange, null otherwise.

    numberOptional
    total_inflows_cexany ofOptional

    Total CEX inflows (token amount). Only populated when label=exchange, null otherwise.

    numberOptional
    total_outflows_cexany ofOptional

    Total CEX outflows (token amount). Only populated when label=exchange, null otherwise.

    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/tgm/flows

    hashtag
    Get TGM Holders Data

    post

    Retrieve the top token holders with their current balances, historical activity, and recent balance changes. Provides insights into token distribution, smart money and fund holdings.

    Performance Optimization for Native Tokens: When querying native tokens with label_type: "all_holders", this endpoint uses an optimized model to prevent timeouts. This optimization has the following limitations:

    • Ordering: Only token_amount field is supported

    • Filters: Limited to: token_amount, total_outflow, total_inflow, address, include_smart_money_labels

    To use advanced filters and ordering on native tokens, specify a label_type other than "all_holders" (e.g., "smart_money", "whale", "exchange").

    Label Tier Control (premium_labels): The premium_labels parameter is now available to all users. When omitted, it defaults to true (premium labels). In a future release, the default will change to false. Pass premium_labels=true explicitly to preserve premium label behavior.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/tgm/holders

    hashtag
    Get Address Counterparties Data

    post

    Get top counterparties that wallet addresses have interacted with, supporting different grouping options (wallet or entity) and source filtering (Combined, Tokens, ETH). Returns interaction statistics including volume, frequency, and timing data.

    What it helps to answer:

    • Most frequent transaction partners by count and volume

    • Net value flows between addresses (inflows vs outflows)

    • Exchange and protocol interaction patterns

    • DeFi protocol usage and DEX trading counterparties

    • High-value transfer relationships and funding sources

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/profiler/address/counterparties

    hashtag
    Get Address Historical Balances Data

    post

    Track token and native coin balance changes over time for addresses or entities. Provides snapshots at configurable intervals to analyze holding patterns, transaction activity, and portfolio evolution across multiple blockchains.

    What it helps to answer:

    • Portfolio value changes across different time periods

    • Token accumulation and distribution patterns over selected timeframes

    • New positions entered and exited during specific periods

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/profiler/address/historical-balances

    hashtag
    Get Perpetual Contract Screening Data

    post

    Discover and screen perpetual contracts on Hyperliquid with advanced filtering capabilities. This endpoint helps identify trending perpetual contracts, trading activity, funding rates, and smart money movements by combining metrics like volume, open interest, funding rates, and position data.

    What it helps to answer:

    1. Which perpetual contracts are experiencing significant trading volume and activity?

    2. How do funding rates correlate with trading patterns and smart money positions?

    3. What perpetual contracts show strong fundamentals in terms of open interest and trading patterns?

    4. Which perpetual contracts are attracting smart money participation with long/short positions?

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for Perp Screener endpoint.

    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply

    Example: {"token_symbol":"BTC","volume":{"min":10000}}
    only_smart_moneyany ofOptional

    Whether to only include smart money data

    Default: falseExample: true
    booleanOptional
    token_symbolany ofOptional

    Asset symbol filter (e.g., BTC, ETH)

    Example: BTC
    stringOptional
    volumeany ofOptional

    Total traded notional in USD range filter

    Example: {"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    buy_volumeany ofOptional

    Total USD value of market buy trades range filter

    Example: {"min":500000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    sell_volumeany ofOptional

    Total USD value of market sell trades range filter

    Example: {"min":500000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    buy_sell_pressureany ofOptional

    Net USD flow range filter

    Example: {"max":1000000,"min":-1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    trader_countany ofOptional

    Number of unique traders range filter

    Example: {"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    mark_priceany ofOptional

    Latest mark price range filter

    Example: {"max":100000,"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fundingany ofOptional

    Latest funding rate range filter

    Example: {"max":0.01,"min":-0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    previous_price_usdany ofOptional

    First price in the time window range filter

    Example: {"max":100000,"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    open_interestany ofOptional

    Latest open interest range filter

    Example: {"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    smart_money_volumeany ofOptional

    Total traded notional in USD by Smart Money range filter

    Example: {"min":100000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    smart_money_buy_volumeany ofOptional

    Total USD value of Smart Money market buy trades range filter

    Example: {"min":50000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    smart_money_sell_volumeany ofOptional

    Total USD value of Smart Money market sell trades range filter

    Example: {"min":50000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    net_position_changeany ofOptional

    Net USD flow (buy_market_vol - sell_market_vol) range filter

    Example: {"max":1000000,"min":-1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    current_smart_money_position_longs_usdany ofOptional

    Aggregate USD value of Smart Money long positions range filter

    Example: {"min":0}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    current_smart_money_position_shorts_usdany ofOptional

    Aggregate USD value of Smart Money short positions range filter

    Example: {"min":0}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    smart_money_longs_countany ofOptional

    Number of Smart Money accounts with net long position range filter

    Example: {"min":0}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    smart_money_shorts_countany ofOptional

    Number of Smart Money accounts with net short position range filter

    Example: {"min":0}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "volume", "direction": "DESC"}] - Sort by volume descending
    • [{"field": "net_positionz_change", "direction": "DESC"}] - Sort by net_position_change descending
    • [{"field": "buy_sell_pressure", "direction": "DESC"}] - Sort by buy/sell pressure descending (smart money)

    Default behavior:

    • When only_smart_money is False: sorts by buy_sell_pressure DESC
    • When only_smart_money is True: sorts by net_position_change DESC
    Example: [{"direction":"DESC","field":"buy_sell_pressure"}]
    fieldany ofRequired

    Field to sort by

    string ยท enumOptional

    Sort fields available for default perp screener data (only_smart_money=False).

    Possible values:
    or
    string ยท enumOptional

    Sort fields available for smart money perp screener data (only_smart_money=True).

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    post
    /api/v1/perp-screener

    hashtag
    Get Smart Money Holdings Data

    post

    Retrieve aggregated token balances held by smart traders and funds across multiple blockchains. This endpoint provides insights into what tokens are being accumulated by sophisticated market participants, excluding whales, large holders, and influencers to focus specifically on trading expertise.

    Key Features:

    • Aggregated balances (not per-wallet breakdowns)

    • 24-hour balance change tracking updated in realtime

    • Sector categorization for tokens

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/smart-money/holdings

    hashtag
    Get Perpetual Trading Leaderboard Data

    post

    Get perpetual trading leaderboard data showing the most profitable traders within a given date range. This endpoint provides trader performance metrics including total PnL, ROI, and account values.

    What it helps to answer:

    1. Who are the most profitable perpetual traders in a given timeframe?

    2. What are the ROI percentages for top performing traders?

    3. What are the account values of successful perpetual traders?

    4. How do trader addresses and labels correlate with performance?

    Key Features:

    • Trader address and label information

    • Total PnL tracking in USD

    • ROI calculations as percentages

    • Account value tracking

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for Perp Leaderboard endpoint. This endpoint provides a perpetual trading leaderboard showing the most profitable traders within a given date range.

    fromany ofOptional

    Start date in YYYY-MM-DD format

    Example: 2025-01-01
    stringOptional
    toany ofOptional

    End date in YYYY-MM-DD format

    Example: 2025-01-31
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"account_value":{"min":10000},"total_pnl":{"min":1000}}
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Filter by wallet display name. Use LIKE patterns (%) for partial matching. Note: This filters by the wallet's display name, not by label category. To filter by smart money labels, use include_smart_money_labels instead.

    Example: %Smart HL Perps Trader%
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    total_pnlany ofOptional

    Total PnL range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    roiany ofOptional

    ROI range filter as percentage

    Example: {"max":100,"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    account_valueany ofOptional

    Account value range filter in USD. Note: Only the top 500K traders have account value data available.

    Example: {"min":10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    include_smart_money_labelsany ofOptional

    Filter to include only traders with these smart money labels. For Hyperliquid, use 'Smart HL Perps Trader'. See SmartMoneyFilterType enum for valid values.

    Example: ["Smart HL Perps Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels

    Example: ["30D Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels. Note: In a future release, the default will change from true to false โ€” pass premium_labels=true explicitly to preserve premium label behavior.

    booleanOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    post
    /api/v1/perp-leaderboard

    hashtag
    Get TGM Perp PnL Leaderboard Data

    post

    Rank traders by their profit/loss performance for a specific perpetual contract on Hyperliquid. Shows both realized profits (from completed trades) and unrealized profits (from current holdings), along with ROI percentages and trading patterns. This endpoint can be used to analyze the realized and unrealized profit for each trader who traded the input perpetual contract.

    Key Features:

    • Hyperliquid perpetual contracts only (no chain field needed)

    • Realized and unrealized PnL tracking

    • ROI calculations and trading patterns

    • Position size and balance tracking

    Request Format:

    • token_symbol: Perpetual contract symbol (e.g., "BTC", "ETH", "SOL")

    • date: Date range for analysis

    • filters: Optional filters for trader addresses, PnL ranges, etc.

    Label Tier Control (premium_labels): The premium_labels parameter is now available to all users. When omitted, it defaults to true (premium labels). In a future release, the default will change to false. Pass premium_labels=true explicitly to preserve premium label behavior.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for TGM Perp PnL leaderboard endpoint. Simplified version that only supports Hyperliquid perpetual contracts.

    token_symbolstringRequired

    Perpetual contract symbol (e.g., BTC, ETH, SOL)

    Example: BTC
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"pnl_usd_realised":{"min":1000},"position_value_usd":{"min":1000}}
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Trader name filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_priceany ofOptional

    Token price range filter

    Example: {"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    pnl_usd_realisedany ofOptional

    Realized PnL range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    pnl_usd_unrealisedany ofOptional

    Unrealized PnL range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    holding_amountany ofOptional

    Holding amount range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    position_value_usdany ofOptional

    Position value range filter in USD (+ve = Long position, -ve = Short position, 0 = Flat)

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    max_balance_heldany ofOptional

    Maximum balance held range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    max_balance_held_usdany ofOptional

    Maximum balance held range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    still_holding_balance_ratioany ofOptional

    Still holding balance ratio range filter

    Example: {"max":1,"min":0.1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    nof_tradesany ofOptional

    Number of trades range filter

    Example: {"max":100,"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    include_smart_money_labelsany ofOptional

    Include smart money labels

    Example: ["Fund","Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels

    Example: ["30D Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels. Note: In a future release, the default will change from true to false โ€” pass premium_labels=true explicitly to preserve premium label behavior.

    booleanOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    post
    /api/v1/tgm/perp-pnl-leaderboard

    hashtag
    Get Address Current Balance Data

    post

    Retrieve current token holdings for addresses or entities. Returns detailed balance information across specified chains.

    What it helps to answer:

    • Current token holdings with quantities and USD valuations

    • Asset distribution across different blockchain networks

    • Native token versus token balances

    • Stablecoin holdings and percentages

    • Cross-chain portfolio composition

    Note: The address field in the response will be empty if entity_name is provided.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/profiler/address/current-balance

    hashtag
    Get Smart Money Netflow Data

    post

    Analyze net capital flows (inflows vs outflows) from smart traders and funds across different time periods. This endpoint helps identify which tokens are experiencing net accumulation or distribution by smart money.

    What are Net Flows? Net flows represent the difference between smart money inflows and outflows for a token. This includes:

    • DEX Trading Activity: Tokens bought vs sold on decentralized exchanges

    • CEX Transfers: Tokens sent to or received from centralized exchanges

    • Positive Net Flow: Smart money is accumulating (buying more than selling, or withdrawing from CEXs)

    • Negative Net Flow: Smart money is distributing (selling more than buying, or depositing to CEXs)

    Key Features:

    • Aggregated net flow calculations across all smart money activity

    • Multiple time period analysis (1h, 24h, 7d, 30d)

    • Sortable results by volume metrics

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body
    post
    /api/v1/smart-money/netflow

    hashtag
    Get Perpetual Trade Data

    post

    Get perpetual trade data for a user. This endpoint provides trade information including trade price, size, side, fees, and other trade details.

    What it helps to answer:

    1. What are the perpetual trades for a specific user address within a date range?

    2. What are the trade prices, sizes, and directions for each trade?

    3. What are the trading fees and closed PnL for each trade?

    4. What are the order IDs and transaction hashes for trade tracking?

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for Perp Trades endpoint.

    addressstring ยท min: 42 ยท max: 42Required

    User's Hyperliquid address in 42-character hexadecimal format

    Example: 0x45d26f28196d226497130c4bac709d808fed4029
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    filtersany ofOptional

    Additional filters for the trades

    Example: {"size":{"max":1000,"min":0.001}}
    token_symbolany ofOptional

    Token symbol filter

    Example: BTC
    stringOptional
    sideany ofOptional

    Position side filter (Long or Short)

    Example: Long
    string ยท enumOptional

    Enum for perp trade position types.

    Possible values:
    actionany ofOptional

    Action filter (Open/Add, Close/Reduce, Liquidation)

    Example: Open/Add
    string ยท enumOptional

    Enum for perp trade action filters (grouped).

    Possible values:
    crossedany ofOptional

    Whether the trade was crossed

    Example: true
    booleanOptional
    sizeany ofOptional

    Trade size range filter

    Example: {"max":1000,"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    start_positionany ofOptional

    Start position range filter

    Example: {"max":1000,"min":-1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    closed_pnlany ofOptional

    Closed PnL range filter

    Example: {"max":10000,"min":-10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fee_usdany ofOptional

    Fee in USD range filter

    Example: {"max":1000,"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fee_token_symbolany ofOptional

    Fee token filter

    Example: HYPE
    stringOptional
    oidany ofOptional

    Order ID range filter

    Example: {"min":100000000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    priceany ofOptional

    Price range filter

    Example: {"max":1000,"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    value_usdany ofOptional

    Value in USD range filter

    Example: {"max":1000000,"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Sort order for the trades

    Example: [{"direction":"DESC","field":"timestamp"}]
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    post
    /api/v1/profiler/perp-trades

    hashtag
    Get Perpetual Positions Data

    post

    Get perpetual positions data for a user by calling the Hyperliquid API directly. This endpoint provides real-time position information including entry price, mark price, PnL, leverage, and other position details.

    What it helps to answer:

    1. What are the current perpetual positions for a specific user address?

    2. What is the unrealized PnL and performance of each position?

    3. What are the leverage levels and margin requirements for each position?

    4. What are the liquidation prices and risk levels for each position?

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for Perp Positions endpoint.

    addressstring ยท min: 42 ยท max: 42Required

    User's Hyperliquid address in 42-character hexadecimal format

    Example: 0xa312114b5795dff9b8db50474dd57701aa78ad1e
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"position_value_usd":{"min":1000},"unrealized_pnl_usd":{"max":0}}
    token_symbolany ofOptional

    Filter by token symbol

    Example: BTC
    stringOptional
    position_value_usdany ofOptional

    Filter by position value in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    position_typeany ofOptional

    Filter by position type

    Example: oneWay
    stringOptional
    unrealized_pnl_usdany ofOptional

    Filter by unrealized PnL in USD

    Example: {"min":-1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "position_value_usd", "direction": "DESC"}] - Sort by position value descending
    • [{"field": "unrealized_pnl_usd", "direction": "ASC"}] - Sort by unrealized PnL ascending

    If not provided, positions are sorted by position value descending.

    Example: [{"direction":"DESC","field":"position_value_usd"}]
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    post
    /api/v1/profiler/perp-positions

    hashtag
    Get Token Screening Data

    post

    Discover and screen tokens across multiple blockchains with advanced filtering capabilities. This endpoint helps identify trending tokens, new launches, and smart money movements by combining metrics like volume, liquidity, market cap, and trading activity.

    What it helps to answer:

    1. Which tokens are experiencing significant smart money activity across different chains?

    2. How do market metrics (price, volume, liquidity) correlate with holder behavior and smart money movements?

    3. What tokens show strong fundamentals in terms of holder distribution and trading patterns?

    4. Which emerging tokens are attracting fresh wallet inflows while maintaining healthy smart money participation?

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for Token Screener endpoint.

    Either 'timeframe' (recommended) or 'date' (deprecated) must be provided.

    itemsstring ยท enumOptional

    Chains supported for Token Screener endpoint.

    Possible values:
    timeframeany ofOptional

    Required (unless using deprecated 'date' parameter).

    Time window for token screening data.

    Available timeframes and their data characteristics:

    • 5m: Last 5 minutes (minute-level granularity, 2-hour retention)
    • 10m: Last 10 minutes (minute-level granularity, 2-hour retention)
    • 1h: Last 1 hour (minute-level granularity, 2-hour retention)
    • 6h: Last 6 hours (hourly granularity, 2-day retention)
    • 24h: Last 24 hours (hourly granularity, 2-day retention)
    • 7d: Last 7 days (daily granularity, 2-month retention)
    • 30d: Last 30 days (daily granularity, 2-month retention)

    Cannot be used together with 'date'.

    Example: 24h
    string ยท enumOptional

    Token screener timeframe options.

    Defines the time window for token screening data. Each timeframe corresponds to different data granularity and retention periods. Matches the timeframe options in the Superapp token-screener widget.

    Possible values:
    dateany ofOptionalDeprecated

    DEPRECATED: Use 'timeframe' instead for better reliability and performance.

    Required only if 'timeframe' is not provided.

    Custom date range for the token screener. The granularity is automatically determined from the date range:

    • โ‰ค 1 hour: minute-level data (limited to last 2 hours)
    • 1 hour to 1 day: hourly data (limited to last 2 days)

    • 1 day: daily data (limited to last 2 months)

    Cannot be used together with 'timeframe'.

    Example: {"from":"2025-01-01T00:00:00Z","to":"2025-01-31T23:59:59Z"}
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply

    Example: {"only_smart_money":true,"token_age_days":{"max":365,"min":1}}
    token_addressany ofOptional

    Token address or symbol filter

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_symbolany ofOptional

    Token symbol filter

    Example: USDC
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    only_smart_moneyany ofOptionalDeprecated

    Deprecated: use trader_type instead. Whether to only include smart money tokens

    Example: true
    booleanOptional
    trader_typeany ofOptional

    Filter by trader type. Overrides only_smart_money when provided.

    Example: sm
    string ยท enumOptional

    Trader type filter for token screener.

    Possible values:
    sectorsany ofOptional

    Token sectors to include

    Example: ["DeFi","Gaming"]
    string[]Optional
    token_age_daysany ofOptional

    Token age range filter in days

    Example: {"max":365,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    market_cap_usdany ofOptional

    Market cap range filter

    Example: {"max":100000000,"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    liquidityany ofOptional

    Liquidity range filter

    Example: {"min":100000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    price_usdany ofOptional

    Current price range filter in USD

    Example: {"max":1000,"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    price_changeany ofOptional

    Price change percentage range filter

    Example: {"max":100,"min":-50}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fdvany ofOptional

    Fully Diluted Valuation range filter

    Example: {"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fdv_mc_ratioany ofOptional

    FDV to Market Cap ratio range filter

    Example: {"max":10,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    nof_buyersany ofOptional

    Number of unique buyers range filter

    Example: {"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    nof_tradersany ofOptional

    Number of unique traders range filter

    Example: {"min":50}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    nof_sellersany ofOptional

    Number of unique sellers range filter

    Example: {"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    nof_buysany ofOptional

    Number of buy transactions range filter

    Example: {"min":20}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    nof_sellsany ofOptional

    Number of sell transactions range filter

    Example: {"min":20}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    buy_volumeany ofOptional

    Buy volume range filter in USD

    Example: {"min":10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    sell_volumeany ofOptional

    Sell volume range filter in USD

    Example: {"min":10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    volumeany ofOptional

    Total trading volume range filter in USD

    Example: {"min":50000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    netflowany ofOptional

    Net flow range filter in USD

    Example: {"max":100000,"min":-100000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    inflow_fdv_ratioany ofOptional

    Inflow to FDV ratio range filter

    Example: {"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    outflow_fdv_ratioany ofOptional

    Outflow to FDV ratio range filter

    Example: {"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    include_stablecoinsbooleanOptional

    Whether to include stablecoins in token screener results. Default true preserves current behavior. Set to false to exclude USDC, USDT, DAI, and other major stablecoins.

    Default: true
    include_smart_money_labelsany ofOptional

    Include smart money labels

    Example: ["Public Figure","Exchange"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels

    Example: ["Fund"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "buy_volume", "direction": "DESC"}] - Sort by buy volume descending
    • [{"field": "price_change", "direction": "DESC"}] - Sort by price change descending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    post
    /api/v1/token-screener

    hashtag
    Get Portfolio DeFi Holdings Data

    post

    Get simplified DeFi holdings for a wallet address with aggregated tokens and protocol summaries in a user-friendly format.

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for portfolio DeFi holdings endpoint.

    wallet_addressstringRequired

    Wallet address to get DeFi holdings for

    Example: 0x4062b997279de7213731dbe00485722a26718892
    Responses
    chevron-right
    200

    Portfolio DeFi holdings data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    total_value_usdnumberRequired

    Total USD value of all holdings

    total_assets_usdnumberRequired

    Total USD value of all assets

    total_debts_usdnumberRequired

    Total USD value of all debts

    total_rewards_usdnumberRequired

    Total USD value of all rewards

    token_countintegerRequired

    Total number of unique tokens

    protocol_countintegerRequired

    Total number of protocols

    protocol_namestringRequired

    User-friendly protocol name

    chainstringRequired

    Blockchain network

    total_value_usdnumberRequired

    Total USD value in this protocol

    total_assets_usdnumberRequired

    Total USD value of assets in this protocol

    total_debts_usdnumberRequired

    Total USD value of debts in this protocol

    total_rewards_usdnumberRequired

    Total USD value of rewards in this protocol

    addressany ofOptional

    Token contract address (null for native tokens)

    stringOptional
    symbolany ofRequired

    Token symbol

    stringOptional
    amountany ofRequired

    Token amount

    numberOptional
    value_usdany ofRequired

    USD value

    numberOptional
    position_typestringRequired

    Position type: deposit, stake, borrow, or mixed

    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/portfolio/defi-holdings
    Support for both Long and Short position trading
  • Market and Limit order types

  • pagination: Page and per_page parameters

    Request model for TGM perp trades endpoint.

    This endpoint provides perp trades data for a specific token.

    token_symbolstringRequired

    Token symbol

    Example: BTC
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"order_type":["MARKET"],"side":["Long"]}
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Trader label filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    sideany ofOptional

    Position side filter (Long or Short)

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    itemsstring ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    nullOptional
    actionany ofOptional

    Action filter with combined buy/sell direction (e.g., 'Buy - Add Long', 'Sell - Reduce Long')

    Example: Buy - Add Long
    string ยท enumOptional

    Shared enum for perpetual trade action types (combined buy/sell with position actions).

    Possible values:
    or
    itemsstring ยท enumOptional

    Shared enum for perpetual trade action types (combined buy/sell with position actions).

    Possible values:
    or
    nullOptional
    order_typeany ofOptional

    Order type filter (MARKET or LIMIT)

    Example: MARKET
    string ยท enumOptional

    Order type.

    Possible values:
    or
    itemsstring ยท enumOptional

    Order type.

    Possible values:
    or
    nullOptional
    token_amountany ofOptional

    Token amount range filter

    Example: {"max":1000,"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    price_usdany ofOptional

    Price range filter in USD

    Example: {"max":10000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    value_usdany ofOptional

    Trade value range filter in USD

    Example: {"max":10000,"min":-10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    include_smart_money_labelsany ofOptional

    Include smart money labels

    Example: ["Fund","Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels

    Example: ["30D Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "block_timestamp", "direction": "DESC"}] - Sort by timestamp descending
    • [{"field": "value_usd", "direction": "DESC"}] - Sort by trade value descending

    Default: block_timestamp DESC, transaction_hash ASC, trader_address ASC (ensures stable pagination and prevents duplicate rows)

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    TGM perp trades data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    trader_address_labelany ofOptional

    The label associated with the trader

    Example: Smart Money
    stringOptional
    trader_addressstringRequired

    The trader's address

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    token_symbolany ofOptional

    The symbol of the token

    Example: BTC
    stringOptional
    sideany ofOptional

    The side of the position (Long or Short)

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    actionstringRequired

    The action taken by the trader (Add, Reduce, Open, Close)

    Example: Add
    token_amountany ofOptional

    The amount of the specified token traded

    Example: 1.5
    numberOptional
    price_usdany ofOptional

    Average fill price in USD across all fills in the trade, from exchange data.

    Example: 60000
    numberOptional
    value_usdany ofOptional

    The value in USD

    Example: 90000
    numberOptional
    typestring ยท enumRequired

    The order type (MARKET or LIMIT)

    Example: MARKETPossible values:
    block_timestampstringRequired

    The block timestamp for the transaction

    Example: 2025-10-01T12:40:00Z
    transaction_hashstringRequired

    A representative transaction hash for this trade. Note: A single row may aggregate multiple fills that occurred at the same timestamp. If the trader had fills across multiple transactions at the exact same millisecond, only one transaction_hash is shown. The token_amount and value_usd reflect the total across all fills.

    Example: 0x61adb6da30853c5988f0204dd9f6e4abbc878e02c34030a4f707cf4ec3124bcb
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    filtersany ofOptional

    Additional filters to apply. Only filters for columns that are being selected will be applied.

    Example: {"action":"Buy - Add Long","side":"Long","token_symbol":"BTC","type":"Limit","value_usd":{"max":10000,"min":1000}}
    include_smart_money_labelsany ofOptional

    Include smart money labels for traders

    Example: ["Smart HL Perps Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels for traders

    Example: ["Smart HL Perps Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Trader name or label filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_symbolany ofOptional

    Token symbol filter

    Example: BTC
    stringOptional
    typeany ofOptional

    Trade type filter - Market or Limit

    Example: Market
    string ยท enumOptional

    Enum for trade types.

    Possible values:
    token_amountany ofOptional

    Token amount range filter

    Example: {"max":1000,"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    price_usdany ofOptional

    Price range filter in USD

    Example: {"max":10000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    value_usdany ofOptional

    Trade value range filter in USD

    Example: {"max":10000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    sideany ofOptional

    Position side filter - Long or Short

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    itemsstring ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    nullOptional
    actionany ofOptional

    Action filter - combined buy/sell with position action (e.g., 'Buy - Add Long', 'Sell - Open Short')

    Example: Buy - Add Long
    string ยท enumOptional

    Shared enum for perpetual trade action types (combined buy/sell with position actions).

    Possible values:
    or
    itemsstring ยท enumOptional

    Shared enum for perpetual trade action types (combined buy/sell with position actions).

    Possible values:
    or
    nullOptional
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels (20 credits, currently available to internal users only).

    booleanOptional
    only_new_positionsany ofOptional

    When True, includes 'Open' position actions (Open Long, Open Short). Can be combined with other action filters using OR logic (union). When False (default), returns all trades.

    Default: falseExample: true
    booleanOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "value_usd", "direction": "DESC"}] - Sort by trade value descending
    • [{"field": "block_timestamp", "direction": "ASC"}] - Sort by timestamp ascending
    • [{"field": "token_amount", "direction": "DESC"}, {"field": "block_timestamp", "direction": "ASC"}] - Sort by token amount descending, then timestamp ascending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Smart money perpetual trades data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    trader_address_labelstringRequired

    Name of the trader, based on Nansen labels

    trader_addressstringRequired

    Hexadecimal representation of the trader's address, i.e. the signer of the transaction

    token_symbolstringRequired

    The token symbol

    sideany ofOptional

    The side of the position (Long or Short)

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    actionstringRequired

    The action taken by the trader (Add, Reduce, Open, Close)

    Example: Add
    token_amountany ofOptional

    Trade size in contract units

    numberOptional
    price_usdany ofOptional

    Trade price in USD

    numberOptional
    value_usdany ofOptional

    Notional trade value in USD

    numberOptional
    typestring ยท enumRequired

    The trade type (Market or Limit)

    Possible values:
    block_timestampstringRequired

    The timestamp of the block

    transaction_hashstringRequired

    Hexadecimal representation of the transaction hash

    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    Request model for smart money historical holdings endpoint.

    fromany ofOptional

    Start date in YYYY-MM-DD format

    Example: 2025-01-01
    stringOptional
    toany ofOptional

    End date in YYYY-MM-DD format

    Example: 2025-01-31
    stringOptional
    itemsstring ยท enumOptional

    Chains supported for smart money historical holdings endpoint.

    Possible values:
    filtersany ofOptional

    Additional filters to apply

    Example: {"balance_24h_percent_change":{"max":0.1,"min":-0.1},"exclude_smart_money_labels":["30D Smart Trader"],"include_native_tokens":false,"include_smart_money_labels":["Fund","Smart Trader"],"include_stablecoins":false,"token_age_days":{"max":30},"value_usd":{"max":100000,"min":1000}}
    include_smart_money_labelsany ofOptional

    Smart money category filters

    Example: ["Fund","Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Smart money category filters

    Example: ["30D Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    include_stablecoinsany ofOptional

    Whether to include stablecoins in the results

    Default: false
    booleanOptional
    include_native_tokensany ofOptional

    Whether to include native tokens (e.g., ETH, SOL) in the results

    Default: false
    booleanOptional
    balanceany ofOptional

    Token balance range filter in human-readable units

    Example: {"max":10000,"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    value_usdany ofOptional

    Value range filter in USD

    Example: {"max":100000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    balance_24h_percent_changeany ofOptional

    24-hour balance change percentage range filter

    Example: {"max":0.5,"min":-0.5}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    holders_countany ofOptional

    Number of holders range filter

    Example: {"max":1000,"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    share_of_holdings_percentany ofOptional

    Share of holdings percentage range filter

    Example: {"max":0.1,"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_age_daysany ofOptional

    Token age range filter in days

    Example: {"max":365,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    market_cap_usdany ofOptional

    Market cap range filter in USD

    Example: {"max":10000000,"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_addressany ofOptional

    Token address filter

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_symbolany ofOptional

    Token symbol filter

    Example: USDC
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels (20 credits, currently available to internal users only).

    booleanOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order. Defaults to sorting by date DESC, value_usd DESC, token_address ASC, chain ASC for stable pagination.

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Smart money historical holdings data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    datestringRequired

    Snapshot date (YYYY-MM-DD)

    chainstring ยท enumRequired

    Chain name

    Possible values:
    token_addressstringRequired

    Address of token

    token_symbolstringRequired

    Token symbol

    token_sectorsstring[]Required

    Token sectors

    smart_money_labelsstring[]Required

    Array of unique smart money labels present in the aggregated holdings for this token

    balanceany ofOptional

    Token balance in human-readable units (accounting for decimals)

    numberOptional
    value_usdany ofOptional

    Value of token held by Smart Money at snapshot date

    numberOptional
    balance_24h_percent_changeany ofOptional

    Balance change of Smart Money for token during the 24 hours prior to snapshot

    numberOptional
    holders_countintegerRequired

    Number of Smart Money holders of token at snapshot date

    share_of_holdings_percentany ofOptional

    Share of Smart Money total USD balance at snapshot date

    numberOptional
    token_age_daysintegerRequired

    Number of days since token was deployed, relative to snapshot date

    market_cap_usdany ofOptional

    Market cap of token at snapshot date

    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    Request model for TGM PnL leaderboard endpoint. This endpoint provides a token PnL leaderboard showing the most profitable traders for a specific token within a given date range.

    chainstring ยท enumRequired

    Blockchain chain

    Example: ethereumPossible values:
    token_addressstringRequired

    Token address

    Example: 0x6982508145454ce325ddbe47a25d4ec3d2311933
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"holding_usd":{"min":1000},"pnl_usd_realised":{"min":1000}}
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Trader name filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_priceany ofOptional

    Token price range filter

    Example: {"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    pnl_usd_realisedany ofOptional

    Realized PnL range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    pnl_usd_unrealisedany ofOptional

    Unrealized PnL range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    holding_amountany ofOptional

    Holding amount range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    holding_usdany ofOptional

    Holding value range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    max_balance_heldany ofOptional

    Maximum balance held range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    max_balance_held_usdany ofOptional

    Maximum balance held range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    still_holding_balance_ratioany ofOptional

    Still holding balance ratio range filter

    Example: {"max":1,"min":0.1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    nof_tradesany ofOptional

    Number of trades range filter

    Example: {"max":100,"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted, defaults to true (premium labels filtered by subscription plan). When false, returns free-tier labels for all users. When true, returns premium labels (filtered by subscription plan). Note: In a future release, the default will change from true to false โ€” pass premium_labels=true explicitly to preserve premium label behavior.

    booleanOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    TGM PnL leaderboard data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    trader_addressstringRequired

    Hexadecimal representation of the trader's address.

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    trader_address_labelany ofOptional

    Nansen name of the trader

    Example: ๐Ÿฆ Binance 14 [0x28c6c0]
    stringOptional
    price_usdany ofOptional

    Token price in USD at date_to. Uses latest spot price if date_to is today or later, otherwise the daily median price for that date.

    Example: 1.23
    numberOptional
    pnl_usd_realisedany ofOptional

    Realised profit and loss in USD.

    Example: 1250.5
    numberOptional
    pnl_usd_unrealisedany ofOptional

    Unrealised profit and loss in USD.

    Example: 100.25
    numberOptional
    holding_amountany ofOptional

    Current token balance

    Example: 5000
    numberOptional
    holding_usdany ofOptional

    USD value of token balance

    Example: 6000
    numberOptional
    max_balance_heldany ofOptional

    Maximum amount of tokens held at some point in time.

    Example: 10000
    numberOptional
    max_balance_held_usdany ofOptional

    Maximum amount of tokens in current USD value, held at some point in time.

    Example: 12000
    numberOptional
    still_holding_balance_ratioany ofOptional

    The ratio of current holdings to max balance held.

    Example: 0.5
    numberOptional
    netflow_amount_usdany ofOptional

    Netflow amount in USD.

    Example: 2500.75
    numberOptional
    netflow_amountany ofOptional

    Netflow amount.

    Example: 1500
    numberOptional
    roi_percent_totalany ofOptional

    Total ROI.

    Example: 15.5
    numberOptional
    roi_percent_realisedany ofOptional

    Realised ROI.

    Example: 12.3
    numberOptional
    roi_percent_unrealisedany ofOptional

    Unrealised ROI.

    Example: 3.2
    numberOptional
    pnl_usd_totalany ofOptional

    Total PNL in USD.

    Example: 1350.75
    numberOptional
    nof_tradesany ofOptional

    Number of trades.

    Example: 25
    integerOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    Request model for Perp Positions endpoint.

    addressstring ยท min: 42 ยท max: 42Required

    User's Hyperliquid address in 42-character hexadecimal format

    Example: 0xa312114b5795dff9b8db50474dd57701aa78ad1e
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"position_value_usd":{"min":1000},"unrealized_pnl_usd":{"max":0}}
    token_symbolany ofOptional

    Filter by token symbol

    Example: BTC
    stringOptional
    position_value_usdany ofOptional

    Filter by position value in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    position_typeany ofOptional

    Filter by position type

    Example: oneWay
    stringOptional
    unrealized_pnl_usdany ofOptional

    Filter by unrealized PnL in USD

    Example: {"min":-1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "position_value_usd", "direction": "DESC"}] - Sort by position value descending
    • [{"field": "unrealized_pnl_usd", "direction": "ASC"}] - Sort by unrealized PnL ascending

    If not provided, positions are sorted by position value descending.

    Example: [{"direction":"DESC","field":"position_value_usd"}]
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Perpetual positions data for the user

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    assetPositionsany ofOptional

    List of asset positions

    positionany ofOptional

    Position data

    token_symbolany ofOptional

    Asset symbol (e.g., BTC, ETH)

    Example: STBL
    stringOptional
    sizeany ofOptional

    Size

    Example: -50367.0
    stringOptional
    position_value_usdany ofOptional

    Position value USD

    Example: 5231.62029
    stringOptional
    entry_price_usdany ofOptional

    Entry price USD

    Example: 0.43499
    stringOptional
    liquidation_price_usdany ofOptional

    Liquidation price USD

    Example: 66.817537196
    stringOptional
    leverage_valueany ofOptional

    Leverage value

    Example: 3
    integerOptional
    leverage_typeany ofOptional

    Leverage type: 'cross' or 'isolated'

    Example: cross
    stringOptional
    leverage_raw_usdany ofOptional

    Raw USD leverage

    stringOptional
    margin_used_usdany ofOptional

    Margin used USD

    Example: 1743.87343
    stringOptional
    max_leverage_valueany ofOptional

    Maximum allowed leverage value

    Example: 3
    integerOptional
    return_on_equityany ofOptional

    Return on equity

    Example: 2.2836393396
    stringOptional
    unrealized_pnl_usdany ofOptional

    Unrealized PnL USD

    Example: 16677.54047
    stringOptional
    cumulative_funding_all_time_usdany ofOptional

    Cumulative funding all time USD

    Example: -623.219722
    stringOptional
    cumulative_funding_since_change_usdany ofOptional

    Cumulative funding since change USD

    Example: -618.925976
    stringOptional
    cumulative_funding_since_open_usdany ofOptional

    Cumulative funding since open USD

    Example: -623.219722
    stringOptional
    position_typeany ofOptional

    Position type

    Example: oneWay
    stringOptional
    crossMaintenanceMarginUsedany ofOptional

    Cross maintenance margin used USD

    Example: 722948.2832910001
    stringOptional
    cross_margin_summary_account_value_usdany ofOptional

    Cross margin summary account value USD

    Example: 4643143.4382309997
    stringOptional
    cross_margin_summary_total_margin_used_usdany ofOptional

    Cross margin summary total margin used USD

    Example: 1456365.231985
    stringOptional
    cross_margin_summary_total_net_liquidation_position_on_usdany ofOptional

    Cross margin summary total net liquidation position on USD

    Example: 13339928.690684
    stringOptional
    cross_margin_summary_total_raw_usdany ofOptional

    Cross margin summary total raw USD

    Example: 13987445.0243870001
    stringOptional
    margin_summary_account_value_usdany ofOptional

    Margin summary account value USD

    Example: 4643143.4382309997
    stringOptional
    margin_summary_total_margin_used_usdany ofOptional

    Margin summary total margin used USD

    Example: 1456365.231985
    stringOptional
    margin_summary_total_net_liquidation_position_usdany ofOptional

    Margin summary total net liquidation position USD

    Example: 13339928.690684
    stringOptional
    margin_summary_total_raw_usdany ofOptional

    Margin summary total raw USD

    Example: 13987445.0243870001
    stringOptional
    timeany ofOptional

    Timestamp

    Example: 1761283435707
    integerOptional
    withdrawableany ofOptional

    Withdrawable USD

    Example: 2933647.2403759998
    stringOptional
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    {"type": "finish", "conversation_id": "โ€ฆ", "tool_calls": [...]}

    Final event. Contains the conversation_id for follow-up requests and the full list of tools used.

    error

    {"type": "error", "error": "โ€ฆ", "status_code": โ€ฆ}

    Emitted if the upstream agent service is unavailable or times out.

    No content

    {"type": "finish", "conversation_id": "โ€ฆ", "tool_calls": [...]}

    Final event. Contains the conversation_id for follow-up requests and the full list of tools used.

    error

    {"type": "error", "error": "โ€ฆ", "status_code": โ€ฆ}

    Emitted if the upstream agent service is unavailable or times out.

    No content

    delta

    {"type": "delta", "text": "โ€ฆ"}

    Incremental text chunk of the agent's answer.

    tool_call

    {"type": "tool_call", "name": "โ€ฆ"}

    Emitted once per unique Nansen tool the agent invokes.

    delta

    {"type": "delta", "text": "โ€ฆ"}

    Incremental text chunk of the agent's answer.

    tool_call

    {"type": "tool_call", "name": "โ€ฆ"}

    Emitted once per unique Nansen tool the agent invokes.

    finish

    finish

    Free endpoint (0 credits)
    {
      "search_query": "vitalik"
    }
    {
      "data": [
        {"entity_name": "Vitalik Buterin"},
        {"entity_name": "Vitalik Buterin: Charity"}
      ]
    }

    Request model for Perp Trades endpoint.

    addressstring ยท min: 42 ยท max: 42Required

    User's Hyperliquid address in 42-character hexadecimal format

    Example: 0x45d26f28196d226497130c4bac709d808fed4029
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    filtersany ofOptional

    Additional filters for the trades

    Example: {"size":{"max":1000,"min":0.001}}
    token_symbolany ofOptional

    Token symbol filter

    Example: BTC
    stringOptional
    sideany ofOptional

    Position side filter (Long or Short)

    Example: Long
    string ยท enumOptional

    Enum for perp trade position types.

    Possible values:
    actionany ofOptional

    Action filter (Open/Add, Close/Reduce, Liquidation)

    Example: Open/Add
    string ยท enumOptional

    Enum for perp trade action filters (grouped).

    Possible values:
    crossedany ofOptional

    Whether the trade was crossed

    Example: true
    booleanOptional
    sizeany ofOptional

    Trade size range filter

    Example: {"max":1000,"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    start_positionany ofOptional

    Start position range filter

    Example: {"max":1000,"min":-1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    closed_pnlany ofOptional

    Closed PnL range filter

    Example: {"max":10000,"min":-10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fee_usdany ofOptional

    Fee in USD range filter

    Example: {"max":1000,"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fee_token_symbolany ofOptional

    Fee token filter

    Example: HYPE
    stringOptional
    oidany ofOptional

    Order ID range filter

    Example: {"min":100000000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    priceany ofOptional

    Price range filter

    Example: {"max":1000,"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    value_usdany ofOptional

    Value in USD range filter

    Example: {"max":1000000,"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Sort order for the trades

    Example: [{"direction":"DESC","field":"timestamp"}]
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Perpetual trade data for the user

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    timestampstringRequired

    Timestamp of the trade

    Example: 2025-10-08T18:46:11.452000
    sideany ofRequired

    Position side (Long or Short)

    Example: Long
    string ยท enumOptional

    Enum for perp trade position types.

    Possible values:
    actionstringRequired

    Action taken (Open, Add, Close, Reduce, etc.)

    Example: Add
    block_numberintegerRequired

    Block number of the trade

    Example: 756553592
    token_symbolstringRequired

    Symbol of the token

    Example: DOGE
    priceany ofRequired

    Average price of the trade (averaged across fills)

    Example: 0.25884
    numberOptional
    sizenumberRequired

    Total size of the trade (sum of all fills)

    Example: 6000
    value_usdnumberRequired

    Total value in USD of the trade

    Example: 1553.04
    start_positionnumberRequired

    Start position of the trade in token units

    Example: -7788000
    closed_pnlnumberRequired

    Total closed PnL of the trade (sum of all fills)

    crossedbooleanRequired

    Crossed of the trade

    Example: true
    fee_usdnumberRequired

    Total fee in USD of the trade (sum of all fills)

    Example: 0.434851
    fee_token_symbolstringRequired

    Fee in token of the trade

    Example: USDC
    transaction_hashstringRequired

    Transaction hash of the trade

    Example: 0x50cea34e7464d3055248042d1817780203b600340f67f1d7f4974ea13368acef
    userstringRequired

    User of the trade

    Example: 0x45d26f28196d226497130c4bac709d808fed4029
    oidintegerRequired

    Order ID of the trade

    Example: 191284609448
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
  • Flexible filtering and sorting options

  • Request model for Perp Leaderboard endpoint. This endpoint provides a perpetual trading leaderboard showing the most profitable traders within a given date range.

    fromany ofOptional

    Start date in YYYY-MM-DD format

    Example: 2025-01-01
    stringOptional
    toany ofOptional

    End date in YYYY-MM-DD format

    Example: 2025-01-31
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"account_value":{"min":10000},"total_pnl":{"min":1000}}
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Filter by wallet display name. Use LIKE patterns (%) for partial matching. Note: This filters by the wallet's display name, not by label category. To filter by smart money labels, use include_smart_money_labels instead.

    Example: %Smart HL Perps Trader%
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    total_pnlany ofOptional

    Total PnL range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    roiany ofOptional

    ROI range filter as percentage

    Example: {"max":100,"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    account_valueany ofOptional

    Account value range filter in USD. Note: Only the top 500K traders have account value data available.

    Example: {"min":10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    include_smart_money_labelsany ofOptional

    Filter to include only traders with these smart money labels. For Hyperliquid, use 'Smart HL Perps Trader'. See SmartMoneyFilterType enum for valid values.

    Example: ["Smart HL Perps Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels

    Example: ["30D Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels. Note: In a future release, the default will change from true to false โ€” pass premium_labels=true explicitly to preserve premium label behavior.

    booleanOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Perpetual trading leaderboard data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    trader_addressstringRequired

    The Ethereum wallet address of the trader.

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    trader_address_labelany ofOptional

    The name associated with the address, derived using Nansen's multichain label function for Ethereum.

    Example: ๐Ÿฆ Binance 14 [0x28c6c0]
    stringOptional
    total_pnlany ofOptional

    Profit and loss for the selected timeframe in USD.

    Example: 1250.5
    numberOptional
    roiany ofOptional

    Return on investment for the selected timeframe as percentage.

    Example: 15.5
    numberOptional
    account_valueany ofOptional

    Current total account value in USD. Note: Account value data is only available for the top 500K traders due to upstream data limitations. Traders outside the top 500K may show 0 or null values.

    Example: 10000
    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    Request model for Token OHLCV endpoint.

    This endpoint provides unified OHLCV (Open, High, Low, Close, Volume) data for tokens across supported chains with different time resolutions.

    chainstring ยท enumRequired

    Blockchain chain

    Example: ethereumPossible values:
    token_addressstringRequired

    Token contract address

    Example: 0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9
    date_rangeany ofOptionalDeprecated

    DEPRECATED: Use 'date' instead. Date range with start/end fields.

    startstringRequired

    Start date and time (ISO format)

    Example: 2025-01-01T00:00:00Z
    endstringRequired

    End date and time (ISO format)

    Example: 2025-02-01T00:00:00Z
    dateany ofOptional

    Date range for the data (defaults to last 30 days if not specified)

    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    timeframestring ยท enumRequired

    Time resolution for OHLCV data

    Example: 1hPossible values:
    Responses
    chevron-right
    200

    Token OHLCV data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    chainstringRequired

    Blockchain chain

    Example: ethereum
    token_addressstringRequired

    Token contract address

    Example: 0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9
    timeframestringRequired

    Time resolution used

    Example: 1h
    interval_startstringRequired

    Start time of the candle interval (ISO datetime string)

    Example: 2025-01-15T12:00:00Z
    openany ofOptional

    Opening price

    Example: 100.5
    numberOptional
    highany ofOptional

    Highest price in the interval

    Example: 105.25
    numberOptional
    lowany ofOptional

    Lowest price in the interval

    Example: 98.75
    numberOptional
    closeany ofOptional

    Closing price

    Example: 103
    numberOptional
    volumeany ofOptional

    Trading volume in token units

    Example: 1000000
    numberOptional
    volume_usdany ofOptional

    Trading volume in USD

    Example: 100000000
    numberOptional
    openany ofOptional

    Market cap at candle open

    Example: 1500000000
    numberOptional
    highany ofOptional

    Highest market cap in the candle

    Example: 1600000000
    numberOptional
    lowany ofOptional

    Lowest market cap in the candle

    Example: 1400000000
    numberOptional
    closeany ofOptional

    Market cap at candle close

    Example: 1550000000
    numberOptional
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    What leverage levels are traders using?
  • Which smart money wallets are holding positions?

  • Request model for TGM perp positions endpoint.

    This endpoint provides perp positions data for a specific token.

    token_symbolstringRequired

    Token symbol

    Example: BTC
    label_typestring ยท enumOptional

    Label type filter

    Default: all_tradersExample: all_tradersPossible values:
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"include_smart_money_labels":["Smart HL Perps Trader","Fund"],"position_value_usd":{"min":10000},"side":["Long"],"upnl_usd":{"min":0}}
    include_smart_money_labelsany ofOptional

    Include smart money labels for traders

    Example: ["Smart HL Perps Trader"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels for traders

    Example: ["Smart HL Perps Trader"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    address_labelany ofOptional

    Trader label filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    sideany ofOptional

    Position side filter (Long or Short)

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    itemsstring ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    or
    nullOptional
    position_value_usdany ofOptional

    Position value range filter in USD

    Example: {"min":10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    position_sizeany ofOptional

    Position size range filter (token amount)

    Example: {"min":1.5}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    entry_priceany ofOptional

    Entry price range filter

    Example: {"max":60000,"min":50000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    upnl_usdany ofOptional

    Unrealized PnL range filter in USD

    Example: {"max":10000,"min":-1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    funding_usdany ofOptional

    Funding range filter in USD

    Example: {"max":10000,"min":-1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "position_value_usd", "direction": "DESC"}] - Sort by position value USD descending
    • [{"field": "upnl_usd", "direction": "ASC"}] - Sort by unrealized PnL ascending
    • [{"field": "leverage", "direction": "DESC"}] - Sort by leverage descending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    TGM perp positions data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    addressany ofOptional

    The wallet address of the trader.

    Example: 0x1234567890123456789012345678901234567890
    stringOptional
    address_labelany ofOptional

    Wallet or labeled entity holding the position.

    Example: Smart Money
    stringOptional
    sideany ofOptional

    Position direction (Long/Short)

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    position_value_usdany ofOptional

    USD notional size of the position.

    Example: 50000
    numberOptional
    position_sizeany ofOptional

    The position size (token amount).

    Example: 1.5
    numberOptional
    leveragestringRequired

    The leverage applied to the position.

    Example: 5X
    leverage_typeany ofOptional

    The type of leverage used, e.g., cross or isolated.

    Example: cross
    stringOptional
    entry_priceany ofOptional

    Average price where the position was opened.

    Example: 50000
    numberOptional
    mark_priceany ofOptional

    The current mark price of the asset.

    Example: 50500
    numberOptional
    liquidation_priceany ofOptional

    The price at which the position would be liquidated.

    Example: 45000
    numberOptional
    funding_usdany ofOptional

    Net funding paid (-) or received (+) since entry.

    Example: 10.5
    numberOptional
    upnl_usdany ofOptional

    Unrealized profit/loss including funding.

    Example: 500
    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    Request model for Perp Screener endpoint.

    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply

    Example: {"token_symbol":"BTC","volume":{"min":10000}}
    only_smart_moneyany ofOptional

    Whether to only include smart money data

    Default: falseExample: true
    booleanOptional
    token_symbolany ofOptional

    Asset symbol filter (e.g., BTC, ETH)

    Example: BTC
    stringOptional
    volumeany ofOptional

    Total traded notional in USD range filter

    Example: {"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    buy_volumeany ofOptional

    Total USD value of market buy trades range filter

    Example: {"min":500000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    sell_volumeany ofOptional

    Total USD value of market sell trades range filter

    Example: {"min":500000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    buy_sell_pressureany ofOptional

    Net USD flow range filter

    Example: {"max":1000000,"min":-1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    trader_countany ofOptional

    Number of unique traders range filter

    Example: {"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    mark_priceany ofOptional

    Latest mark price range filter

    Example: {"max":100000,"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fundingany ofOptional

    Latest funding rate range filter

    Example: {"max":0.01,"min":-0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    previous_price_usdany ofOptional

    First price in the time window range filter

    Example: {"max":100000,"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    open_interestany ofOptional

    Latest open interest range filter

    Example: {"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    smart_money_volumeany ofOptional

    Total traded notional in USD by Smart Money range filter

    Example: {"min":100000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    smart_money_buy_volumeany ofOptional

    Total USD value of Smart Money market buy trades range filter

    Example: {"min":50000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    smart_money_sell_volumeany ofOptional

    Total USD value of Smart Money market sell trades range filter

    Example: {"min":50000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    net_position_changeany ofOptional

    Net USD flow (buy_market_vol - sell_market_vol) range filter

    Example: {"max":1000000,"min":-1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    current_smart_money_position_longs_usdany ofOptional

    Aggregate USD value of Smart Money long positions range filter

    Example: {"min":0}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    current_smart_money_position_shorts_usdany ofOptional

    Aggregate USD value of Smart Money short positions range filter

    Example: {"min":0}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    smart_money_longs_countany ofOptional

    Number of Smart Money accounts with net long position range filter

    Example: {"min":0}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    smart_money_shorts_countany ofOptional

    Number of Smart Money accounts with net short position range filter

    Example: {"min":0}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "volume", "direction": "DESC"}] - Sort by volume descending
    • [{"field": "net_positionz_change", "direction": "DESC"}] - Sort by net_position_change descending
    • [{"field": "buy_sell_pressure", "direction": "DESC"}] - Sort by buy/sell pressure descending (smart money)

    Default behavior:

    • When only_smart_money is False: sorts by buy_sell_pressure DESC
    • When only_smart_money is True: sorts by net_position_change DESC
    Example: [{"direction":"DESC","field":"buy_sell_pressure"}]
    fieldany ofRequired

    Field to sort by

    string ยท enumOptional

    Sort fields available for default perp screener data (only_smart_money=False).

    Possible values:
    or
    string ยท enumOptional

    Sort fields available for smart money perp screener data (only_smart_money=True).

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Perpetual contract screening data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    volumeany ofOptional

    Total traded notional in USD over the recent window.

    Example: 427486.75766
    numberOptional
    buy_volumeany ofOptional

    Total USD value of market buy trades over the recent window.

    Example: 216502.59923
    numberOptional
    sell_volumeany ofOptional

    Total USD value of market sell trades over the recent window.

    Example: 210984.15843
    numberOptional
    buy_sell_pressureany ofOptional

    Changes in position by Market Orders. Buys and sells through market orders (top of orderbook) indicate a rush into adjusting the position.

    Example: 5518.4408
    numberOptional
    trader_countany ofOptional

    Number of unique traders active over the recent window.

    Example: 109
    integerOptional
    token_symbolstringRequired

    Asset symbol (e.g., BTC, ETH) on Hyperliquid.

    Example: ARK
    mark_priceany ofOptional

    Latest mark price for the coin.

    Example: 0.3301
    numberOptional
    fundingany ofOptional

    Latest funding rate/value for the coin.

    Example: 0.0000125
    numberOptional
    open_interestany ofOptional

    Latest open interest for the coin.

    Example: 261310.461
    numberOptional
    previous_price_usdany ofOptional

    First price in the time window.

    Example: 0.4155
    numberOptional
    or
    smart_money_volumeany ofOptional

    Total traded notional in USD by Smart Money over the window.

    Example: 150000
    numberOptional
    smart_money_buy_volumeany ofOptional

    Total USD value of Smart Money market buy trades over the window.

    Example: 75000
    numberOptional
    smart_money_sell_volumeany ofOptional

    Total USD value of Smart Money market sell trades over the window.

    Example: 75000
    numberOptional
    net_position_changeany ofOptional

    Net USD flow (buy_market_vol - sell_market_vol) over the window.

    Example: 25000
    numberOptional
    trader_countany ofOptional

    Number of unique Smart Money traders active over the window.

    Example: 15
    integerOptional
    token_symbolstringRequired

    Asset symbol (e.g., BTC, ETH) on Hyperliquid.

    Example: ARK
    mark_priceany ofOptional

    Latest mark price for the coin.

    Example: 0.3301
    numberOptional
    fundingany ofOptional

    Latest funding rate/value for the coin.

    Example: 0.0000125
    numberOptional
    previous_price_usdany ofOptional

    First observed price within the time window.

    Example: 0.4155
    numberOptional
    open_interestany ofOptional

    Latest open interest in USD (open_interest ร— mark_price).

    Example: 261310.461
    numberOptional
    current_smart_money_position_longs_usdany ofOptional

    Aggregate USD value of Smart Money long positions for the coin.

    Example: 500000
    numberOptional
    current_smart_money_position_shorts_usdany ofOptional

    Aggregate USD value of Smart Money short positions for the coin (negative).

    Example: -500000
    numberOptional
    smart_money_longs_countany ofOptional

    Number of Smart Money accounts with a net long position.

    Example: 5
    integerOptional
    smart_money_shorts_countany ofOptional

    Number of Smart Money accounts with a net short position.

    Example: 5
    integerOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    pagination: Page and per_page parameters

    Request model for TGM Perp PnL leaderboard endpoint. Simplified version that only supports Hyperliquid perpetual contracts.

    token_symbolstringRequired

    Perpetual contract symbol (e.g., BTC, ETH, SOL)

    Example: BTC
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"pnl_usd_realised":{"min":1000},"position_value_usd":{"min":1000}}
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Trader name filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_priceany ofOptional

    Token price range filter

    Example: {"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    pnl_usd_realisedany ofOptional

    Realized PnL range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    pnl_usd_unrealisedany ofOptional

    Unrealized PnL range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    holding_amountany ofOptional

    Holding amount range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    position_value_usdany ofOptional

    Position value range filter in USD (+ve = Long position, -ve = Short position, 0 = Flat)

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    max_balance_heldany ofOptional

    Maximum balance held range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    max_balance_held_usdany ofOptional

    Maximum balance held range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    still_holding_balance_ratioany ofOptional

    Still holding balance ratio range filter

    Example: {"max":1,"min":0.1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    nof_tradesany ofOptional

    Number of trades range filter

    Example: {"max":100,"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    include_smart_money_labelsany ofOptional

    Include smart money labels

    Example: ["Fund","Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels

    Example: ["30D Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels. Note: In a future release, the default will change from true to false โ€” pass premium_labels=true explicitly to preserve premium label behavior.

    booleanOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    TGM Perp PnL leaderboard data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    trader_addressstringRequired

    Hexadecimal representation of the trader's address.

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    trader_address_labelany ofOptional

    Nansen name of the trader

    Example: ๐Ÿฆ Binance 14 [0x28c6c0]
    stringOptional
    price_usdany ofOptional

    Token price in USD at date_to. Uses latest spot price if date_to is today or later, otherwise the daily median price for that date.

    Example: 1.23
    numberOptional
    pnl_usd_realisedany ofOptional

    Realised profit and loss in USD.

    Example: 1250.5
    numberOptional
    pnl_usd_unrealisedany ofOptional

    Unrealised profit and loss in USD.

    Example: 100.25
    numberOptional
    holding_amountany ofOptional

    Current token balance

    Example: 5000
    numberOptional
    position_value_usdany ofOptional

    Position value in USD (+ve = Long position, -ve = Short position, 0 = Flat)

    Example: 6000
    numberOptional
    max_balance_heldany ofOptional

    Maximum amount of tokens held at some point in time.

    Example: 10000
    numberOptional
    max_balance_held_usdany ofOptional

    Maximum amount of tokens in current USD value, held at some point in time.

    Example: 12000
    numberOptional
    still_holding_balance_ratioany ofOptional

    The ratio of current holdings to max balance held.

    Example: 0.5
    numberOptional
    netflow_amount_usdany ofOptional

    Netflow amount in USD.

    Example: 2500.75
    numberOptional
    netflow_amountany ofOptional

    Netflow amount.

    Example: 1500
    numberOptional
    roi_percent_totalany ofOptional

    Total ROI.

    Example: 15.5
    numberOptional
    roi_percent_realisedany ofOptional

    Realised ROI.

    Example: 12.3
    numberOptional
    roi_percent_unrealisedany ofOptional

    Unrealised ROI.

    Example: 3.2
    numberOptional
    pnl_usd_totalany ofOptional

    Total PNL in USD.

    Example: 1350.75
    numberOptional
    nof_tradesany ofOptional

    Number of trades.

    Example: 25
    integerOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    Request model for Token Screener endpoint.

    Either 'timeframe' (recommended) or 'date' (deprecated) must be provided.

    itemsstring ยท enumOptional

    Chains supported for Token Screener endpoint.

    Possible values:
    timeframeany ofOptional

    Required (unless using deprecated 'date' parameter).

    Time window for token screening data.

    Available timeframes and their data characteristics:

    • 5m: Last 5 minutes (minute-level granularity, 2-hour retention)
    • 10m: Last 10 minutes (minute-level granularity, 2-hour retention)
    • 1h: Last 1 hour (minute-level granularity, 2-hour retention)
    • 6h: Last 6 hours (hourly granularity, 2-day retention)
    • 24h: Last 24 hours (hourly granularity, 2-day retention)
    • 7d: Last 7 days (daily granularity, 2-month retention)
    • 30d: Last 30 days (daily granularity, 2-month retention)

    Cannot be used together with 'date'.

    Example: 24h
    string ยท enumOptional

    Token screener timeframe options.

    Defines the time window for token screening data. Each timeframe corresponds to different data granularity and retention periods. Matches the timeframe options in the Superapp token-screener widget.

    Possible values:
    dateany ofOptionalDeprecated

    DEPRECATED: Use 'timeframe' instead for better reliability and performance.

    Required only if 'timeframe' is not provided.

    Custom date range for the token screener. The granularity is automatically determined from the date range:

    • โ‰ค 1 hour: minute-level data (limited to last 2 hours)
    • 1 hour to 1 day: hourly data (limited to last 2 days)

    • 1 day: daily data (limited to last 2 months)

    Cannot be used together with 'timeframe'.

    Example: {"from":"2025-01-01T00:00:00Z","to":"2025-01-31T23:59:59Z"}
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply

    Example: {"only_smart_money":true,"token_age_days":{"max":365,"min":1}}
    token_addressany ofOptional

    Token address or symbol filter

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_symbolany ofOptional

    Token symbol filter

    Example: USDC
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    only_smart_moneyany ofOptionalDeprecated

    Deprecated: use trader_type instead. Whether to only include smart money tokens

    Example: true
    booleanOptional
    trader_typeany ofOptional

    Filter by trader type. Overrides only_smart_money when provided.

    Example: sm
    string ยท enumOptional

    Trader type filter for token screener.

    Possible values:
    sectorsany ofOptional

    Token sectors to include

    Example: ["DeFi","Gaming"]
    string[]Optional
    token_age_daysany ofOptional

    Token age range filter in days

    Example: {"max":365,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    market_cap_usdany ofOptional

    Market cap range filter

    Example: {"max":100000000,"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    liquidityany ofOptional

    Liquidity range filter

    Example: {"min":100000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    price_usdany ofOptional

    Current price range filter in USD

    Example: {"max":1000,"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    price_changeany ofOptional

    Price change percentage range filter

    Example: {"max":100,"min":-50}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fdvany ofOptional

    Fully Diluted Valuation range filter

    Example: {"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fdv_mc_ratioany ofOptional

    FDV to Market Cap ratio range filter

    Example: {"max":10,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    nof_buyersany ofOptional

    Number of unique buyers range filter

    Example: {"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    nof_tradersany ofOptional

    Number of unique traders range filter

    Example: {"min":50}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    nof_sellersany ofOptional

    Number of unique sellers range filter

    Example: {"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    nof_buysany ofOptional

    Number of buy transactions range filter

    Example: {"min":20}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    nof_sellsany ofOptional

    Number of sell transactions range filter

    Example: {"min":20}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    buy_volumeany ofOptional

    Buy volume range filter in USD

    Example: {"min":10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    sell_volumeany ofOptional

    Sell volume range filter in USD

    Example: {"min":10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    volumeany ofOptional

    Total trading volume range filter in USD

    Example: {"min":50000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    netflowany ofOptional

    Net flow range filter in USD

    Example: {"max":100000,"min":-100000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    inflow_fdv_ratioany ofOptional

    Inflow to FDV ratio range filter

    Example: {"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    outflow_fdv_ratioany ofOptional

    Outflow to FDV ratio range filter

    Example: {"min":0.001}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    include_stablecoinsbooleanOptional

    Whether to include stablecoins in token screener results. Default true preserves current behavior. Set to false to exclude USDC, USDT, DAI, and other major stablecoins.

    Default: true
    include_smart_money_labelsany ofOptional

    Include smart money labels

    Example: ["Public Figure","Exchange"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels

    Example: ["Fund"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "buy_volume", "direction": "DESC"}] - Sort by buy volume descending
    • [{"field": "price_change", "direction": "DESC"}] - Sort by price change descending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Token screening data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    chainstringRequired

    The blockchain network on which the token is deployed.

    token_addressstringRequired

    Address of token

    token_symbolstringRequired

    The symbol of the token.

    token_age_daysany ofOptional

    Number of days since token deployment.

    numberOptional
    market_cap_usdany ofOptional

    Market capitalization in USD.

    numberOptional
    liquidityany ofOptional

    Total on-chain liquidity in USD.

    numberOptional
    price_usdany ofOptional

    Price of the token

    numberOptional
    price_changeany ofOptional

    Price change percentage from the previous period.

    numberOptional
    fdvany ofOptional

    Fully Diluted Valuation in USD.

    numberOptional
    fdv_mc_ratioany ofOptional

    Ratio of Fully Diluted Valuation to Market Cap.

    numberOptional
    buy_volumeany ofOptional

    Total buy volume in USD.

    numberOptional
    inflow_fdv_ratioany ofOptional

    Ratio of inflow to Fully Diluted Valuation.

    numberOptional
    outflow_fdv_ratioany ofOptional

    Ratio of outflow to Fully Diluted Valuation.

    numberOptional
    sell_volumeany ofOptional

    Total sell volume in USD.

    numberOptional
    volumeany ofOptional

    Total trading volume in USD.

    numberOptional
    netflowany ofOptional

    Net flow (buy_volume - sell_volume) in USD.

    numberOptional
    or
    chainstringRequired

    The blockchain network on which the token is deployed.

    token_addressstringRequired

    Address of token

    token_symbolstringRequired

    The symbol of the token.

    token_age_daysany ofOptional

    Number of days since token deployment.

    numberOptional
    market_cap_usdany ofOptional

    Market capitalization in USD.

    numberOptional
    liquidityany ofOptional

    Total on-chain liquidity in USD.

    numberOptional
    price_usdany ofOptional

    Price of the token

    numberOptional
    price_changeany ofOptional

    Price change percentage from the previous period.

    numberOptional
    fdvany ofOptional

    Fully Diluted Valuation in USD.

    numberOptional
    fdv_mc_ratioany ofOptional

    Ratio of Fully Diluted Valuation to Market Cap.

    numberOptional
    nof_tradersany ofOptional

    Total number of unique traders.

    integerOptional
    buy_volumeany ofOptional

    Total buy volume in USD.

    numberOptional
    inflow_fdv_ratioany ofOptional

    Ratio of inflow to Fully Diluted Valuation.

    numberOptional
    outflow_fdv_ratioany ofOptional

    Ratio of outflow to Fully Diluted Valuation.

    numberOptional
    sell_volumeany ofOptional

    Total sell volume in USD.

    numberOptional
    volumeany ofOptional

    Total trading volume in USD.

    numberOptional
    netflowany ofOptional

    Net flow (buy_volume - sell_volume) in USD.

    numberOptional
    or
    chainstringRequired

    The blockchain network on which the token is deployed.

    token_addressstringRequired

    Address of token

    token_symbolstringRequired

    The symbol of the token.

    token_age_daysany ofOptional

    Number of days since token deployment.

    numberOptional
    market_cap_usdany ofOptional

    Market capitalization in USD.

    numberOptional
    liquidityany ofOptional

    Total on-chain liquidity in USD.

    numberOptional
    price_usdany ofOptional

    Price of the token

    numberOptional
    price_changeany ofOptional

    Price change percentage from the previous period.

    numberOptional
    fdvany ofOptional

    Fully Diluted Valuation in USD.

    numberOptional
    fdv_mc_ratioany ofOptional

    Ratio of Fully Diluted Valuation to Market Cap.

    numberOptional
    nof_buyersany ofOptional

    Number of unique buyers.

    integerOptional
    nof_tradersany ofOptional

    Total number of unique traders.

    integerOptional
    nof_sellersany ofOptional

    Number of unique sellers.

    integerOptional
    nof_buysany ofOptional

    Total number of buy transactions.

    integerOptional
    nof_sellsany ofOptional

    Total number of sell transactions.

    integerOptional
    buy_volumeany ofOptional

    Total buy volume in USD.

    numberOptional
    inflow_fdv_ratioany ofOptional

    Ratio of inflow to Fully Diluted Valuation.

    numberOptional
    outflow_fdv_ratioany ofOptional

    Ratio of outflow to Fully Diluted Valuation.

    numberOptional
    sell_volumeany ofOptional

    Total sell volume in USD.

    numberOptional
    volumeany ofOptional

    Total trading volume in USD.

    numberOptional
    netflowany ofOptional

    Net flow (buy_volume - sell_volume) in USD.

    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    ,
    exclude_smart_money_labels

    Request model for TGM holders endpoint.

    This endpoint provides comprehensive data on token holders and their balances. Retrieve holders by various criteria including smart money, exchanges, public figures, whales, and top holders with detailed balance information and filtering options.

    chainstring ยท enumRequired

    Blockchain chain

    Example: solanaPossible values:
    token_addressstringRequired

    Token address

    Example: 2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv
    aggregate_by_entitybooleanOptional

    Whether to return entity data

    Default: false
    label_typestring ยท enumOptional

    Label type. You must also include the labels filter to match the label type. For example, for label type 'smart_money', you must include '30D Smart Trader', '90D Smart Trader', '180D Smart Trader', 'Fund' or 'Smart Trader' in the filters.labels.include parameter.

    Default: all_holdersExample: all_holdersPossible values:
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"include_smart_money_labels":["30D Smart Trader","Fund"],"ownership_percentage":{"min":0.01},"token_amount":{"min":1000},"value_usd":{"min":10000}}
    include_smart_money_labelsany ofOptional

    Include smart money labels for holders

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels for holders

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    addressany ofOptional

    Holder address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    address_labelany ofOptional

    Holder label filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_amountany ofOptional

    Token amount range filter

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    total_outflowany ofOptional

    Total outflow range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    total_inflowany ofOptional

    Total inflow range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    balance_change_24hany ofOptional

    24-hour balance change range filter

    Example: {"max":1000,"min":-1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    balance_change_7dany ofOptional

    7-day balance change range filter

    Example: {"max":5000,"min":-5000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    balance_change_30dany ofOptional

    30-day balance change range filter

    Example: {"max":10000,"min":-10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    ownership_percentageany ofOptional

    Ownership percentage range filter

    Example: {"max":10,"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    value_usdany ofOptional

    Balance range filter in USD. Defaults to min: 1.0 to exclude dust holders. Set explicitly to override (e.g., {"min": 0} to include all holders). Note: This default does not apply to native tokens with 'all_holders' label.

    Example: {"min":10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted, defaults to true (premium labels filtered by subscription plan). When false, returns free-tier labels for all users. When true, returns premium labels (filtered by subscription plan). Note: In a future release, the default will change from true to false โ€” pass premium_labels=true explicitly to preserve premium label behavior.

    booleanOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "value_usd", "direction": "DESC"}] - Sort by value USD descending
    • [{"field": "token_amount", "direction": "ASC"}] - Sort by token amount ascending
    • [{"field": "ownership_percentage", "direction": "DESC"}] - Sort by ownership percentage descending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    TGM holders data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    addressany ofOptional

    Address of contract/EOA

    Example: 0x1234567890123456789012345678901234567890
    stringOptional
    address_labelany ofOptional

    Label associated with the address

    Example: Smart Money
    stringOptional
    token_amountany ofOptional

    Total balance count

    Example: 1000000
    numberOptional
    total_outflowany ofOptional

    Total amount of tokens sent by this address

    Example: 50000
    numberOptional
    total_inflowany ofOptional

    Total amount of tokens received by this address

    Example: 1050000
    numberOptional
    balance_change_24hany ofOptional

    Token balance change over the last 24 hours

    Example: 1000
    numberOptional
    balance_change_7dany ofOptional

    Token balance change over the last 7 days

    Example: 5000
    numberOptional
    balance_change_30dany ofOptional

    Token balance change over the last 30 days

    Example: 15000
    numberOptional
    ownership_percentageany ofOptional

    Percentage of total token supply owned by this address

    Example: 2.5
    numberOptional
    value_usdany ofOptional

    Current token balance value in USD

    Example: 50000
    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    warningsany ofOptional

    Optional warnings about the query results. For example, if a token has no USD price data, a warning will indicate that the default value_usd filter may be excluding results.

    string[]Optional
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    addressany ofOptional

    Address to get counterparties for

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    entity_nameany ofOptional

    Entity name to get counterparties for

    Example: Vitalik Buterin
    stringOptional
    chainstring ยท enumRequired

    Blockchain chain for the counterparties data

    Example: ethereumPossible values:
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    source_inputstring ยท enumOptional

    Type of interactions to include

    Default: CombinedPossible values:
    group_bystring ยท enumOptional

    Group counterparties by wallet or entity

    Default: walletPossible values:
    filtersany ofOptional

    Additional filters to apply. Only filters for columns that are being selected will be applied.

    Example: {"include_smart_money_labels":["Exchange"],"interaction_count":{"min":5},"total_volume_usd":{"min":1000}}
    interaction_countany ofOptional

    Interaction count range filter

    Example: {"max":1000,"min":5}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    total_volume_usdany ofOptional

    Total volume range filter in USD

    Example: {"max":1000000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    volume_in_usdany ofOptional

    Volume in USD range filter

    Example: {"max":1000000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    volume_out_usdany ofOptional

    Volume out USD range filter

    Example: {"max":1000000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    include_smart_money_labelsany ofOptional

    Include smart money labels for counterparties

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels for counterparties

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels (20 credits, currently available to internal users only).

    booleanOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "total_volume_usd", "direction": "DESC"}] - Sort by total volume descending
    • [{"field": "interaction_count", "direction": "ASC"}] - Sort by interaction count ascending
    • [{"field": "last_interaction_date", "direction": "DESC"}] - Sort by last interaction date descending
    • [{"field": "volume_in_usd", "direction": "DESC"}] - Sort by incoming volume descending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Address counterparties data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    counterparty_addressstringRequired

    Counterparty address in hex format

    counterparty_address_labelany ofOptional

    List of labels associated with this counterparty

    string[]Optional
    interaction_countintegerRequired

    Total number of interactions with this counterparty

    total_volume_usdany ofOptional

    Total transaction volume in USD

    numberOptional
    volume_in_usdany ofOptional

    Incoming transaction volume in USD

    numberOptional
    volume_out_usdany ofOptional

    Outgoing transaction volume in USD

    numberOptional
    tokens_infoany ofOptional

    Information about tokens transferred with this counterparty

    token_addressstringRequired

    Token contract address

    token_symbolstringRequired

    Token symbol

    token_namestringRequired

    Token name

    num_transferstringRequired

    Number of transfers

    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    addressany ofOptional

    Address to get historical balances for

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    entity_nameany ofOptional

    Entity name to get historical balances for

    Example: Vitalik Buterin
    stringOptional
    chainstring ยท enumRequired

    Blockchain chain for the historical balances

    Example: ethereumPossible values:
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    filtersany ofOptional

    Additional filters to apply. Only filters for columns that are being selected will be applied.

    Example: {"hide_spam_tokens":true,"token_symbol":"USDC","value_usd":{"min":10}}
    value_usdany ofOptional

    Balance range filter in USD

    Example: {"max":100000,"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_amountany ofOptional

    Token balance count range filter

    Example: {"max":1000000,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    token_symbolany ofOptional

    Token symbol filter

    Example: USDC
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_addressany ofOptional

    Token address filter

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    hide_spam_tokensany ofOptional

    Whether to hide spam tokens from results

    Default: true
    booleanOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Address historical balances data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    block_timestampstringRequired

    The block timestamp as date

    token_addressstringRequired

    Token Address

    chainstringRequired

    Chain

    token_amountany ofOptional

    Token amount

    numberOptional
    value_usdany ofOptional

    Usd balance of the holdings

    numberOptional
    token_symbolstringRequired

    Symbol of the token

    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    itemsstring ยท enumOptional

    Chains supported in smart money analysis.

    Possible values:
    filtersany ofOptional

    Additional filters to apply. Only filters for columns that are being selected will be applied.

    Example: {"balance_24h_percent_change":{"max":0.1,"min":-0.1},"exclude_smart_money_labels":["30D Smart Trader"],"include_native_tokens":false,"include_smart_money_labels":["Fund","Smart Trader"],"include_stablecoins":false,"token_age_days":{"max":30},"value_usd":{"max":100000,"min":1000}}
    include_smart_money_labelsany ofOptional

    Smart money category filters

    Example: ["Fund","Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Smart money category filters

    Example: ["30D Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    include_stablecoinsany ofOptional

    Whether to include stablecoins in the results

    Default: false
    booleanOptional
    include_native_tokensany ofOptional

    Whether to include native tokens (e.g., ETH, SOL) in the results

    Default: false
    booleanOptional
    value_usdany ofOptional

    Value range filter in USD

    Example: {"max":100000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    balance_24h_percent_changeany ofOptional

    24-hour balance change percentage range filter

    Example: {"max":0.5,"min":-0.5}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    holders_countany ofOptional

    Number of holders range filter

    Example: {"max":1000,"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    share_of_holdings_percentany ofOptional

    Share of holdings percentage range filter

    Example: {"max":0.1,"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_age_daysany ofOptional

    Token age range filter in days

    Example: {"max":365,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    market_cap_usdany ofOptional

    Market cap range filter in USD

    Example: {"max":10000000,"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_addressany ofOptional

    Token address filter

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_symbolany ofOptional

    Token symbol filter

    Example: USDC
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_sectorsany ofOptional

    Token sectors filter

    Example: ["DeFi","Gaming"]
    string[]Optional
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels (20 credits, currently available to internal users only).

    booleanOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "value_usd", "direction": "DESC"}] - Sort by value USD descending
    • [{"field": "holders_count", "direction": "ASC"}] - Sort by number of holders ascending
    • [{"field": "value_usd", "direction": "DESC"}, {"field": "holders_count", "direction": "ASC"}] - Sort by value USD descending, then number of holders ascending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Smart money holdings data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    chainstring ยท enumRequired

    Chain name

    Possible values:
    token_addressstringRequired

    Address of token

    token_symbolstringRequired

    Token symbol

    token_sectorsstring[]Required

    Token sectors

    value_usdany ofOptional

    Value of token held by Smart Money.

    numberOptional
    balance_24h_percent_changeany ofOptional

    Balance change of Smart Money for token during the last 24 hours

    numberOptional
    holders_countintegerRequired

    Number of Smart Money holders of token.

    share_of_holdings_percentany ofOptional

    Share of Smart Money total USD balance.

    numberOptional
    token_age_daysintegerRequired

    Number of days since token was deployed.

    market_cap_usdany ofOptional

    Market cap of token.

    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    addressany ofOptional

    Address to get balances for

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    entity_nameany ofOptional

    Entity name to get balances for

    Example: Vitalik Buterin
    stringOptional
    chainstring ยท enumRequired

    Blockchain chain for the balances

    Example: ethereumPossible values:
    hide_spam_tokenbooleanOptional

    Removes suspicious tokens from the balance list

    Default: trueExample: true
    filtersany ofOptional

    Additional filters to apply. Only filters for columns that are being selected will be applied.

    Example: {"token_symbol":"USDC","value_usd":{"min":10}}
    value_usdany ofOptional

    Balance range filter in USD

    Example: {"max":100000,"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    price_usdany ofOptional

    Token price range filter in USD

    Example: {"max":1000,"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_amountany ofOptional

    Token amount range filter

    Example: {"max":1000000,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    token_symbolany ofOptional

    Token symbol filter

    Example: USDC
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_addressany ofOptional

    Token address filter

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_nameany ofOptional

    Token name filter

    Example: USD Coin
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Address current balance data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chainstringRequired

    Chain

    addressstringRequired

    Address of the wallet. Empty if entity_name is provided.

    token_addressstringRequired

    Address of token

    token_symbolstringRequired

    Token symbol

    token_nameany ofOptional

    Token name

    stringOptional
    token_amountany ofOptional

    Token balance

    numberOptional
    price_usdany ofOptional

    Price of the token

    numberOptional
    value_usdany ofOptional

    Token balance value in USD

    numberOptional
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    Includes both DEX trades and CEX transfers
    itemsstring ยท enumOptional

    Chains supported in smart money analysis.

    Possible values:
    filtersany ofOptional

    Additional filters to apply. Only filters for columns that are being selected will be applied.

    Example: {"exclude_smart_money_labels":["30D Smart Trader"],"include_native_tokens":false,"include_smart_money_labels":["Fund","Smart Trader"],"include_stablecoins":false}
    include_smart_money_labelsany ofOptional

    Smart money category filters

    Example: ["Fund","Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Smart money category filters

    Example: ["30D Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    token_addressany ofOptional

    Token address or symbol filter

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    include_stablecoinsany ofOptional

    Whether to include stablecoins in the results

    Default: false
    booleanOptional
    include_native_tokensany ofOptional

    Whether to include native tokens (e.g., ETH, SOL) in the results

    Default: false
    booleanOptional
    token_sectorany ofOptional

    Token sector filter

    Example: ["DeFi","NFT","Gaming"]
    string[]Optional
    trader_countany ofOptional

    Trader count range filter

    Example: {"max":100,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_age_daysany ofOptional

    Token age range filter in days

    Example: {"max":365,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    market_cap_usdany ofOptional

    Market cap range filter in USD

    Example: {"max":1000000000,"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels (20 credits, currently available to internal users only).

    booleanOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "market_cap_usd", "direction": "DESC"}] - Sort by market cap descending
    • [{"field": "net_flow_24h_usd", "direction": "ASC"}] - Sort by 24h flow ascending
    • [{"field": "market_cap_usd", "direction": "DESC"}, {"field": "net_flow_24h_usd", "direction": "ASC"}] - Sort by market cap descending, then 24h flow ascending
    Example: [{"direction":"DESC","field":"net_flow_24h_usd"}]
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Smart money netflow data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    token_addressstringRequired

    Token contract address

    token_symbolstringRequired

    Token symbol

    net_flow_1h_usdnumberRequired

    Net flow bought/sold of token by Smart Money in the past 1 hour.

    net_flow_24h_usdnumberRequired

    Net flow bought/sold of token by Smart Money in the past 24 hours.

    net_flow_7d_usdnumberRequired

    Net flow bought/sold of token by Smart Money in the past 7 days.

    net_flow_30d_usdnumberRequired

    Net flow bought/sold of token by Smart Money in the past 30 days.

    chainstringRequired

    Blockchain chain

    token_sectorsstring[]Required

    Token sectors

    trader_countintegerRequired

    Number of Smart Money traders of token in the past 30 days.

    token_age_daysintegerRequired

    Number of days since token was deployed.

    market_cap_usdany ofOptional

    Market cap of token.

    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    Request model for TGM who bought/sold endpoint.

    This endpoint provides an aggregated summary of trade volumes in USD for addresses involved in DEX (Decentralized Exchange) trades for a specific token.

    chainstring ยท enumRequired

    Blockchain chain

    Example: solanaPossible values:
    token_addressstringRequired

    Address of token

    Example: 2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv
    buy_or_sellstring ยท enumOptional

    Are we checking buys or sells

    Default: BUYPossible values:
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"include_smart_money_labels":["Whale","Smart Trader"],"trade_volume_usd":{"min":1}}
    include_smart_money_labelsany ofOptional

    Include smart money labels for traders

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels for traders

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    address_labelany ofOptional

    Trader label filter

    Example: High Gas Consumer
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    bought_token_volumeany ofOptional

    Bought token volume range filter

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    sold_token_volumeany ofOptional

    Sold token volume range filter

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_trade_volumeany ofOptional

    Total token trade volume range filter

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    bought_volume_usdany ofOptional

    Bought volume range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    sold_volume_usdany ofOptional

    Sold volume range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    trade_volume_usdany ofOptional

    Total trade volume range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "bought_volume_usd", "direction": "DESC"}] - Sort by bought volume descending
    • [{"field": "sold_volume_usd", "direction": "ASC"}] - Sort by sold volume ascending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    addressstringRequired

    Address to get transactions for

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    chainstring ยท enumRequired

    Blockchain chain for the transactions

    Example: ethereumPossible values:
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    hide_spam_tokenbooleanOptional

    Removes suspicious tokens from the transaction list

    Default: trueExample: true
    filtersany ofOptional

    Additional filters to apply. Only filters for columns that are being selected will be applied.

    Example: {"volume_usd":{"min":100}}
    token_symbolany ofOptional

    Token symbol filter

    Example: USDC
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_addressany ofOptional

    Token address filter

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    counterparty_nameany ofOptional

    Counterparty name filter

    Example: Uniswap
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    counterparty_addressany ofOptional

    Counterparty address filter

    Example: 0x7a250d5630b4cf539739df2c5dacb4c659f2488d
    stringOptional
    volume_usdany ofOptional

    Transaction volume range filter in USD

    Example: {"max":10000,"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    methodany ofOptional

    Transaction method filter

    Example: sent
    stringOptional
    source_typeany ofOptional

    Transaction source type filter

    Example: dex
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 100Optional

    Number of records per page (max 100 for performance)

    Default: 20
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:

    Request model for TGM transfers endpoint.

    This endpoint provides top token transfers for a specific token, with support for ERC-20 tokens. The model selection is dynamic based on the token address.

    chainstring ยท enumRequired

    Blockchain chain

    Example: ethereumPossible values:
    token_addressstringRequired

    Token address

    Example: 0x6982508145454ce325ddbe47a25d4ec3d2311933
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"include_cex":true,"include_dex":true,"non_exchange_transfers":true,"only_smart_money":true}
    include_dexany ofOptional

    Whether to include DEX transfers

    Example: true
    booleanOptional
    include_cexany ofOptional

    Whether to include CEX transfers

    Example: true
    booleanOptional
    non_exchange_transfersany ofOptional

    Whether to include non-exchange transfers

    Example: true
    booleanOptional
    only_smart_moneyany ofOptional

    Whether to include only smart money transfers

    Example: true
    booleanOptional
    from_include_smart_money_labelsany ofOptional

    Include smart money labels for from address

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    from_exclude_smart_money_labelsany ofOptional

    Exclude smart money labels for from address

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    to_include_smart_money_labelsany ofOptional

    Include smart money labels for to address

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    to_exclude_smart_money_labelsany ofOptional

    Exclude smart money labels for to address

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    transaction_hashany ofOptional

    Transaction hash filter

    Example: 0x61adb6da30853c5988f0204dd9f6e4abbc878e02c34030a4f707cf4ec3124bcb
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    from_addressany ofOptional

    From address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    to_addressany ofOptional

    To address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    from_address_labelany ofOptional

    From address label filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    to_address_labelany ofOptional

    To address label filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    transaction_typeany ofOptional

    Transaction type filter

    Example: transfer
    stringOptional
    transfer_amountany ofOptional

    Transfer amount range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    transfer_value_usdany ofOptional

    Transfer value range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "transfer_value_usd", "direction": "ASC"}] - Sort by transfer value ascending
    • [{"field": "transfer_amount", "direction": "DESC"}] - Sort by transfer amount descending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
  • limit: Maximum results (1-50, default: 25)

  • Responses
    chevron-right
    200

    Search results with tokens and entities

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    namestringRequired

    Token name

    symbolstringRequired

    Token symbol (ticker)

    chainstringRequired

    Blockchain the token is deployed on

    addressstringRequired

    Contract address of the token

    priceany ofOptional

    Current price in USD (may be delayed)

    numberOptional
    volume_24hany ofOptional

    24-hour trading volume in USD

    numberOptional
    market_capany ofOptional

    Market capitalization in USD

    numberOptional
    rankany ofOptional

    Popularity/relevance rank (lower is better)

    integerOptional
    namestringRequired

    Entity name

    tagsstring[]Optional

    Category tags for the entity

    Default: []
    rankany ofOptional

    Popularity/relevance rank (lower is better)

    integerOptional
    total_resultsintegerRequired

    Total number of results returned

    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    {
      "search_query": "AAVE",
      "result_type": "token",
      "chain": "ethereum"
    }
    filtersany ofOptional

    Additional filters to apply. Only filters for columns that are being selected will be applied.

    Example: {"exclude_smart_money_labels":["30D Smart Trader"],"include_smart_money_labels":["Fund","Smart Trader"]}
    include_smart_money_labelsany ofOptional

    Smart money category filters

    Example: ["Fund","Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Smart money category filters

    Example: ["30D Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    dca_created_atany ofOptional

    Date range filter for DCA creation timestamps

    Example: {"from":"2025-01-01T00:00:00Z","to":"2025-01-31T23:59:59Z"}
    fromany ofOptional

    Start date (inclusive), ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    string ยท date-timeOptional
    or
    stringOptional
    or
    nullOptional
    toany ofOptional

    End date (inclusive), ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    string ยท date-timeOptional
    or
    stringOptional
    or
    nullOptional
    transaction_hashany ofOptional

    Transaction hash filter

    Example: 0x61adb6da30853c5988f0204dd9f6e4abbc878e02c34030a4f707cf4ec3124bcb
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Trader name or label filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    input_token_symbolany ofOptional

    Symbol filter for input tokens

    Example: SOL
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    output_token_symbolany ofOptional

    Symbol filter for output tokens

    Example: USDC
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    deposit_token_amountany ofOptional

    Deposit amount range filter

    Example: {"max":1000,"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_spent_amountany ofOptional

    Token spent amount range filter

    Example: {"max":10000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    output_token_redeemed_amountany ofOptional

    Output token redeemed amount range filter

    Example: {"max":10000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels (20 credits, currently available to internal users only).

    booleanOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "dca_created_at", "direction": "DESC"}] - Sort by DCA created timestamp descending
    • [{"field": "dca_updated_at", "direction": "ASC"}] - Sort by DCA updated timestamp ascending
    • [{"field": "deposit_token_amount", "direction": "DESC"}, {"field": "token_spent_amount", "direction": "ASC"}] - Sort by deposit token amount descending, then token spent amount ascending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    addressany ofOptional

    Wallet address to get PnL for

    Example: 0x39d52da6beec991f075eebe577474fd105c5caec
    stringOptional
    entity_nameany ofOptional

    Entity name to get PnL for

    Example: Vitalik Buterin
    stringOptional
    chainstring ยท enumRequired

    Blockchain chain for the PnL data

    Example: ethereumPossible values:
    dateany ofOptional

    Date range for PnL analysis (ISO 8601 date-time)

    Example: {"from":"2025-05-01T00:00:00Z","to":"2025-05-03T23:59:59Z"}
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    filtersany ofOptional

    Additional filters to apply.

    Example: {"show_realized":false}
    show_realizedany ofOptional

    Include realized profit/loss in results

    Default: falseExample: true
    booleanOptional
    token_addressany ofOptional

    Token address filter for specific token PnL

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering (default: pnl_usd_realised DESC).

    If the parameter show_realized is false, the default sort order is pnl_usd_unrealised DESC.

    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Address PnL data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    token_addressstringRequired

    Hexadecimal representation of the token's address

    token_symbolstringRequired

    Symbol of the token

    token_priceany ofOptional

    Price of the token on date_to

    numberOptional
    roi_percent_realisedany ofOptional

    Realised return on investment for only realised gains (not multiplied by 100)

    numberOptional
    pnl_usd_realisedany ofOptional

    Realised profit and loss in USD

    numberOptional
    pnl_usd_unrealisedany ofOptional

    Unrealised profit and loss in USD

    numberOptional
    roi_percent_unrealisedany ofOptional

    Unrealised return on investment for only unrealised gains (not multiplied by 100)

    numberOptional
    bought_amountany ofOptional

    Amount of tokens bought from date_from to date_to

    numberOptional
    bought_usdany ofOptional

    USD value of bought tokens

    numberOptional
    cost_basis_usdany ofOptional

    Cost basis of tokens in USD as of date_to

    numberOptional
    sold_amountany ofOptional

    Amount of tokens sold from date_from to date_to

    numberOptional
    sold_usdany ofOptional

    USD value of sold tokens

    numberOptional
    avg_sold_price_usdany ofOptional

    Average sale price of tokens sold in USD

    numberOptional
    holding_amountany ofOptional

    Current token balance

    numberOptional
    holding_usdany ofOptional

    USD value of token balance

    numberOptional
    nof_buysstringRequired

    Number of buys (either inflow or dex buy)

    nof_sellsstringRequired

    Number of sells (either outflow or dex sell)

    max_balance_heldany ofOptional

    Maximum amount of tokens held at some point in time

    numberOptional
    max_balance_held_usdany ofOptional

    Maximum amount of tokens in current USD value, held at some point in time

    numberOptional
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    Request model for TGM flow-intelligence endpoint.

    This endpoint provides detailed token flow intelligence for analyzing token movements across different chains. It helps track and categorize token transfers, identifying patterns such as exchange deposits, withdrawals, and transfers between different types of wallets.

    chainstring ยท enumRequired

    Blockchain chain

    Example: ethereumPossible values:
    token_addressstringRequired

    Token address

    Example: 0x6982508145454ce325ddbe47a25d4ec3d2311933
    timeframestring ยท enumOptional

    Time window for the flow intelligence data

    Default: 1dPossible values:
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"whale_wallet_count":{"min":1}}
    public_figure_net_flow_usdany ofOptional

    Public figure net flow range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    public_figure_avg_flow_usdany ofOptional

    Public figure average flow range filter in USD

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    public_figure_wallet_countany ofOptional

    Public figure wallet count range filter

    Example: {"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    top_pnl_net_flow_usdany ofOptional

    Top PnL net flow range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    top_pnl_avg_flow_usdany ofOptional

    Top PnL average flow range filter in USD

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    top_pnl_wallet_countany ofOptional

    Top PnL wallet count range filter

    Example: {"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    whale_net_flow_usdany ofOptional

    Whale net flow range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    whale_avg_flow_usdany ofOptional

    Whale average flow range filter in USD

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    whale_wallet_countany ofOptional

    Whale wallet count range filter

    Example: {"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    smart_trader_net_flow_usdany ofOptional

    Smart trader net flow range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    smart_trader_avg_flow_usdany ofOptional

    Smart trader average flow range filter in USD

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    smart_trader_wallet_countany ofOptional

    Smart trader wallet count range filter

    Example: {"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    exchange_net_flow_usdany ofOptional

    Exchange net flow range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    exchange_avg_flow_usdany ofOptional

    Exchange average flow range filter in USD

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    exchange_wallet_countany ofOptional

    Exchange wallet count range filter

    Example: {"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    fresh_wallets_net_flow_usdany ofOptional

    Fresh wallets net flow range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fresh_wallets_avg_flow_usdany ofOptional

    Fresh wallets average flow range filter in USD

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    fresh_wallets_wallet_countany ofOptional

    Fresh wallets wallet count range filter

    Example: {"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional

    Request model for TGM Jupiter DCA endpoint.

    This endpoint provides Jupiter DCA orders with stats per vault for a specific token. Only supports Solana chain as Jupiter DCA is exclusive to Solana.

    token_addressstringRequired

    Token address on Solana

    Example: 2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"deposit_amount":{"min":100},"deposit_usd_value":{"min":1000},"status":"Closed"}
    include_smart_money_labelsany ofOptional

    Include smart money labels for traders

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels for traders

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    trader_addressany ofOptional

    Trader address filter

    Example: 7BgBvyjrZX8YKHKbbh3FbXzqKFKWJNJRVdVkgLkFUGG1
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_labelany ofOptional

    Trader label filter

    Example: High Gas Consumer
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    creation_hashany ofOptional

    Creation transaction hash filter

    Example: 3k2j9h4k5l6m7n8o9p0q1r2s3t4u5v6w7x8y9z0a1b2c3d4e5f6g7h8i9j0k1l2m
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    dca_vault_addressany ofOptional

    DCA vault address filter

    Example: 8CvgjhGJeKM9xkRBKkwRGF2VchUxJKNDLvSfXBmZ4Pqr
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    input_mint_addressany ofOptional

    Input token mint address filter

    Example: EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    output_mint_addressany ofOptional

    Output token mint address filter

    Example: 2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    deposit_amountany ofOptional

    Deposit amount range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    deposit_spentany ofOptional

    Deposit spent amount range filter

    Example: {"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    other_token_redeemedany ofOptional

    Other token redeemed amount range filter

    Example: {"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    statusany ofOptional

    DCA vault status filter

    Example: Active
    stringOptional
    token_inputany ofOptional

    Input token symbol filter

    Example: USDC
    stringOptional
    token_outputany ofOptional

    Output token symbol filter

    Example: PEPE
    stringOptional
    deposit_usd_valueany ofOptional

    Deposit USD value range filter

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional

    pagination: Page and per_page parameters

    Responses
    chevron-right
    200

    TGM perp trades data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    trader_address_labelany ofOptional

    The label associated with the trader

    Example: Smart Money
    stringOptional
    trader_addressstringRequired

    The trader's address

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    token_symbolany ofOptional

    The symbol of the token

    Example: BTC
    stringOptional
    sideany ofOptional

    The side of the position (Long or Short)

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    actionstringRequired

    The action taken by the trader (Add, Reduce, Open, Close)

    Example: Add
    token_amountany ofOptional

    The amount of the specified token traded

    Example: 1.5
    numberOptional
    price_usdany ofOptional

    Average fill price in USD across all fills in the trade, from exchange data.

    Example: 60000
    numberOptional
    value_usdany ofOptional

    The value in USD

    Example: 90000
    numberOptional
    typestring ยท enumRequired

    The order type (MARKET or LIMIT)

    Example: MARKETPossible values:
    block_timestampstringRequired

    The block timestamp for the transaction

    Example: 2025-10-01T12:40:00Z
    transaction_hashstringRequired

    A representative transaction hash for this trade. Note: A single row may aggregate multiple fills that occurred at the same timestamp. If the trader had fills across multiple transactions at the exact same millisecond, only one transaction_hash is shown. The token_amount and value_usd reflect the total across all fills.

    Example: 0x61adb6da30853c5988f0204dd9f6e4abbc878e02c34030a4f707cf4ec3124bcb
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    Responses
    chevron-right
    200

    Address labels data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    labelstringRequired

    The label name

    Example: Token Millionaire
    categoryany ofOptional

    Label category (smart_money, behavioral, defi, social, cefi, nft, others)

    Example: behavioral
    stringOptional
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    Responses
    chevron-right
    200

    Smart money perpetual trades data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    trader_address_labelstringRequired

    Name of the trader, based on Nansen labels

    trader_addressstringRequired

    Hexadecimal representation of the trader's address, i.e. the signer of the transaction

    token_symbolstringRequired

    The token symbol

    sideany ofOptional

    The side of the position (Long or Short)

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    actionstringRequired

    The action taken by the trader (Add, Reduce, Open, Close)

    Example: Add
    token_amountany ofOptional

    Trade size in contract units

    numberOptional
    price_usdany ofOptional

    Trade price in USD

    numberOptional
    value_usdany ofOptional

    Notional trade value in USD

    numberOptional
    typestring ยท enumRequired

    The trade type (Market or Limit)

    Possible values:
    block_timestampstringRequired

    The timestamp of the block

    transaction_hashstringRequired

    Hexadecimal representation of the transaction hash

    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    Request model for TGM dex-trades endpoint.

    This endpoint provides all DEX trades for a specific token with optional filtering for smart money wallets only.

    chainstring ยท enumRequired

    Blockchain chain

    Example: solanaPossible values:
    token_addressstringRequired

    Token address

    Example: 2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv
    only_smart_moneybooleanOptional

    Returns only the DEX Trades made by Smart Money wallets

    Default: false
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"action":"BUY","estimated_value_usd":{"min":1000},"include_smart_money_labels":["Whale","Smart Trader"],"token_amount":{"min":100}}
    include_smart_money_labelsany ofOptional

    Include smart money labels for counterparties

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Exclude smart money labels for counterparties

    Example: ["Public Figure"]
    itemsstring ยท enumOptional

    Enum for label filter options.

    Possible values:
    block_timestampany ofOptional

    Date range filter for trade timestamps

    Example: {"from":"2025-01-01T00:00:00Z","to":"2025-01-31T23:59:59Z"}
    fromany ofOptional

    Start date (inclusive), ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    string ยท date-timeOptional
    or
    stringOptional
    or
    nullOptional
    toany ofOptional

    End date (inclusive), ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    string ยท date-timeOptional
    or
    stringOptional
    or
    nullOptional
    transaction_hashany ofOptional

    Transaction hash filter

    Example: 0x61adb6da30853c5988f0204dd9f6e4abbc878e02c34030a4f707cf4ec3124bcb
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Trader name filter

    Example: High Gas Consumer
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_addressany ofOptional

    Token address filter

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    actionany ofOptional

    Action filter (buy/sell)

    Example: buy
    stringOptional
    token_nameany ofOptional

    Token name filter

    Example: USDC
    stringOptional
    token_amountany ofOptional

    Token amount range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    traded_token_addressany ofOptional

    Traded token address filter

    Example: 0x1234...
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    traded_token_nameany ofOptional

    Traded token name filter

    Example: DAI
    stringOptional
    traded_token_amountany ofOptional

    Traded token amount range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    estimated_swap_price_usdany ofOptional

    Estimated swap price range filter in USD

    Example: {"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    estimated_value_usdany ofOptional

    Estimated value range filter in USD

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "block_timestamp", "direction": "DESC"}] - Sort by timestamp descending
    • [{"field": "estimated_value_usd", "direction": "ASC"}] - Sort by estimated value ascending
    • [{"field": "token_amount", "direction": "DESC"}] - Sort by token amount descending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    itemsstring ยท enumOptional

    Chains supported in smart money analysis.

    Possible values:
    filtersany ofOptional

    Additional filters to apply. Only filters for columns that are being selected will be applied.

    Example: {"exclude_smart_money_labels":["30D Smart Trader"],"include_smart_money_labels":["Fund","Smart Trader"],"token_bought_age_days":{"max":30,"min":1},"trade_value_usd":{"max":10000,"min":1000}}
    include_smart_money_labelsany ofOptional

    Smart money category filters

    Example: ["Fund","Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    exclude_smart_money_labelsany ofOptional

    Smart money category filters

    Example: ["30D Smart Trader"]
    itemsstring ยท enumOptional

    Enum for smart money filter options.

    Possible values:
    chainany ofOptional

    Blockchain network filter

    Example: ethereum
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    transaction_hashany ofOptional

    Transaction hash filter

    Example: 0x61adb6da30853c5988f0204dd9f6e4abbc878e02c34030a4f707cf4ec3124bcb
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_addressany ofOptional

    Trader address filter

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    trader_address_labelany ofOptional

    Trader name or label filter

    Example: Smart Money
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_bought_addressany ofOptional

    Token address filter for bought tokens

    Example: 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_sold_addressany ofOptional

    Token address filter for sold tokens

    Example: 0x1234...
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_bought_amountany ofOptional

    Amount range filter for bought tokens

    Example: {"max":1000,"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_sold_amountany ofOptional

    Amount range filter for sold tokens

    Example: {"max":500,"min":50}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_bought_symbolany ofOptional

    Symbol filter for bought tokens

    Example: USDC
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_sold_symbolany ofOptional

    Symbol filter for sold tokens

    Example: DAI
    stringOptional
    or
    string[]Optional
    or
    nullOptional
    token_bought_age_daysany ofOptional

    Age range filter for bought tokens in days

    Example: {"max":365,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_sold_age_daysany ofOptional

    Age range filter for sold tokens in days

    Example: {"max":365,"min":1}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_bought_market_capany ofOptional

    Market cap range filter for bought tokens

    Example: {"max":10000000,"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_sold_market_capany ofOptional

    Market cap range filter for sold tokens

    Example: {"max":10000000,"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_bought_fdvany ofOptional

    FDV range filter for bought tokens

    Example: {"max":10000000,"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_sold_fdvany ofOptional

    FDV range filter for sold tokens

    Example: {"max":10000000,"min":1000000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    trade_value_usdany ofOptional

    Trade value range filter in USD

    Example: {"max":10000,"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    premium_labelsany ofOptional

    Controls label tier in the response. When null/omitted (default), returns labels as per subscription plan (existing behavior). When false, returns free-tier labels for all users. When true, returns premium labels (20 credits, currently available to internal users only).

    booleanOptional
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "trade_value_in_usd", "direction": "DESC"}] - Sort by trade value descending
    • [{"field": "block_timestamp", "direction": "ASC"}] - Sort by timestamp ascending
    • [{"field": "token_bought_amount", "direction": "DESC"}, {"field": "block_timestamp", "direction": "ASC"}] - Sort by bought amount descending, then timestamp ascending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    What leverage levels are traders using?
  • Which smart money wallets are holding positions?

  • Responses
    chevron-right
    200

    TGM perp positions data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    addressany ofOptional

    The wallet address of the trader.

    Example: 0x1234567890123456789012345678901234567890
    stringOptional
    address_labelany ofOptional

    Wallet or labeled entity holding the position.

    Example: Smart Money
    stringOptional
    sideany ofOptional

    Position direction (Long/Short)

    Example: Long
    string ยท enumOptional

    Shared enum for position side direction.

    Possible values:
    position_value_usdany ofOptional

    USD notional size of the position.

    Example: 50000
    numberOptional
    position_sizeany ofOptional

    The position size (token amount).

    Example: 1.5
    numberOptional
    leveragestringRequired

    The leverage applied to the position.

    Example: 5X
    leverage_typeany ofOptional

    The type of leverage used, e.g., cross or isolated.

    Example: cross
    stringOptional
    entry_priceany ofOptional

    Average price where the position was opened.

    Example: 50000
    numberOptional
    mark_priceany ofOptional

    The current mark price of the asset.

    Example: 50500
    numberOptional
    liquidation_priceany ofOptional

    The price at which the position would be liquidated.

    Example: 45000
    numberOptional
    funding_usdany ofOptional

    Net funding paid (-) or received (+) since entry.

    Example: 10.5
    numberOptional
    upnl_usdany ofOptional

    Unrealized profit/loss including funding.

    Example: 500
    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    Request model for TGM flows endpoint.

    This endpoint provides comprehensive token flow analytics showing inflow and outflow patterns from various holder segments including Exchanges, Smart Money addresses, Public Figures, and Whales with time-based statistics and trends.

    chainstring ยท enumRequired

    Blockchain chain

    Example: solanaPossible values:
    token_addressstringRequired

    Token address

    Example: 2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv
    fromany ofOptional

    Start date in ISO 8601 format (e.g., 2025-01-01T00:00:00Z or 2025-01-01)

    Example: 2025-01-01T00:00:00Z
    stringOptional
    toany ofOptional

    End date in ISO 8601 format (e.g., 2025-01-31T23:59:59Z or 2025-01-31)

    Example: 2025-01-31T23:59:59Z
    stringOptional
    labelstring ยท enumOptional

    Label type for filtering flows

    Default: top_100_holdersExample: smart_moneyPossible values:
    pageinteger ยท min: 1Optional

    Page number (1-based)

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page (max 1000)

    Default: 10
    filtersany ofOptional

    Additional filters to apply to the query.

    Example: {"price_usd":{"max":1000,"min":0.01},"value_usd":{"min":10000}}
    price_usdany ofOptional

    Price range filter in USD

    Example: {"max":1000,"min":0.01}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    token_amountany ofOptional

    Token amount range filter

    Example: {"min":1000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    value_usdany ofOptional

    Value range filter in USD

    Example: {"min":10000}
    minany ofOptional

    Minimum value (inclusive)

    Example: 1000
    numberOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 50000
    numberOptional
    holders_countany ofOptional

    Holders count range filter

    Example: {"min":100}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    total_inflows_countany ofOptional

    Total inflows count range filter

    Example: {"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    total_outflows_countany ofOptional

    Total outflows count range filter

    Example: {"min":10}
    minany ofOptional

    Minimum value (inclusive)

    Example: 10
    integerOptional
    maxany ofOptional

    Maximum value (inclusive)

    Example: 100
    integerOptional
    order_byany ofOptional

    Custom sort order to override the endpoint's default ordering.

    Examples:

    • [{"field": "date", "direction": "DESC"}] - Sort by date descending (most recent first)
    • [{"field": "total_inflows_usd", "direction": "ASC"}] - Sort by total inflows ascending
    • [{"field": "total_outflows_usd", "direction": "DESC"}] - Sort by total outflows descending
    fieldstring ยท enumRequired

    Field to sort by

    Possible values:
    directionstring ยท enumRequired

    Sort direction (ASC or DESC)

    Possible values:
    Responses
    chevron-right
    200

    Perpetual contract screening data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    volumeany ofOptional

    Total traded notional in USD over the recent window.

    Example: 427486.75766
    numberOptional
    buy_volumeany ofOptional

    Total USD value of market buy trades over the recent window.

    Example: 216502.59923
    numberOptional
    sell_volumeany ofOptional

    Total USD value of market sell trades over the recent window.

    Example: 210984.15843
    numberOptional
    buy_sell_pressureany ofOptional

    Changes in position by Market Orders. Buys and sells through market orders (top of orderbook) indicate a rush into adjusting the position.

    Example: 5518.4408
    numberOptional
    trader_countany ofOptional

    Number of unique traders active over the recent window.

    Example: 109
    integerOptional
    token_symbolstringRequired

    Asset symbol (e.g., BTC, ETH) on Hyperliquid.

    Example: ARK
    mark_priceany ofOptional

    Latest mark price for the coin.

    Example: 0.3301
    numberOptional
    fundingany ofOptional

    Latest funding rate/value for the coin.

    Example: 0.0000125
    numberOptional
    open_interestany ofOptional

    Latest open interest for the coin.

    Example: 261310.461
    numberOptional
    previous_price_usdany ofOptional

    First price in the time window.

    Example: 0.4155
    numberOptional
    or
    smart_money_volumeany ofOptional

    Total traded notional in USD by Smart Money over the window.

    Example: 150000
    numberOptional
    smart_money_buy_volumeany ofOptional

    Total USD value of Smart Money market buy trades over the window.

    Example: 75000
    numberOptional
    smart_money_sell_volumeany ofOptional

    Total USD value of Smart Money market sell trades over the window.

    Example: 75000
    numberOptional
    net_position_changeany ofOptional

    Net USD flow (buy_market_vol - sell_market_vol) over the window.

    Example: 25000
    numberOptional
    trader_countany ofOptional

    Number of unique Smart Money traders active over the window.

    Example: 15
    integerOptional
    token_symbolstringRequired

    Asset symbol (e.g., BTC, ETH) on Hyperliquid.

    Example: ARK
    mark_priceany ofOptional

    Latest mark price for the coin.

    Example: 0.3301
    numberOptional
    fundingany ofOptional

    Latest funding rate/value for the coin.

    Example: 0.0000125
    numberOptional
    previous_price_usdany ofOptional

    First observed price within the time window.

    Example: 0.4155
    numberOptional
    open_interestany ofOptional

    Latest open interest in USD (open_interest ร— mark_price).

    Example: 261310.461
    numberOptional
    current_smart_money_position_longs_usdany ofOptional

    Aggregate USD value of Smart Money long positions for the coin.

    Example: 500000
    numberOptional
    current_smart_money_position_shorts_usdany ofOptional

    Aggregate USD value of Smart Money short positions for the coin (negative).

    Example: -500000
    numberOptional
    smart_money_longs_countany ofOptional

    Number of Smart Money accounts with a net long position.

    Example: 5
    integerOptional
    smart_money_shorts_countany ofOptional

    Number of Smart Money accounts with a net short position.

    Example: 5
    integerOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
  • Flexible filtering and sorting options

  • Responses
    chevron-right
    200

    Perpetual trading leaderboard data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    trader_addressstringRequired

    The Ethereum wallet address of the trader.

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    trader_address_labelany ofOptional

    The name associated with the address, derived using Nansen's multichain label function for Ethereum.

    Example: ๐Ÿฆ Binance 14 [0x28c6c0]
    stringOptional
    total_pnlany ofOptional

    Profit and loss for the selected timeframe in USD.

    Example: 1250.5
    numberOptional
    roiany ofOptional

    Return on investment for the selected timeframe as percentage.

    Example: 15.5
    numberOptional
    account_valueany ofOptional

    Current total account value in USD. Note: Account value data is only available for the top 500K traders due to upstream data limitations. Traders outside the top 500K may show 0 or null values.

    Example: 10000
    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    Responses
    chevron-right
    200

    Perpetual trade data for the user

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    timestampstringRequired

    Timestamp of the trade

    Example: 2025-10-08T18:46:11.452000
    sideany ofRequired

    Position side (Long or Short)

    Example: Long
    string ยท enumOptional

    Enum for perp trade position types.

    Possible values:
    actionstringRequired

    Action taken (Open, Add, Close, Reduce, etc.)

    Example: Add
    block_numberintegerRequired

    Block number of the trade

    Example: 756553592
    token_symbolstringRequired

    Symbol of the token

    Example: DOGE
    priceany ofRequired

    Average price of the trade (averaged across fills)

    Example: 0.25884
    numberOptional
    sizenumberRequired

    Total size of the trade (sum of all fills)

    Example: 6000
    value_usdnumberRequired

    Total value in USD of the trade

    Example: 1553.04
    start_positionnumberRequired

    Start position of the trade in token units

    Example: -7788000
    closed_pnlnumberRequired

    Total closed PnL of the trade (sum of all fills)

    crossedbooleanRequired

    Crossed of the trade

    Example: true
    fee_usdnumberRequired

    Total fee in USD of the trade (sum of all fills)

    Example: 0.434851
    fee_token_symbolstringRequired

    Fee in token of the trade

    Example: USDC
    transaction_hashstringRequired

    Transaction hash of the trade

    Example: 0x50cea34e7464d3055248042d1817780203b600340f67f1d7f4974ea13368acef
    userstringRequired

    User of the trade

    Example: 0x45d26f28196d226497130c4bac709d808fed4029
    oidintegerRequired

    Order ID of the trade

    Example: 191284609448
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    Responses
    chevron-right
    200

    Perpetual positions data for the user

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    assetPositionsany ofOptional

    List of asset positions

    positionany ofOptional

    Position data

    token_symbolany ofOptional

    Asset symbol (e.g., BTC, ETH)

    Example: STBL
    stringOptional
    sizeany ofOptional

    Size

    Example: -50367.0
    stringOptional
    position_value_usdany ofOptional

    Position value USD

    Example: 5231.62029
    stringOptional
    entry_price_usdany ofOptional

    Entry price USD

    Example: 0.43499
    stringOptional
    liquidation_price_usdany ofOptional

    Liquidation price USD

    Example: 66.817537196
    stringOptional
    leverage_valueany ofOptional

    Leverage value

    Example: 3
    integerOptional
    leverage_typeany ofOptional

    Leverage type: 'cross' or 'isolated'

    Example: cross
    stringOptional
    leverage_raw_usdany ofOptional

    Raw USD leverage

    stringOptional
    margin_used_usdany ofOptional

    Margin used USD

    Example: 1743.87343
    stringOptional
    max_leverage_valueany ofOptional

    Maximum allowed leverage value

    Example: 3
    integerOptional
    return_on_equityany ofOptional

    Return on equity

    Example: 2.2836393396
    stringOptional
    unrealized_pnl_usdany ofOptional

    Unrealized PnL USD

    Example: 16677.54047
    stringOptional
    cumulative_funding_all_time_usdany ofOptional

    Cumulative funding all time USD

    Example: -623.219722
    stringOptional
    cumulative_funding_since_change_usdany ofOptional

    Cumulative funding since change USD

    Example: -618.925976
    stringOptional
    cumulative_funding_since_open_usdany ofOptional

    Cumulative funding since open USD

    Example: -623.219722
    stringOptional
    position_typeany ofOptional

    Position type

    Example: oneWay
    stringOptional
    crossMaintenanceMarginUsedany ofOptional

    Cross maintenance margin used USD

    Example: 722948.2832910001
    stringOptional
    cross_margin_summary_account_value_usdany ofOptional

    Cross margin summary account value USD

    Example: 4643143.4382309997
    stringOptional
    cross_margin_summary_total_margin_used_usdany ofOptional

    Cross margin summary total margin used USD

    Example: 1456365.231985
    stringOptional
    cross_margin_summary_total_net_liquidation_position_on_usdany ofOptional

    Cross margin summary total net liquidation position on USD

    Example: 13339928.690684
    stringOptional
    cross_margin_summary_total_raw_usdany ofOptional

    Cross margin summary total raw USD

    Example: 13987445.0243870001
    stringOptional
    margin_summary_account_value_usdany ofOptional

    Margin summary account value USD

    Example: 4643143.4382309997
    stringOptional
    margin_summary_total_margin_used_usdany ofOptional

    Margin summary total margin used USD

    Example: 1456365.231985
    stringOptional
    margin_summary_total_net_liquidation_position_usdany ofOptional

    Margin summary total net liquidation position USD

    Example: 13339928.690684
    stringOptional
    margin_summary_total_raw_usdany ofOptional

    Margin summary total raw USD

    Example: 13987445.0243870001
    stringOptional
    timeany ofOptional

    Timestamp

    Example: 1761283435707
    integerOptional
    withdrawableany ofOptional

    Withdrawable USD

    Example: 2933647.2403759998
    stringOptional
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    Responses
    chevron-right
    200

    Token screening data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    chainstringRequired

    The blockchain network on which the token is deployed.

    token_addressstringRequired

    Address of token

    token_symbolstringRequired

    The symbol of the token.

    token_age_daysany ofOptional

    Number of days since token deployment.

    numberOptional
    market_cap_usdany ofOptional

    Market capitalization in USD.

    numberOptional
    liquidityany ofOptional

    Total on-chain liquidity in USD.

    numberOptional
    price_usdany ofOptional

    Price of the token

    numberOptional
    price_changeany ofOptional

    Price change percentage from the previous period.

    numberOptional
    fdvany ofOptional

    Fully Diluted Valuation in USD.

    numberOptional
    fdv_mc_ratioany ofOptional

    Ratio of Fully Diluted Valuation to Market Cap.

    numberOptional
    buy_volumeany ofOptional

    Total buy volume in USD.

    numberOptional
    inflow_fdv_ratioany ofOptional

    Ratio of inflow to Fully Diluted Valuation.

    numberOptional
    outflow_fdv_ratioany ofOptional

    Ratio of outflow to Fully Diluted Valuation.

    numberOptional
    sell_volumeany ofOptional

    Total sell volume in USD.

    numberOptional
    volumeany ofOptional

    Total trading volume in USD.

    numberOptional
    netflowany ofOptional

    Net flow (buy_volume - sell_volume) in USD.

    numberOptional
    or
    chainstringRequired

    The blockchain network on which the token is deployed.

    token_addressstringRequired

    Address of token

    token_symbolstringRequired

    The symbol of the token.

    token_age_daysany ofOptional

    Number of days since token deployment.

    numberOptional
    market_cap_usdany ofOptional

    Market capitalization in USD.

    numberOptional
    liquidityany ofOptional

    Total on-chain liquidity in USD.

    numberOptional
    price_usdany ofOptional

    Price of the token

    numberOptional
    price_changeany ofOptional

    Price change percentage from the previous period.

    numberOptional
    fdvany ofOptional

    Fully Diluted Valuation in USD.

    numberOptional
    fdv_mc_ratioany ofOptional

    Ratio of Fully Diluted Valuation to Market Cap.

    numberOptional
    nof_tradersany ofOptional

    Total number of unique traders.

    integerOptional
    buy_volumeany ofOptional

    Total buy volume in USD.

    numberOptional
    inflow_fdv_ratioany ofOptional

    Ratio of inflow to Fully Diluted Valuation.

    numberOptional
    outflow_fdv_ratioany ofOptional

    Ratio of outflow to Fully Diluted Valuation.

    numberOptional
    sell_volumeany ofOptional

    Total sell volume in USD.

    numberOptional
    volumeany ofOptional

    Total trading volume in USD.

    numberOptional
    netflowany ofOptional

    Net flow (buy_volume - sell_volume) in USD.

    numberOptional
    or
    chainstringRequired

    The blockchain network on which the token is deployed.

    token_addressstringRequired

    Address of token

    token_symbolstringRequired

    The symbol of the token.

    token_age_daysany ofOptional

    Number of days since token deployment.

    numberOptional
    market_cap_usdany ofOptional

    Market capitalization in USD.

    numberOptional
    liquidityany ofOptional

    Total on-chain liquidity in USD.

    numberOptional
    price_usdany ofOptional

    Price of the token

    numberOptional
    price_changeany ofOptional

    Price change percentage from the previous period.

    numberOptional
    fdvany ofOptional

    Fully Diluted Valuation in USD.

    numberOptional
    fdv_mc_ratioany ofOptional

    Ratio of Fully Diluted Valuation to Market Cap.

    numberOptional
    nof_buyersany ofOptional

    Number of unique buyers.

    integerOptional
    nof_tradersany ofOptional

    Total number of unique traders.

    integerOptional
    nof_sellersany ofOptional

    Number of unique sellers.

    integerOptional
    nof_buysany ofOptional

    Total number of buy transactions.

    integerOptional
    nof_sellsany ofOptional

    Total number of sell transactions.

    integerOptional
    buy_volumeany ofOptional

    Total buy volume in USD.

    numberOptional
    inflow_fdv_ratioany ofOptional

    Ratio of inflow to Fully Diluted Valuation.

    numberOptional
    outflow_fdv_ratioany ofOptional

    Ratio of outflow to Fully Diluted Valuation.

    numberOptional
    sell_volumeany ofOptional

    Total sell volume in USD.

    numberOptional
    volumeany ofOptional

    Total trading volume in USD.

    numberOptional
    netflowany ofOptional

    Net flow (buy_volume - sell_volume) in USD.

    numberOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json

    pagination: Page and per_page parameters

    Responses
    chevron-right
    200

    TGM Perp PnL leaderboard data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    trader_addressstringRequired

    Hexadecimal representation of the trader's address.

    Example: 0x28c6c06298d514db089934071355e5743bf21d60
    trader_address_labelany ofOptional

    Nansen name of the trader

    Example: ๐Ÿฆ Binance 14 [0x28c6c0]
    stringOptional
    price_usdany ofOptional

    Token price in USD at date_to. Uses latest spot price if date_to is today or later, otherwise the daily median price for that date.

    Example: 1.23
    numberOptional
    pnl_usd_realisedany ofOptional

    Realised profit and loss in USD.

    Example: 1250.5
    numberOptional
    pnl_usd_unrealisedany ofOptional

    Unrealised profit and loss in USD.

    Example: 100.25
    numberOptional
    holding_amountany ofOptional

    Current token balance

    Example: 5000
    numberOptional
    position_value_usdany ofOptional

    Position value in USD (+ve = Long position, -ve = Short position, 0 = Flat)

    Example: 6000
    numberOptional
    max_balance_heldany ofOptional

    Maximum amount of tokens held at some point in time.

    Example: 10000
    numberOptional
    max_balance_held_usdany ofOptional

    Maximum amount of tokens in current USD value, held at some point in time.

    Example: 12000
    numberOptional
    still_holding_balance_ratioany ofOptional

    The ratio of current holdings to max balance held.

    Example: 0.5
    numberOptional
    netflow_amount_usdany ofOptional

    Netflow amount in USD.

    Example: 2500.75
    numberOptional
    netflow_amountany ofOptional

    Netflow amount.

    Example: 1500
    numberOptional
    roi_percent_totalany ofOptional

    Total ROI.

    Example: 15.5
    numberOptional
    roi_percent_realisedany ofOptional

    Realised ROI.

    Example: 12.3
    numberOptional
    roi_percent_unrealisedany ofOptional

    Unrealised ROI.

    Example: 3.2
    numberOptional
    pnl_usd_totalany ofOptional

    Total PNL in USD.

    Example: 1350.75
    numberOptional
    nof_tradesany ofOptional

    Number of trades.

    Example: 25
    integerOptional
    pageinteger ยท min: 1Optional

    Current page number

    Default: 1
    per_pageinteger ยท min: 1 ยท max: 1000Optional

    Number of records per page

    Default: 10
    is_last_pagebooleanOptional

    Whether this is the last page

    Default: true
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    POST /api/v1/tgm/perp-trades HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 238
    
    {
      "token_symbol": "BTC",
      "date": {
        "from": "2025-07-07T00:00:00Z",
        "to": "2025-07-14T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "order_type": [
          "MARKET"
        ],
        "side": [
          "Long"
        ]
      },
      "order_by": [
        {
          "field": "block_timestamp",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "trader_address_label": "Smart Money",
          "trader_address": "0x28c6c06298d514db089934071355e5743bf21d60",
          "token_symbol": "BTC",
          "side": "Long",
          "action": "Add",
          "token_amount": 1.5,
          "price_usd": 60000,
          "value_usd": 90000,
          "type": "MARKET",
          "block_timestamp": "2025-10-01T12:40:00Z",
          "transaction_hash": "0x61adb6da30853c5988f0204dd9f6e4abbc878e02c34030a4f707cf4ec3124bcb"
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/smart-money/perp-trades HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 271
    
    {
      "filters": {
        "action": "Buy - Add Long",
        "side": "Long",
        "token_symbol": "BTC",
        "type": "Limit",
        "value_usd": {
          "max": 10000,
          "min": 1000
        }
      },
      "premium_labels": true,
      "only_new_positions": true,
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "order_by": [
        {
          "field": "block_timestamp",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "trader_address_label": "text",
          "trader_address": "text",
          "token_symbol": "text",
          "side": "Long",
          "action": "Add",
          "token_amount": 1,
          "price_usd": 1,
          "value_usd": 1,
          "type": "Market",
          "block_timestamp": "text",
          "transaction_hash": "text"
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/smart-money/historical-holdings HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 475
    
    {
      "date_range": {
        "from": "2025-10-01",
        "to": "2025-10-31"
      },
      "chains": [
        "ethereum"
      ],
      "filters": {
        "balance_24h_percent_change": {
          "max": 0.1,
          "min": -0.1
        },
        "exclude_smart_money_labels": [
          "30D Smart Trader"
        ],
        "include_native_tokens": false,
        "include_smart_money_labels": [
          "Fund",
          "Smart Trader"
        ],
        "include_stablecoins": false,
        "token_age_days": {
          "max": 30
        },
        "value_usd": {
          "max": 100000,
          "min": 1000
        }
      },
      "premium_labels": true,
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "order_by": [
        {
          "field": "date",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "date": "text",
          "chain": "base",
          "token_address": "text",
          "token_symbol": "text",
          "token_sectors": [
            "text"
          ],
          "smart_money_labels": [
            "text"
          ],
          "balance": 1,
          "value_usd": 1,
          "balance_24h_percent_change": 1,
          "holders_count": 1,
          "share_of_holdings_percent": 1,
          "token_age_days": 1,
          "market_cap_usd": 1
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/pnl-leaderboard HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 339
    
    {
      "chain": "ethereum",
      "token_address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
      "date": {
        "from": "2025-07-14T00:00:00Z",
        "to": "2025-07-15T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "holding_usd": {
          "min": 1000
        },
        "pnl_usd_realised": {
          "min": 1000
        }
      },
      "premium_labels": true,
      "order_by": [
        {
          "field": "pnl_usd_realised",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "trader_address": "0x28c6c06298d514db089934071355e5743bf21d60",
          "trader_address_label": "๐Ÿฆ Binance 14 [0x28c6c0]",
          "price_usd": 1.23,
          "pnl_usd_realised": 1250.5,
          "pnl_usd_unrealised": 100.25,
          "holding_amount": 5000,
          "holding_usd": 6000,
          "max_balance_held": 10000,
          "max_balance_held_usd": 12000,
          "still_holding_balance_ratio": 0.5,
          "netflow_amount_usd": 2500.75,
          "netflow_amount": 1500,
          "roi_percent_total": 15.5,
          "roi_percent_realised": 12.3,
          "roi_percent_unrealised": 3.2,
          "pnl_usd_total": 1350.75,
          "nof_trades": 25
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/profiler/perp-positions HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 196
    
    {
      "address": "0xa312114b5795dff9b8db50474dd57701aa78ad1e",
      "filters": {
        "position_value_usd": {
          "min": 1000
        },
        "unrealized_pnl_usd": {
          "max": 0
        }
      },
      "order_by": [
        {
          "direction": "DESC",
          "field": "position_value_usd"
        }
      ]
    }
    {
      "data": {
        "asset_positions": [
          {
            "position": {
              "cumulative_funding_all_time_usd": "-623.219722",
              "cumulative_funding_since_change_usd": "-618.925976",
              "cumulative_funding_since_open_usd": "-623.219722",
              "entry_price_usd": "0.43499",
              "leverage_type": "cross",
              "leverage_value": 3,
              "liquidation_price_usd": "66.817537196",
              "margin_used_usd": "1743.87343",
              "max_leverage_value": 3,
              "position_value_usd": "5231.62029",
              "return_on_equity": "2.2836393396",
              "size": "-50367.0",
              "token_symbol": "STBL",
              "unrealized_pnl_usd": "16677.54047"
            },
            "position_type": "oneWay"
          },
          {
            "position": {
              "cumulative_funding_all_time_usd": "200.361581",
              "cumulative_funding_since_change_usd": "201.157877",
              "cumulative_funding_since_open_usd": "200.361581",
              "entry_price_usd": "0.311285",
              "leverage_type": "cross",
              "leverage_value": 5,
              "liquidation_price_usd": "39.6872752647",
              "margin_used_usd": "2020.946984",
              "max_leverage_value": 5,
              "position_value_usd": "10104.73492",
              "return_on_equity": "3.1976362269",
              "size": "-90052.0",
              "token_symbol": "MOODENG",
              "unrealized_pnl_usd": "17927.1615"
            },
            "position_type": "oneWay"
          }
        ],
        "cross_maintenance_margin_used_usd": "722948.2832910001",
        "cross_margin_summary_account_value_usd": "4643143.4382309997",
        "cross_margin_summary_total_margin_used_usd": "1456365.231985",
        "cross_margin_summary_total_net_liquidation_position_on_usd": "13339928.690684",
        "cross_margin_summary_total_raw_usd": "13987445.0243870001",
        "margin_summary_account_value_usd": "4643143.4382309997",
        "margin_summary_total_margin_used_usd": "1456365.231985",
        "margin_summary_total_net_liquidation_position_usd": "13339928.690684",
        "margin_summary_total_raw_usd": "13987445.0243870001",
        "timestamp": 1761283435707,
        "withdrawable_usd": "2933647.2403759998"
      }
    }
    POST /api/v1/agent/fast HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 102
    
    {
      "text": "Which tokens are whales accumulating on Ethereum this week?",
      "conversation_id": "conv_abc123"
    }
    POST /api/v1/agent/expert HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 102
    
    {
      "text": "Which tokens are whales accumulating on Ethereum this week?",
      "conversation_id": "conv_abc123"
    }
    POST /api/v1/search/entity-name HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 26
    
    {
      "search_query": "vitalik"
    }
    {
      "data": [
        {
          "entity_name": "text"
        }
      ]
    }
    POST /api/v1/profiler/perp-trades HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 259
    
    {
      "address": "0x45d26f28196d226497130c4bac709d808fed4029",
      "date": {
        "from": "2025-10-01T00:00:00Z",
        "to": "2025-10-10T23:59:59Z"
      },
      "filters": {
        "size": {
          "max": 1000,
          "min": 0.001
        }
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "order_by": [
        {
          "direction": "DESC",
          "field": "timestamp"
        }
      ]
    }
    {
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "data": [
        {
          "action": "Add",
          "block_number": 756553592,
          "closed_pnl": 0,
          "crossed": true,
          "fee_token_symbol": "USDC",
          "fee_usd": 0.434851,
          "oid": 191284609448,
          "price": 0.25884,
          "side": "Short",
          "size": 6000,
          "start_position": -7788000,
          "timestamp": "2025-10-08T18:46:11.452000",
          "token_symbol": "DOGE",
          "transaction_hash": "0x50cea34e7464d3055248042d1817780203b600340f67f1d7f4974ea13368acef",
          "user": "0x45d26f28196d226497130c4bac709d808fed4029",
          "value_usd": 1553.04
        },
        {
          "action": "Open",
          "block_number": 756553593,
          "closed_pnl": 0,
          "crossed": false,
          "fee_token_symbol": "USDC",
          "fee_usd": 2.25,
          "oid": 191284609449,
          "price": 45000,
          "side": "Long",
          "size": 0.1,
          "start_position": 0,
          "timestamp": "2025-10-08T15:30:22.123000",
          "token_symbol": "BTC",
          "transaction_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
          "user": "0x45d26f28196d226497130c4bac709d808fed4029",
          "value_usd": 4500
        },
        {
          "action": "Close",
          "block_number": 756553594,
          "closed_pnl": 150,
          "crossed": true,
          "fee_token_symbol": "USDC",
          "fee_usd": 2.25,
          "oid": 191284609450,
          "price": 3000,
          "side": "Long",
          "size": 1.5,
          "start_position": 1000,
          "timestamp": "2025-10-08T12:15:33.789000",
          "token_symbol": "ETH",
          "transaction_hash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
          "user": "0x45d26f28196d226497130c4bac709d808fed4029",
          "value_usd": 4500
        }
      ]
    }
    POST /api/v1/perp-leaderboard HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 228
    
    {
      "date": {
        "from": "2025-10-14",
        "to": "2025-10-15"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "account_value": {
          "min": 10000
        },
        "total_pnl": {
          "min": 1000
        }
      },
      "premium_labels": true,
      "order_by": [
        {
          "field": "total_pnl",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "trader_address": "0x28c6c06298d514db089934071355e5743bf21d60",
          "trader_address_label": "๐Ÿฆ Binance 14 [0x28c6c0]",
          "total_pnl": 1250.5,
          "roi": 15.5,
          "account_value": 10000
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/token-ohlcv HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 165
    
    {
      "chain": "ethereum",
      "token_address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
      "date": {
        "from": "2025-01-01T00:00:00Z",
        "to": "2025-01-31T23:59:59Z"
      },
      "timeframe": "1h"
    }
    {
      "chain": "ethereum",
      "token_address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
      "timeframe": "1h",
      "data": [
        {
          "interval_start": "2025-01-15T12:00:00Z",
          "open": 100.5,
          "high": 105.25,
          "low": 98.75,
          "close": 103,
          "volume": 1000000,
          "volume_usd": 100000000,
          "market_cap": {
            "open": 1500000000,
            "high": 1600000000,
            "low": 1400000000,
            "close": 1550000000
          }
        }
      ]
    }
    POST /api/v1/tgm/perp-positions HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 284
    
    {
      "token_symbol": "BTC",
      "label_type": "all_traders",
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "include_smart_money_labels": [
          "Smart HL Perps Trader",
          "Fund"
        ],
        "position_value_usd": {
          "min": 10000
        },
        "side": [
          "Long"
        ],
        "upnl_usd": {
          "min": 0
        }
      },
      "order_by": [
        {
          "field": "address",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "address": "0x1234567890123456789012345678901234567890",
          "address_label": "Smart Money",
          "side": "Long",
          "position_value_usd": 50000,
          "position_size": 1.5,
          "leverage": "5X",
          "leverage_type": "cross",
          "entry_price": 50000,
          "mark_price": 50500,
          "liquidation_price": 45000,
          "funding_usd": 10.5,
          "upnl_usd": 500
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/perp-screener HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 224
    
    {
      "date": {
        "from": "2025-10-01T00:00:00Z",
        "to": "2025-10-06T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "token_symbol": "BTC",
        "volume": {
          "min": 10000
        }
      },
      "order_by": [
        {
          "direction": "DESC",
          "field": "buy_sell_pressure"
        }
      ]
    }
    {
      "data": [
        {
          "buy_sell_pressure": 5518.4408,
          "buy_volume": 216502.59923,
          "funding": 0.0000125,
          "mark_price": 0.3301,
          "open_interest": 261310.461,
          "previous_price_usd": 0.4155,
          "sell_volume": 210984.15843,
          "token_symbol": "ARK",
          "trader_count": 109,
          "volume": 427486.75766
        },
        {
          "buy_sell_pressure": 25000,
          "buy_volume": 1250000,
          "funding": 0.0001,
          "mark_price": 45000,
          "open_interest": 5000000,
          "previous_price_usd": 44000,
          "sell_volume": 1250000,
          "token_symbol": "BTC",
          "trader_count": 500,
          "volume": 2500000
        },
        {
          "current_smart_money_position_longs_usd": 500000,
          "current_smart_money_position_shorts_usd": -500000,
          "funding": -0.0001,
          "mark_price": 3000,
          "net_position_change": 25000,
          "open_interest": 2000000,
          "previous_price_usd": 2900,
          "smart_money_buy_volume": 75000,
          "smart_money_longs_count": 5,
          "smart_money_sell_volume": 75000,
          "smart_money_shorts_count": 5,
          "smart_money_volume": 150000,
          "token_symbol": "ETH",
          "trader_count": 15
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/perp-pnl-leaderboard HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 287
    
    {
      "token_symbol": "BTC",
      "date": {
        "from": "2025-10-14T00:00:00Z",
        "to": "2025-10-15T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "pnl_usd_realised": {
          "min": 1000
        },
        "position_value_usd": {
          "min": 1000
        }
      },
      "premium_labels": true,
      "order_by": [
        {
          "field": "pnl_usd_realised",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "trader_address": "0x28c6c06298d514db089934071355e5743bf21d60",
          "trader_address_label": "๐Ÿฆ Binance 14 [0x28c6c0]",
          "price_usd": 1.23,
          "pnl_usd_realised": 1250.5,
          "pnl_usd_unrealised": 100.25,
          "holding_amount": 5000,
          "position_value_usd": 6000,
          "max_balance_held": 10000,
          "max_balance_held_usd": 12000,
          "still_holding_balance_ratio": 0.5,
          "netflow_amount_usd": 2500.75,
          "netflow_amount": 1500,
          "roi_percent_total": 15.5,
          "roi_percent_realised": 12.3,
          "roi_percent_unrealised": 3.2,
          "pnl_usd_total": 1350.75,
          "nof_trades": 25
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/token-screener HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 217
    
    {
      "chains": [
        "ethereum",
        "solana",
        "base"
      ],
      "timeframe": "24h",
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "only_smart_money": true,
        "token_age_days": {
          "max": 365,
          "min": 1
        }
      },
      "order_by": [
        {
          "field": "chain",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "chain": "text",
          "token_address": "text",
          "token_symbol": "text",
          "token_age_days": 1,
          "market_cap_usd": 1,
          "liquidity": 1,
          "price_usd": 1,
          "price_change": 1,
          "fdv": 1,
          "fdv_mc_ratio": 1,
          "buy_volume": 1,
          "inflow_fdv_ratio": 1,
          "outflow_fdv_ratio": 1,
          "sell_volume": 1,
          "volume": 1,
          "netflow": 1
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/holders HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 406
    
    {
      "chain": "solana",
      "token_address": "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv",
      "aggregate_by_entity": false,
      "label_type": "all_holders",
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "include_smart_money_labels": [
          "30D Smart Trader",
          "Fund"
        ],
        "ownership_percentage": {
          "min": 0.01
        },
        "token_amount": {
          "min": 1000
        },
        "value_usd": {
          "min": 10000
        }
      },
      "premium_labels": true,
      "order_by": [
        {
          "field": "address",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "address": "0x1234567890123456789012345678901234567890",
          "address_label": "Smart Money",
          "token_amount": 1000000,
          "total_outflow": 50000,
          "total_inflow": 1050000,
          "balance_change_24h": 1000,
          "balance_change_7d": 5000,
          "balance_change_30d": 15000,
          "ownership_percentage": 2.5,
          "value_usd": 50000
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "warnings": [
        "text"
      ]
    }
    POST /api/v1/profiler/address/counterparties HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 226
    
    {
      "address": "0x28c6c06298d514db089934071355e5743bf21d60",
      "chain": "ethereum",
      "date": {
        "from": "2025-05-01T00:00:00Z",
        "to": "2025-05-03T23:59:59Z"
      },
      "group_by": "wallet",
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "source_input": "Combined"
    }
    {
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "data": [
        {
          "counterparty_address": "text",
          "counterparty_address_label": [
            "text"
          ],
          "interaction_count": 1,
          "total_volume_usd": 1,
          "volume_in_usd": 1,
          "volume_out_usd": 1,
          "tokens_info": [
            {
              "token_address": "text",
              "token_symbol": "text",
              "token_name": "text",
              "num_transfer": "text"
            }
          ]
        }
      ]
    }
    POST /api/v1/profiler/address/historical-balances HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 180
    
    {
      "address": "0x28c6c06298d514db089934071355e5743bf21d60",
      "chain": "ethereum",
      "date": {
        "from": "2025-05-01T00:00:00Z",
        "to": "2025-05-03T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      }
    }
    {
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "data": [
        {
          "block_timestamp": "text",
          "token_address": "text",
          "chain": "text",
          "token_amount": 1,
          "value_usd": 1,
          "token_symbol": "text"
        }
      ]
    }
    POST /api/v1/smart-money/holdings HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 432
    
    {
      "chains": [
        "ethereum",
        "solana"
      ],
      "filters": {
        "balance_24h_percent_change": {
          "max": 0.1,
          "min": -0.1
        },
        "exclude_smart_money_labels": [
          "30D Smart Trader"
        ],
        "include_native_tokens": false,
        "include_smart_money_labels": [
          "Fund",
          "Smart Trader"
        ],
        "include_stablecoins": false,
        "token_age_days": {
          "max": 30
        },
        "value_usd": {
          "max": 100000,
          "min": 1000
        }
      },
      "premium_labels": true,
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "order_by": [
        {
          "field": "chain",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "chain": "all",
          "token_address": "text",
          "token_symbol": "text",
          "token_sectors": [
            "text"
          ],
          "value_usd": 1,
          "balance_24h_percent_change": 1,
          "holders_count": 1,
          "share_of_holdings_percent": 1,
          "token_age_days": 1,
          "market_cap_usd": 1
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/profiler/address/current-balance HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 136
    
    {
      "address": "0x28c6c06298d514db089934071355e5743bf21d60",
      "chain": "ethereum",
      "hide_spam_token": true,
      "pagination": {
        "page": 1,
        "per_page": 10
      }
    }
    {
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "data": [
        {
          "chain": "text",
          "address": "text",
          "token_address": "text",
          "token_symbol": "text",
          "token_name": "text",
          "token_amount": 1,
          "price_usd": 1,
          "value_usd": 1
        }
      ]
    }
    POST /api/v1/smart-money/netflow HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 326
    
    {
      "chains": [
        "ethereum",
        "solana"
      ],
      "filters": {
        "exclude_smart_money_labels": [
          "30D Smart Trader"
        ],
        "include_native_tokens": false,
        "include_smart_money_labels": [
          "Fund",
          "Smart Trader"
        ],
        "include_stablecoins": false
      },
      "premium_labels": true,
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "order_by": [
        {
          "direction": "DESC",
          "field": "net_flow_24h_usd"
        }
      ]
    }
    {
      "data": [
        {
          "token_address": "text",
          "token_symbol": "text",
          "net_flow_1h_usd": 1,
          "net_flow_24h_usd": 1,
          "net_flow_7d_usd": 1,
          "net_flow_30d_usd": 1,
          "chain": "text",
          "token_sectors": [
            "text"
          ],
          "trader_count": 1,
          "token_age_days": 1,
          "market_cap_usd": 1
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    {
      "data": [
        {
          "address": "0x1234567890123456789012345678901234567890",
          "address_label": "High Gas Consumer",
          "bought_token_volume": 1000.5,
          "sold_token_volume": 500.25,
          "token_trade_volume": 500.25,
          "bought_volume_usd": 25000,
          "sold_volume_usd": 12500,
          "trade_volume_usd": 12500
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/who-bought-sold HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 362
    
    {
      "chain": "solana",
      "token_address": "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv",
      "buy_or_sell": "BUY",
      "date": {
        "from": "2025-05-01T00:00:00Z",
        "to": "2025-05-03T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "include_smart_money_labels": [
          "Whale",
          "Smart Trader"
        ],
        "trade_volume_usd": {
          "min": 1
        }
      },
      "order_by": [
        {
          "field": "bought_volume_usd",
          "direction": "ASC"
        }
      ]
    }
    {
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "data": [
        {
          "address": "text",
          "address_label": "text",
          "relation": "text",
          "transaction_hash": "text",
          "block_timestamp": "text",
          "order": 1,
          "chain": "text"
        }
      ]
    }
    POST /api/v1/profiler/address/related-wallets HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 162
    
    {
      "address": "0x28c6c06298d514db089934071355e5743bf21d60",
      "chain": "ethereum",
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "order_by": [
        {
          "field": "order",
          "direction": "ASC"
        }
      ]
    }
    {
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "data": [
        {
          "chain": "text",
          "method": "text",
          "tokens_sent": [
            {
              "token_symbol": "text",
              "token_amount": 1,
              "price_usd": 1,
              "value_usd": 1,
              "token_address": "text",
              "chain": "text",
              "from_address": "text",
              "to_address": "text",
              "from_address_label": "text",
              "to_address_label": "text"
            }
          ],
          "tokens_received": [
            {
              "token_symbol": "text",
              "token_amount": 1,
              "price_usd": 1,
              "value_usd": 1,
              "token_address": "text",
              "chain": "text",
              "from_address": "text",
              "to_address": "text",
              "from_address_label": "text",
              "to_address_label": "text"
            }
          ],
          "volume_usd": 1,
          "block_timestamp": "text",
          "transaction_hash": "text",
          "source_type": "text"
        }
      ]
    }
    {
      "data": [
        {
          "chain": "text",
          "transaction_hash": "text",
          "from_address": "text",
          "from_address_label": "text",
          "to_address": "text",
          "to_address_label": "text",
          "native_value": 1,
          "dated_native_price": 1,
          "dated_native_value_usd": 1,
          "current_native_price": 1,
          "current_native_value_usd": 1,
          "receipt_status": 1,
          "block_timestamp": "text",
          "token_transfer_array": [
            {
              "from_address": "text",
              "from_address_label": "text",
              "to_address": "text",
              "to_address_label": "text",
              "token_address": "text",
              "token_symbol": "text",
              "token_amount": 1,
              "dated_price_usd": 1,
              "dated_value_usd": 1,
              "current_price_usd": 1,
              "current_value_usd": 1,
              "transfer_id": "text"
            }
          ],
          "nft_transfer_array": [
            {
              "from_address": "text",
              "from_address_label": "text",
              "to_address": "text",
              "to_address_label": "text",
              "project_id": "text",
              "collection_name": "text",
              "nft_id": "text"
            }
          ]
        }
      ]
    }
    POST /api/v1/profiler/address/transactions HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 299
    
    {
      "address": "0x28c6c06298d514db089934071355e5743bf21d60",
      "chain": "ethereum",
      "date": {
        "from": "2025-08-01T00:00:00Z",
        "to": "2025-08-10T23:59:59Z"
      },
      "hide_spam_token": true,
      "filters": {
        "volume_usd": {
          "min": 100
        }
      },
      "pagination": {
        "page": 1,
        "per_page": 20
      },
      "order_by": [
        {
          "field": "block_timestamp",
          "direction": "ASC"
        }
      ]
    }
    POST /api/v1/transaction-with-token-transfer-lookup HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 148
    
    {
      "chain": "ethereum",
      "transaction_hash": "0xf16f93cb53f4f977d45b1b08af7b66e1939d0fe69d669012458239b23797e492",
      "block_timestamp": "2025-08-06 01:47:11"
    }
    {
      "data": [
        {
          "block_timestamp": "2025-05-01T12:00:00Z",
          "transaction_hash": "0x1234567890abcdef...",
          "from_address": "0x28c6c06298d514db089934071355e5743bf21d60",
          "to_address": "0x742d35cc6634c0532925a3b8d4c9db96c4b4d8b6",
          "from_address_label": "๐Ÿฆ Binance 14 [0x28c6c0]",
          "to_address_label": "High Balance",
          "transaction_type": "DEX",
          "transfer_amount": 1000,
          "transfer_value_usd": 2500
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/transfers HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 349
    
    {
      "chain": "ethereum",
      "token_address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
      "date": {
        "from": "2025-05-01T00:00:00Z",
        "to": "2025-05-03T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "include_cex": true,
        "include_dex": true,
        "non_exchange_transfers": true,
        "only_smart_money": true
      },
      "order_by": [
        {
          "field": "block_timestamp",
          "direction": "ASC"
        }
      ]
    }
    POST /api/v1/search/general HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 73
    
    {
      "search_query": "AAVE",
      "result_type": "any",
      "chain": "ethereum",
      "limit": 25
    }
    {
      "tokens": [
        {
          "name": "text",
          "symbol": "text",
          "chain": "text",
          "address": "text",
          "price": 1,
          "volume_24h": 1,
          "market_cap": 1,
          "rank": 1
        }
      ],
      "entities": [
        {
          "name": "text",
          "tags": [
            "text"
          ],
          "rank": 1
        }
      ],
      "total_results": 1
    }
    {
      "tokens": [
        {
          "name": "Aave",
          "symbol": "AAVE",
          "chain": "ethereum",
          "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
          "price": 123.45,
          "volume_24h": 50000000,
          "market_cap": 1500000000,
          "rank": 25
        }
      ],
      "entities": [],
      "total_results": 1
    }
    {
      "data": [
        {
          "dca_created_at": "text",
          "dca_updated_at": "text",
          "trader_address": "text",
          "transaction_hash": "text",
          "trader_address_label": "text",
          "dca_vault_address": "text",
          "input_token_address": "text",
          "output_token_address": "text",
          "deposit_token_amount": 1,
          "token_spent_amount": 1,
          "output_token_redeemed_amount": 1,
          "dca_status": "text",
          "input_token_symbol": "text",
          "output_token_symbol": "text",
          "deposit_value_usd": 1
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/smart-money/dcas HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 234
    
    {
      "filters": {
        "exclude_smart_money_labels": [
          "30D Smart Trader"
        ],
        "include_smart_money_labels": [
          "Fund",
          "Smart Trader"
        ]
      },
      "premium_labels": true,
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "order_by": [
        {
          "field": "dca_created_at",
          "direction": "ASC"
        }
      ]
    }
    {
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "top5_tokens": [
        {
          "realized_pnl": 1,
          "realized_roi": 1,
          "token_address": "text",
          "token_symbol": "text",
          "chain": "text"
        }
      ],
      "traded_token_count": 1,
      "traded_times": 1,
      "realized_pnl_usd": 1,
      "realized_pnl_percent": 1,
      "win_rate": 1
    }
    POST /api/v1/profiler/address/pnl HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 180
    
    {
      "address": "0x39d52da6beec991f075eebe577474fd105c5caec",
      "chain": "ethereum",
      "date": {
        "from": "2025-05-01T00:00:00Z",
        "to": "2025-05-03T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      }
    }
    {
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "data": [
        {
          "token_address": "text",
          "token_symbol": "text",
          "token_price": 1,
          "roi_percent_realised": 1,
          "pnl_usd_realised": 1,
          "pnl_usd_unrealised": 1,
          "roi_percent_unrealised": 1,
          "bought_amount": 1,
          "bought_usd": 1,
          "cost_basis_usd": 1,
          "sold_amount": 1,
          "sold_usd": 1,
          "avg_sold_price_usd": 1,
          "holding_amount": 1,
          "holding_usd": 1,
          "nof_buys": "text",
          "nof_sells": "text",
          "max_balance_held": 1,
          "max_balance_held_usd": 1
        }
      ]
    }
    POST /api/v1/profiler/address/pnl-summary HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 142
    
    {
      "address": "0x39d52da6beec991f075eebe577474fd105c5caec",
      "chain": "ethereum",
      "date": {
        "from": "2025-05-01T00:00:00Z",
        "to": "2025-05-03T23:59:59Z"
      }
    }
    {
      "data": [
        {
          "public_figure_net_flow_usd": 1000000.5,
          "public_figure_avg_flow_usd": 50000.25,
          "public_figure_wallet_count": 10,
          "top_pnl_net_flow_usd": 2000000.75,
          "top_pnl_avg_flow_usd": 100000.5,
          "top_pnl_wallet_count": 15,
          "whale_net_flow_usd": 5000000.25,
          "whale_avg_flow_usd": 250000.75,
          "whale_wallet_count": 25,
          "smart_trader_net_flow_usd": 1500000.5,
          "smart_trader_avg_flow_usd": 75000.25,
          "smart_trader_wallet_count": 20,
          "exchange_net_flow_usd": 3000000.75,
          "exchange_avg_flow_usd": 150000.5,
          "exchange_wallet_count": 5,
          "fresh_wallets_net_flow_usd": 500000.25,
          "fresh_wallets_avg_flow_usd": 25000.75,
          "fresh_wallets_wallet_count": 100
        }
      ],
      "warnings": [
        "text"
      ]
    }
    POST /api/v1/tgm/flow-intelligence HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 141
    
    {
      "chain": "ethereum",
      "token_address": "0x6982508145454ce325ddbe47a25d4ec3d2311933",
      "timeframe": "1d",
      "filters": {
        "whale_wallet_count": {
          "min": 1
        }
      }
    }
    {
      "data": [
        {
          "since_timestamp": "2024-01-15T10:30:00Z",
          "last_timestamp": "2024-01-20T15:45:00Z",
          "trader_address": "7BgBvyjrZX8YKHKbbh3FbXzqKFKWJNJRVdVkgLkFUGG1",
          "creation_hash": "3k2j9h4k5l6m7n8o9p0q1r2s3t4u5v6w7x8y9z0a1b2c3d4e5f6g7h8i9j0k1l2m",
          "trader_label": "High Gas Consumer",
          "dca_vault_address": "8CvgjhGJeKM9xkRBKkwRGF2VchUxJKNDLvSfXBmZ4Pqr",
          "input_mint_address": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
          "output_mint_address": "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv",
          "deposit_amount": 1000,
          "deposit_spent": 250.5,
          "other_token_redeemed": 50.25,
          "status": "Active",
          "token_input": "USDC",
          "token_output": "PEPE",
          "deposit_usd_value": 1000
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/jup-dca HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 194
    
    {
      "token_address": "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv",
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "deposit_amount": {
          "min": 100
        },
        "deposit_usd_value": {
          "min": 1000
        },
        "status": "Closed"
      }
    }
    {
      "data": [
        {
          "trader_address_label": "Smart Money",
          "trader_address": "0x28c6c06298d514db089934071355e5743bf21d60",
          "token_symbol": "BTC",
          "side": "Long",
          "action": "Add",
          "token_amount": 1.5,
          "price_usd": 60000,
          "value_usd": 90000,
          "type": "MARKET",
          "block_timestamp": "2025-10-01T12:40:00Z",
          "transaction_hash": "0x61adb6da30853c5988f0204dd9f6e4abbc878e02c34030a4f707cf4ec3124bcb"
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/perp-trades HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 238
    
    {
      "token_symbol": "BTC",
      "date": {
        "from": "2025-07-07T00:00:00Z",
        "to": "2025-07-14T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "order_type": [
          "MARKET"
        ],
        "side": [
          "Long"
        ]
      },
      "order_by": [
        {
          "field": "block_timestamp",
          "direction": "ASC"
        }
      ]
    }
    POST /api/v1/profiler/address/labels HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 114
    
    {
      "address": "0x4a7c6899cdcb379e284fbfd045462e751da4c7ce",
      "chain": "ethereum",
      "pagination": {
        "page": 1,
        "per_page": 100
      }
    }
    {
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "data": [
        {
          "label": "Token Millionaire",
          "category": "behavioral"
        }
      ]
    }
    {
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "data": [
        {
          "label": "Token Millionaire",
          "category": "behavioral"
        }
      ]
    }
    POST /api/v1/profiler/address/premium-labels HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 114
    
    {
      "address": "0x4a7c6899cdcb379e284fbfd045462e751da4c7ce",
      "chain": "ethereum",
      "pagination": {
        "page": 1,
        "per_page": 100
      }
    }
    {
      "data": [
        {
          "trader_address_label": "text",
          "trader_address": "text",
          "token_symbol": "text",
          "side": "Long",
          "action": "Add",
          "token_amount": 1,
          "price_usd": 1,
          "value_usd": 1,
          "type": "Market",
          "block_timestamp": "text",
          "transaction_hash": "text"
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/smart-money/perp-trades HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 271
    
    {
      "filters": {
        "action": "Buy - Add Long",
        "side": "Long",
        "token_symbol": "BTC",
        "type": "Limit",
        "value_usd": {
          "max": 10000,
          "min": 1000
        }
      },
      "premium_labels": true,
      "only_new_positions": true,
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "order_by": [
        {
          "field": "block_timestamp",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "block_timestamp": "2025-05-01T12:00:00Z",
          "transaction_hash": "0x61adb6da30853c5988f0204dd9f6e4abbc878e02c34030a4f707cf4ec3124bcb",
          "trader_address": "0x28c6c06298d514db089934071355e5743bf21d60",
          "trader_address_label": "High Gas Consumer",
          "action": "BUY",
          "token_address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
          "token_name": "USDC",
          "token_amount": 1000,
          "traded_token_address": "0x6b175474e89094c44da98b954eedeac495271d0f",
          "traded_token_name": "DAI",
          "traded_token_amount": 500,
          "estimated_swap_price_usd": 1,
          "estimated_value_usd": 1500.5
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/dex-trades HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 413
    
    {
      "chain": "solana",
      "token_address": "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv",
      "only_smart_money": false,
      "date": {
        "from": "2025-07-07T00:00:00Z",
        "to": "2025-07-14T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "action": "BUY",
        "estimated_value_usd": {
          "min": 1000
        },
        "include_smart_money_labels": [
          "Whale",
          "Smart Trader"
        ],
        "token_amount": {
          "min": 100
        }
      },
      "order_by": [
        {
          "field": "block_timestamp",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "chain": "text",
          "block_timestamp": "text",
          "transaction_hash": "text",
          "trader_address": "text",
          "trader_address_label": "text",
          "token_bought_address": "text",
          "token_sold_address": "text",
          "token_bought_amount": 1,
          "token_sold_amount": 1,
          "token_bought_symbol": "text",
          "token_sold_symbol": "text",
          "token_bought_age_days": 1,
          "token_sold_age_days": 1,
          "token_bought_market_cap": 1,
          "token_sold_market_cap": 1,
          "token_bought_fdv": 1,
          "token_sold_fdv": 1,
          "trade_value_usd": 1
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/smart-money/dex-trades HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 342
    
    {
      "chains": [
        "ethereum",
        "solana"
      ],
      "filters": {
        "exclude_smart_money_labels": [
          "30D Smart Trader"
        ],
        "include_smart_money_labels": [
          "Fund",
          "Smart Trader"
        ],
        "token_bought_age_days": {
          "max": 30,
          "min": 1
        },
        "trade_value_usd": {
          "max": 10000,
          "min": 1000
        }
      },
      "premium_labels": true,
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "order_by": [
        {
          "field": "chain",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "address": "0x1234567890123456789012345678901234567890",
          "address_label": "Smart Money",
          "side": "Long",
          "position_value_usd": 50000,
          "position_size": 1.5,
          "leverage": "5X",
          "leverage_type": "cross",
          "entry_price": 50000,
          "mark_price": 50500,
          "liquidation_price": 45000,
          "funding_usd": 10.5,
          "upnl_usd": 500
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/perp-positions HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 284
    
    {
      "token_symbol": "BTC",
      "label_type": "all_traders",
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "include_smart_money_labels": [
          "Smart HL Perps Trader",
          "Fund"
        ],
        "position_value_usd": {
          "min": 10000
        },
        "side": [
          "Long"
        ],
        "upnl_usd": {
          "min": 0
        }
      },
      "order_by": [
        {
          "field": "address",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": {
        "name": "Aave",
        "symbol": "AAVE",
        "contract_address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
        "logo": "https://assets.coingecko.com/coins/images/12645/large/AAVE.png",
        "token_details": {
          "token_deployment_date": "2020-11-05T00:00:00Z",
          "website": "https://aave.com",
          "x": "https://x.com/aave",
          "telegram": "https://t.me/Aavesome",
          "market_cap_usd": 4690000000,
          "fdv_usd": 4930000000,
          "circulating_supply": 15230000,
          "total_supply": 16000000
        },
        "spot_metrics": {
          "volume_total_usd": 8850000,
          "buy_volume_usd": 4520000,
          "sell_volume_usd": 4330000,
          "total_buys": 666,
          "total_sells": 499,
          "unique_buyers": 106,
          "unique_sellers": 132,
          "liquidity_usd": 153420000,
          "total_holders": 165299
        }
      }
    }
    POST /api/v1/tgm/token-information HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 98
    
    {
      "chain": "ethereum",
      "token_address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
      "timeframe": "1d"
    }
    {
      "data": [
        {
          "date": "text",
          "price_usd": 1,
          "token_amount": 1,
          "value_usd": 1,
          "holders_count": 1,
          "total_inflows_count": 1,
          "total_outflows_count": 1,
          "total_inflows_dex": 1,
          "total_outflows_dex": 1,
          "total_inflows_cex": 1,
          "total_outflows_cex": 1
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/flows HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 330
    
    {
      "chain": "solana",
      "token_address": "2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv",
      "date": {
        "from": "2025-05-01T00:00:00Z",
        "to": "2025-05-03T23:59:59Z"
      },
      "label": "smart_money",
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "price_usd": {
          "max": 1000,
          "min": 0.01
        },
        "value_usd": {
          "min": 10000
        }
      },
      "order_by": [
        {
          "field": "date",
          "direction": "ASC"
        }
      ]
    }
    {
      "data": [
        {
          "buy_sell_pressure": 5518.4408,
          "buy_volume": 216502.59923,
          "funding": 0.0000125,
          "mark_price": 0.3301,
          "open_interest": 261310.461,
          "previous_price_usd": 0.4155,
          "sell_volume": 210984.15843,
          "token_symbol": "ARK",
          "trader_count": 109,
          "volume": 427486.75766
        },
        {
          "buy_sell_pressure": 25000,
          "buy_volume": 1250000,
          "funding": 0.0001,
          "mark_price": 45000,
          "open_interest": 5000000,
          "previous_price_usd": 44000,
          "sell_volume": 1250000,
          "token_symbol": "BTC",
          "trader_count": 500,
          "volume": 2500000
        },
        {
          "current_smart_money_position_longs_usd": 500000,
          "current_smart_money_position_shorts_usd": -500000,
          "funding": -0.0001,
          "mark_price": 3000,
          "net_position_change": 25000,
          "open_interest": 2000000,
          "previous_price_usd": 2900,
          "smart_money_buy_volume": 75000,
          "smart_money_longs_count": 5,
          "smart_money_sell_volume": 75000,
          "smart_money_shorts_count": 5,
          "smart_money_volume": 150000,
          "token_symbol": "ETH",
          "trader_count": 15
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/perp-screener HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 224
    
    {
      "date": {
        "from": "2025-10-01T00:00:00Z",
        "to": "2025-10-06T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "token_symbol": "BTC",
        "volume": {
          "min": 10000
        }
      },
      "order_by": [
        {
          "direction": "DESC",
          "field": "buy_sell_pressure"
        }
      ]
    }
    {
      "data": [
        {
          "trader_address": "0x28c6c06298d514db089934071355e5743bf21d60",
          "trader_address_label": "๐Ÿฆ Binance 14 [0x28c6c0]",
          "total_pnl": 1250.5,
          "roi": 15.5,
          "account_value": 10000
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/perp-leaderboard HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 228
    
    {
      "date": {
        "from": "2025-10-14",
        "to": "2025-10-15"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "account_value": {
          "min": 10000
        },
        "total_pnl": {
          "min": 1000
        }
      },
      "premium_labels": true,
      "order_by": [
        {
          "field": "total_pnl",
          "direction": "ASC"
        }
      ]
    }
    {
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      },
      "data": [
        {
          "action": "Add",
          "block_number": 756553592,
          "closed_pnl": 0,
          "crossed": true,
          "fee_token_symbol": "USDC",
          "fee_usd": 0.434851,
          "oid": 191284609448,
          "price": 0.25884,
          "side": "Short",
          "size": 6000,
          "start_position": -7788000,
          "timestamp": "2025-10-08T18:46:11.452000",
          "token_symbol": "DOGE",
          "transaction_hash": "0x50cea34e7464d3055248042d1817780203b600340f67f1d7f4974ea13368acef",
          "user": "0x45d26f28196d226497130c4bac709d808fed4029",
          "value_usd": 1553.04
        },
        {
          "action": "Open",
          "block_number": 756553593,
          "closed_pnl": 0,
          "crossed": false,
          "fee_token_symbol": "USDC",
          "fee_usd": 2.25,
          "oid": 191284609449,
          "price": 45000,
          "side": "Long",
          "size": 0.1,
          "start_position": 0,
          "timestamp": "2025-10-08T15:30:22.123000",
          "token_symbol": "BTC",
          "transaction_hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
          "user": "0x45d26f28196d226497130c4bac709d808fed4029",
          "value_usd": 4500
        },
        {
          "action": "Close",
          "block_number": 756553594,
          "closed_pnl": 150,
          "crossed": true,
          "fee_token_symbol": "USDC",
          "fee_usd": 2.25,
          "oid": 191284609450,
          "price": 3000,
          "side": "Long",
          "size": 1.5,
          "start_position": 1000,
          "timestamp": "2025-10-08T12:15:33.789000",
          "token_symbol": "ETH",
          "transaction_hash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890",
          "user": "0x45d26f28196d226497130c4bac709d808fed4029",
          "value_usd": 4500
        }
      ]
    }
    POST /api/v1/profiler/perp-trades HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 259
    
    {
      "address": "0x45d26f28196d226497130c4bac709d808fed4029",
      "date": {
        "from": "2025-10-01T00:00:00Z",
        "to": "2025-10-10T23:59:59Z"
      },
      "filters": {
        "size": {
          "max": 1000,
          "min": 0.001
        }
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "order_by": [
        {
          "direction": "DESC",
          "field": "timestamp"
        }
      ]
    }
    {
      "data": {
        "asset_positions": [
          {
            "position": {
              "cumulative_funding_all_time_usd": "-623.219722",
              "cumulative_funding_since_change_usd": "-618.925976",
              "cumulative_funding_since_open_usd": "-623.219722",
              "entry_price_usd": "0.43499",
              "leverage_type": "cross",
              "leverage_value": 3,
              "liquidation_price_usd": "66.817537196",
              "margin_used_usd": "1743.87343",
              "max_leverage_value": 3,
              "position_value_usd": "5231.62029",
              "return_on_equity": "2.2836393396",
              "size": "-50367.0",
              "token_symbol": "STBL",
              "unrealized_pnl_usd": "16677.54047"
            },
            "position_type": "oneWay"
          },
          {
            "position": {
              "cumulative_funding_all_time_usd": "200.361581",
              "cumulative_funding_since_change_usd": "201.157877",
              "cumulative_funding_since_open_usd": "200.361581",
              "entry_price_usd": "0.311285",
              "leverage_type": "cross",
              "leverage_value": 5,
              "liquidation_price_usd": "39.6872752647",
              "margin_used_usd": "2020.946984",
              "max_leverage_value": 5,
              "position_value_usd": "10104.73492",
              "return_on_equity": "3.1976362269",
              "size": "-90052.0",
              "token_symbol": "MOODENG",
              "unrealized_pnl_usd": "17927.1615"
            },
            "position_type": "oneWay"
          }
        ],
        "cross_maintenance_margin_used_usd": "722948.2832910001",
        "cross_margin_summary_account_value_usd": "4643143.4382309997",
        "cross_margin_summary_total_margin_used_usd": "1456365.231985",
        "cross_margin_summary_total_net_liquidation_position_on_usd": "13339928.690684",
        "cross_margin_summary_total_raw_usd": "13987445.0243870001",
        "margin_summary_account_value_usd": "4643143.4382309997",
        "margin_summary_total_margin_used_usd": "1456365.231985",
        "margin_summary_total_net_liquidation_position_usd": "13339928.690684",
        "margin_summary_total_raw_usd": "13987445.0243870001",
        "timestamp": 1761283435707,
        "withdrawable_usd": "2933647.2403759998"
      }
    }
    POST /api/v1/profiler/perp-positions HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 196
    
    {
      "address": "0xa312114b5795dff9b8db50474dd57701aa78ad1e",
      "filters": {
        "position_value_usd": {
          "min": 1000
        },
        "unrealized_pnl_usd": {
          "max": 0
        }
      },
      "order_by": [
        {
          "direction": "DESC",
          "field": "position_value_usd"
        }
      ]
    }
    {
      "data": [
        {
          "chain": "text",
          "token_address": "text",
          "token_symbol": "text",
          "token_age_days": 1,
          "market_cap_usd": 1,
          "liquidity": 1,
          "price_usd": 1,
          "price_change": 1,
          "fdv": 1,
          "fdv_mc_ratio": 1,
          "buy_volume": 1,
          "inflow_fdv_ratio": 1,
          "outflow_fdv_ratio": 1,
          "sell_volume": 1,
          "volume": 1,
          "netflow": 1
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/token-screener HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 217
    
    {
      "chains": [
        "ethereum",
        "solana",
        "base"
      ],
      "timeframe": "24h",
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "only_smart_money": true,
        "token_age_days": {
          "max": 365,
          "min": 1
        }
      },
      "order_by": [
        {
          "field": "chain",
          "direction": "ASC"
        }
      ]
    }
    {
      "summary": {
        "total_value_usd": 1,
        "total_assets_usd": 1,
        "total_debts_usd": 1,
        "total_rewards_usd": 1,
        "token_count": 1,
        "protocol_count": 1
      },
      "protocols": [
        {
          "protocol_name": "text",
          "chain": "text",
          "total_value_usd": 1,
          "total_assets_usd": 1,
          "total_debts_usd": 1,
          "total_rewards_usd": 1,
          "tokens": [
            {
              "address": "text",
              "symbol": "text",
              "amount": 1,
              "value_usd": 1,
              "position_type": "text"
            }
          ]
        }
      ]
    }
    POST /api/v1/portfolio/defi-holdings HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 63
    
    {
      "wallet_address": "0x4062b997279de7213731dbe00485722a26718892"
    }
    {
      "data": [
        {
          "trader_address": "0x28c6c06298d514db089934071355e5743bf21d60",
          "trader_address_label": "๐Ÿฆ Binance 14 [0x28c6c0]",
          "price_usd": 1.23,
          "pnl_usd_realised": 1250.5,
          "pnl_usd_unrealised": 100.25,
          "holding_amount": 5000,
          "position_value_usd": 6000,
          "max_balance_held": 10000,
          "max_balance_held_usd": 12000,
          "still_holding_balance_ratio": 0.5,
          "netflow_amount_usd": 2500.75,
          "netflow_amount": 1500,
          "roi_percent_total": 15.5,
          "roi_percent_realised": 12.3,
          "roi_percent_unrealised": 3.2,
          "pnl_usd_total": 1350.75,
          "nof_trades": 25
        }
      ],
      "pagination": {
        "page": 1,
        "per_page": 10,
        "is_last_page": true
      }
    }
    POST /api/v1/tgm/perp-pnl-leaderboard HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 287
    
    {
      "token_symbol": "BTC",
      "date": {
        "from": "2025-10-14T00:00:00Z",
        "to": "2025-10-15T23:59:59Z"
      },
      "pagination": {
        "page": 1,
        "per_page": 10
      },
      "filters": {
        "pnl_usd_realised": {
          "min": 1000
        },
        "position_value_usd": {
          "min": 1000
        }
      },
      "premium_labels": true,
      "order_by": [
        {
          "field": "pnl_usd_realised",
          "direction": "ASC"
        }
      ]
    }

    Nansen Indicators

    hashtag
    Get Nansen Score Indicators

    post

    Get risk and reward indicators for a specific token.

    Returns two groups of indicators:

    • risk_indicators: Metrics for assessing token risk (btc-reflexivity, liquidity-risk, concentration-risk, token-supply-inflation)

    • reward_indicators: Metrics for assessing alpha potential (chain-tvl, trading-range, price-momentum, chain-fees, protocol-fees, cex-flows, funding-rate)

    Each indicator includes:

    • score: Summary assessment ('low'/'medium'/'high' for risk, 'bearish'/'neutral'/'bullish' for reward)

    • signal: Raw metric value

    • signal_percentile: Percentile rank (0-100) vs tokens in same market cap group

    Authorizations
    apiKeystringRequired

    API key for authentication

    Body

    Request model for TGM Indicators endpoint.

    This endpoint provides risk and reward indicators for a specific token.

    chainstring ยท enumRequired

    Blockchain chain

    Example: ethereumPossible values:
    token_addressstringRequired

    Token contract address

    Example: 0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9
    Responses
    chevron-right
    200

    Nansen score indicators data

    application/json
    X-Nansen-Credits-UsedstringOptional

    Number of credits consumed by this API request

    Example: 5
    X-Nansen-Credits-RemainingstringOptional

    Total credits remaining in the user's account after this request

    Example: 9995
    RateLimit-LimitstringOptional

    Combined rate limit across all configured time windows

    Example: 20
    RateLimit-RemainingstringOptional

    Number of requests remaining in the current limiting window

    Example: 15
    RateLimit-ResetstringOptional

    Time in seconds until the rate limit window resets

    Example: 30
    X-RateLimit-Limit-SecondstringOptional

    Maximum requests allowed per second

    Example: 20
    X-RateLimit-Remaining-SecondstringOptional

    Requests remaining in the current second

    Example: 19
    X-RateLimit-Limit-MinutestringOptional

    Maximum requests allowed per minute

    Example: 300
    X-RateLimit-Remaining-MinutestringOptional

    Requests remaining in the current minute

    Example: 295
    token_addressstringRequired

    Token contract address

    Example: 0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9
    chainstringRequired

    Blockchain chain

    Example: ethereum
    market_cap_usdany ofOptional

    Market capitalization in USD

    Example: 1500000000
    numberOptional
    market_cap_groupany ofOptional

    Market cap classification group

    Example: largecap
    stringOptional
    is_stablecoinany ofOptional

    Flag indicating if token is a stablecoin

    booleanOptional
    indicator_typestringRequired

    The type of indicator

    Example: btc-reflexivity
    scoreany ofOptional

    Summary score (risk: low/medium/high, reward: bearish/neutral/bullish)

    Example: bullish
    stringOptional
    signalany ofOptional

    The raw signal value for the indicator

    Example: 0.75
    numberOptional
    signal_percentileany ofOptional

    Percentile of the signal against tokens in the same market cap group (0-100)

    Example: 85.5
    numberOptional
    last_trigger_onany ofOptional

    Date when the indicator last changed state (YYYY-MM-DD)

    Example: 2025-01-15
    stringOptional
    indicator_typestringRequired

    The type of indicator

    Example: btc-reflexivity
    scoreany ofOptional

    Summary score (risk: low/medium/high, reward: bearish/neutral/bullish)

    Example: bullish
    stringOptional
    signalany ofOptional

    The raw signal value for the indicator

    Example: 0.75
    numberOptional
    signal_percentileany ofOptional

    Percentile of the signal against tokens in the same market cap group (0-100)

    Example: 85.5
    numberOptional
    last_trigger_onany ofOptional

    Date when the indicator last changed state (YYYY-MM-DD)

    Example: 2025-01-15
    stringOptional
    chevron-right
    400

    Bad Request

    application/json
    chevron-right
    401

    Unauthorized

    application/json
    detailstringOptionalExample: No API key found in request
    chevron-right
    402

    Payment Required

    application/json
    chevron-right
    403

    Forbidden

    application/json
    chevron-right
    404

    Not Found

    application/json
    chevron-right
    422

    Unprocessable Content

    application/json
    locstring[]Optional
    msgstringOptional
    typestringOptional
    chevron-right
    429

    Too Many Requests

    application/json
    chevron-right
    500

    Internal Server Error

    application/json
    post
    /api/v1/tgm/indicators
    last_trigger_on: When the indicator last changed state
    POST /api/v1/tgm/indicators HTTP/1.1
    Host: api.nansen.ai
    apiKey: YOUR_API_KEY
    Content-Type: application/json
    Accept: */*
    Content-Length: 81
    
    {
      "chain": "ethereum",
      "token_address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9"
    }
    {
      "token_address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9",
      "chain": "ethereum",
      "token_info": {
        "market_cap_usd": 1500000000,
        "market_cap_group": "largecap",
        "is_stablecoin": false
      },
      "risk_indicators": [
        {
          "indicator_type": "btc-reflexivity",
          "score": "bullish",
          "signal": 0.75,
          "signal_percentile": 85.5,
          "last_trigger_on": "2025-01-15"
        }
      ],
      "reward_indicators": [
        {
          "indicator_type": "btc-reflexivity",
          "score": "bullish",
          "signal": 0.75,
          "signal_percentile": 85.5,
          "last_trigger_on": "2025-01-15"
        }
      ]
    }