Nansen API
  • ✨Introduction
  • 📌Endpoints Overview
  • 🔴Rate Limits and Quotas
  • Getting Started
    • ☑️Prerequisites
    • 🌐API Structure & Base URL
    • 🔓Authentication
    • 🟢Understanding Responses and Handling Errors
    • ⛓️Chain Coverage
  • API
    • Smart Money
    • Profiler
      • Balances
      • Transactions
      • Counterparties
      • Trade Performance
      • Labels
    • Token God Mode
      • Token Overview
      • Transactions
      • Holders
      • Exchanges
      • PnL Leaderboard
  • Other Endpoints
  • Guides
    • 💻Endpoint Showcase
    • 🙋Frequently Asked Questions
  • 🔗Useful Links
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. API

Smart Money

PreviousChain CoverageNextProfiler

Last updated 3 days ago

Was this helpful?

  • POSTsmart-money/inflows
  • POSTsmart-money/holdings
  • POSTsmart-money/dex-trades
  • POSTsmart-money/dcas

smart-money/inflows

post

This endpoint provides net flow of tokens being traded the most by Smart Money addresses.

Parameters

Parameter
Type
Description

sm_filter

Array(String)

Comma separated list of Smart Money labels.

chains

Array(String)

Comma separated list of chains.

include_stablecoin

Boolean

Whether to include stablecoins or not

include_native_tokens

Boolean

Whether to include native tokens/derivates or not

Body
Responses
200
Successful response
application/json
400
Bad request
application/json
401
Authentication error
application/json
403
Forbidden - Subscription tier required
application/json
500
Internal server error
application/json
post
POST /api/beta/smart-money/inflows HTTP/1.1
Host: api.nansen.ai
Content-Type: application/json
Accept: */*
Content-Length: 216

{
  "parameters": {
    "smFilter": [
      "180D Smart Trader",
      "Fund",
      "Smart Trader"
    ],
    "chains": [
      "ethereum",
      "solana"
    ],
    "includeStablecoin": true,
    "includeNativeTokens": true,
    "excludeSmFilter": [
      "180D Smart Trader",
      "Fund",
      "Smart Trader"
    ]
  }
}
[
  {
    "tokenAddress": "text",
    "symbol": "text",
    "logoUrl": "text",
    "sectors": "text",
    "netFlowUsd24H": "text",
    "netFlowUsd7D": "text",
    "netFlowUsd30D": "text",
    "nofTraders": "text"
  }
]

smart-money/holdings

post

This endpoint provides the tokens that are being held the most by Smart Money.

Parameters

Parameter
Type
Description

sm_filter

Array(String)

Comma separated list of Smart Money labels.

chains

Array(String)

Comma separated list of chains.

include_stablecoin

Boolean

Whether to include stablecoins or not

include_native_tokens

Boolean

Whether to include native tokens/derivates or not

Body
Responses
200
Successful response
application/json
400
Bad request
application/json
401
Authentication error
application/json
403
Forbidden - Subscription tier required
application/json
500
Internal server error
application/json
post
POST /api/beta/smart-money/holdings HTTP/1.1
Host: api.nansen.ai
Content-Type: application/json
Accept: */*
Content-Length: 216

{
  "parameters": {
    "smFilter": [
      "180D Smart Trader",
      "Fund",
      "Smart Trader"
    ],
    "chains": [
      "ethereum",
      "solana"
    ],
    "includeStablecoin": true,
    "includeNativeTokens": true,
    "excludeSmFilter": [
      "180D Smart Trader",
      "Fund",
      "Smart Trader"
    ]
  }
}
[
  {
    "tokenAddress": "text",
    "symbol": "text",
    "logoUrl": "text",
    "sectors": "text",
    "balanceUsd": "text",
    "balancePctChange24H": "text",
    "nofHolders": "text",
    "shareOfHoldings": "text"
  }
]

smart-money/dex-trades

post

This endpoint includes dex trades of smart money in the last 24 hours.

Parameters

Parameter
Type
Description

sm_filter

Array(String)

Comma separated list of Smart Money labels.

chains

Array(String)

Comma separated list of chains.

Body
Responses
200
Successful response
application/json
400
Bad request
application/json
401
Authentication error
application/json
403
Forbidden - Subscription tier required
application/json
500
Internal server error
application/json
post
POST /api/beta/smart-money/dex-trades HTTP/1.1
Host: api.nansen.ai
Content-Type: application/json
Accept: */*
Content-Length: 164

{
  "parameters": {
    "chains": [
      "ethereum",
      "solana"
    ],
    "smFilter": [
      "180D Smart Trader",
      "Fund",
      "Smart Trader"
    ],
    "excludeSmFilter": [
      "180D Smart Trader",
      "Fund",
      "Smart Trader"
    ]
  }
}
[
  {
    "chain": "text",
    "blockTimestamp": "text",
    "transactionHashHex": "text",
    "traderAddressHex": "text",
    "traderName": "text",
    "tokenBoughtAddressHex": "text",
    "tokenSoldAddressHex": "text",
    "tokenBoughtAmount": "text",
    "tokenSoldAmount": "text",
    "tokenBoughtSymbol": "text",
    "tokenSoldSymbol": "text",
    "tokenBoughtLogo": "text",
    "tokenSoldLogo": "text",
    "tokenBoughtAgeDays": "text",
    "tokenSoldAgeDays": "text",
    "tokenBoughtMarketCap": "text",
    "tokenSoldMarketCap": "text",
    "tradeValueInUsd": "text"
  }
]

smart-money/dcas

post

List of DCA orders created from Smart Money through Jupiter.

Body
Responses
200
Successful response
application/json
400
Bad request
application/json
401
Authentication error
application/json
403
Forbidden - Subscription tier required
application/json
500
Internal server error
application/json
post
POST /api/beta/smart-money/dcas HTTP/1.1
Host: api.nansen.ai
Content-Type: application/json
Accept: */*
Content-Length: 211

{
  "parameters": {
    "chain": "solana",
    "smFilter": [
      "180D Smart Trader",
      "Fund",
      "Smart Trader"
    ],
    "excludeSmFilter": [
      "180D Smart Trader",
      "Fund",
      "Smart Trader"
    ],
    "tokenAddress": "So11111111111111111111111111111111111111112"
  }
}
[
  {
    "sinceTimestamp": "text",
    "lastTimestamp": "text",
    "traderAddress": "text",
    "creationHash": "text",
    "traderLabel": "text",
    "dcaVaultAddress": "text",
    "inputMintAddress": "text",
    "outputMintAddress": "text",
    "depositAmount": "text",
    "depositSpent": "text",
    "otherTokenRedeemed": "text",
    "closed": "text",
    "tokenInput": "text",
    "tokenOutput": "text",
    "depositUsdValue": "text"
  }
]