Saturday, January 17, 2026
Catatonic Times
No Result
View All Result
  • Home
  • Crypto Updates
  • Bitcoin
  • Ethereum
  • Altcoin
  • Blockchain
  • NFT
  • Regulations
  • Analysis
  • Web3
  • More
    • Metaverse
    • Crypto Exchanges
    • DeFi
    • Scam Alert
  • Home
  • Crypto Updates
  • Bitcoin
  • Ethereum
  • Altcoin
  • Blockchain
  • NFT
  • Regulations
  • Analysis
  • Web3
  • More
    • Metaverse
    • Crypto Exchanges
    • DeFi
    • Scam Alert
No Result
View All Result
Catatonic Times
No Result
View All Result

Full Tutorial: How to Get Solana Token Holders

by Catatonic Times
July 17, 2025
in Web3
Reading Time: 13 mins read
0 0
A A
0
Home Web3
Share on FacebookShare on Twitter


Do you know you will get Solana token holders with only a few traces of code? Enter Moralis Solana Token API – the best choice for fetching and integrating token-related information into Web3 initiatives! 

Are you keen to leap straight into the code? Try the instance script under, highlighting how straightforward it’s to get Solana token holders when utilizing Moralis: 

import fetch from “node-fetch”;

const choices = {
methodology: “GET”,
headers: {
settle for: “utility/json”,
“X-API-Key”: “YOUR_API_KEY”,
},
};

fetch(
“https://solana-gateway.moralis.io/token/mainnet/holders/6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN”,
choices
)
.then((response) => response.json())
.then((response) => console.log(response))
.catch((err) => console.error(err));

Merely add your API key, change the deal with to match the token of your selection, and run the code. In return, you’ll get holder stats – together with adjustments in holder rely, acquisition information, and distribution insights – all with one single API name. Right here’s what it seems like: 

{
totalHolders: 647008,
holdersByAcquisition: { swap: 473654, switch: 158202, airdrop: 15152 },
holderChange: {
‘5min’: { change: 1, changePercent: 0.00015 },
‘1h’: { change: 0, changePercent: 0 },
‘6h’: { change: -5, changePercent: -0.00077 },
’24h’: { change: -91, changePercent: -0.014 },
‘3d’: { change: 17, changePercent: 0.0026 },
‘7d’: { change: -786, changePercent: -0.12 },
’30d’: { change: -66419, changePercent: -10 }
},
holderDistribution: {
whales: 2,
sharks: 0,
dolphins: 4,
fish: 5,
octopus: 16,
crabs: 54,
shrimps: 646927
}
}

That’s it; it shouldn’t be more difficult than this to get Solana token holders! 

For a extra in-depth tutorial and additional details about Moralis, be a part of us in immediately’s information as we dive deeper into this subject, or take a look at the YouTube video proper right here:

Additionally, if you wish to check out the API instantly, click on the button under to join a free Moralis for Devs account!

Overview

Information about holders can reveal a variety of details about a token. For instance, how is the provision distributed? What’s the general market sentiment? How did holders get their tokens? And so forth. As such, should you’re constructing crypto initiatives, you possibly can combine this information into your platform to spice up each person engagement and worth.

However what’s one of the best ways to get Solana token holders?

The Moralis Solana Token API is the last word software for anybody seeking to fetch token information, together with in-depth holder insights. However what precisely is that this premier software? And how are you going to use the API to get Solana token holders?

For the solutions to those questions, observe alongside in immediately’s information as we lay all of it out for you. Let’s dive straight in!

What’s Moralis for Devs?

Moralis for Devs is a number one crypto information supplier, supplying you with entry to world-class APIs and next-generation RPC nodes – multi function place. With single endpoints, you will get token holder information, decoded pockets historical past, detailed portfolio insights, and rather more, so you possibly can construct Web3 initiatives quicker and extra effectively.

However what makes Moralis the #1 crypto information supplier? 

Extra Information. Fewer Calls: All APIs and RPC strategies are designed with the lead to thoughts, supplying you with rather more information with fewer calls. As an example, get in-depth token holder stats – together with adjustments over time, provide distribution, and holder acquisition information – all with only one endpoint.   

Cross-Chain Help: Moralis affords multi-chain help, supplying you with full function parity spanning all main networks, together with Solana, Ethereum, BNB Sensible Chain (BSC), Optimism, and many others. 

World-Class Safety & Reliability: With a SOC 2 Kind 2 certificates, Moralis delivers enterprise-grade safety and reliability throughout all instruments and options. 

Total, Moralis provides you entry to the trade’s most complete, dependable, and safe Web3 improvement instruments, permitting you to construct cross-chain suitable Web3 initiatives with out breaking a sweat. 

Introducing the Solana Token API – The Best Option to Get Solana Token Holders

The perfect and best strategy to get Solana token holders is to leverage the Moralis Solana Token API. However what precisely is that this interface? And what makes it the most suitable choice for querying token information? 

Moralis Solana API

The Token API is a number one interface for querying and integrating token-related information into Web3 purposes. With single endpoints, you need to use this interface to get Solana token holders, metadata, swaps, quantity stats, snipers, and extra. As such, it’s a world-class API for anybody seeking to construct portfolio trackers, token analytics instruments, and comparable platforms. 

Right here’s what you possibly can fetch utilizing the Token API: 

Holder Stats: Question holder stats, together with adjustments in holder rely, acquisition insights, and distribution information. 

Swaps: Entry the total historical past of any pockets, enriched with transaction sorts, class tags, costs, and extra. 

Metadata: Get token metadata, together with logos, provide information, hyperlinks, and different very important insights.

Costs: Question the worth of any token denominated in each the chain’s native forex and USD.

Pairs: Fetch all supported pairs for a particular token. 

Pockets Balances: Question the token balances of any pockets. 

Trending Tokens: Get trending tokens for any chain. 

… and rather more! 

All in all, the Token API is the last word software for fetching and 

Full Tutorial: Get Solana Token Holders in 3 Steps

With an summary of the Token API, let’s take a better take a look at how one can get Solana token holders in three easy steps: 

Get a Moralis API Key

Write a Script Calling the Token Holder Stats Endpoint

Run the Script & Combine the Information

However earlier than we kick issues off, you’ll want to deal with a few conditions! 

Stipulations

Be sure you have the next put in earlier than persevering with: 

Step 1: Get a Moralis API Key

To make use of the Token API, you want an API key from Moralis. As such, the very first thing you’ll want to do – should you haven’t already – is to click on the ”Begin for Free” button on the prime proper and register an account: 

Red arrow pointing at "Start for Free" button on Moralis for Devs.

When you log in, you’ll discover your API key immediately below the ”Residence” tab: 

Red arrow pointing at copy button for API key.

Maintain the important thing for now, as you’ll want it within the subsequent part. 

Step 2: Write a Script Calling the Token Holder Stats Endpoint

Open a folder along with your most well-liked IDE, launch a brand new terminal, and initialize a Node.js challenge with this command: 

npm init

Set up the next dependencies: 

npm set up node-fetch –save
npm set up moralis @moralisweb3/common-evm-utils

Open the ”bundle.json” file and add ”sort”: ”module” to the listing: 

type: module highlighted in code editor.

Arrange a brand new ”index.js” file and add the next script for fetching Solana token holders:

import fetch from “node-fetch”;

const choices = {
methodology: “GET”,
headers: {
settle for: “utility/json”,
“X-API-Key”: “YOUR_API_KEY”,
},
};

fetch(
“https://solana-gateway.moralis.io/token/mainnet/holders/9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump”,
choices
)
.then((response) => response.json())
.then((response) => console.log(response))
.catch((err) => console.error(err));

Exchange YOUR_API_KEY with the important thing you fetched throughout step one and alter the token deal with to suit your preferences:

Red arrows pointing at YOUR_API_KEY and token address.

Step 3: Run the Script & Interpret the Information

Once you’re blissful along with your script, run it with the next terminal command: 

node index.js

In return, you’ll get a response that appears one thing like this: 

{
totalHolders: 125339,
holdersByAcquisition: { swap: 93138, switch: 29156, airdrop: 3045 },
holderChange: {
‘5min’: { change: 8, changePercent: 0.0064 },
‘1h’: { change: 30, changePercent: 0.024 },
‘6h’: { change: 35, changePercent: 0.028 },
’24h’: { change: 1314, changePercent: 1 },
‘3d’: { change: 4319, changePercent: 3.4 },
‘7d’: { change: 7053, changePercent: 5.6 },
’30d’: { change: 9081, changePercent: 7.2 }
},
holderDistribution: {
whales: 0,
sharks: 0,
dolphins: 11,
fish: 57,
octopus: 227,
crabs: 886,
shrimps: 124158
}
}

Let’s break down the information factors under: 

totalHolders: The whole variety of token holders.

holdersByAcquisition: A breakdown of how holders acquired their tokens, whether or not it’s through swaps, transfers, or airdrops.

holderChange: Adjustments in holder rely over varied timeframes, from as little as 5 minutes to so long as 30 days.

holderDistribution: Holder distribution by pockets measurement class. Classes embrace whales, sharks, dolphins, fish, octopus, crabs, and shrimps. 

That’s it; with the Token API, you will get Solana token holders with out breaking a sweat. Try the token holder stats documentation to study extra about this premier endpoint.

What Can You Construct with Information on Solana Token Holders?

There are a variety of helpful issues you possibly can construct with the information you get while you fetch Solana token holders. Listed below are some distinguished examples from Moralis.com:

Holder Developments: Present your customers how the holder rely has been growing or reducing over varied time durations. Right here’s an instance of what it would seem like:

Holder trends example.

Pockets Distribution: Give merchants and buyers perception into how holders are distributed between addresses. This may help customers establish potential focus dangers and different comparable points. Try the instance under:

Holder distribution example.

Holder Acquisition: Present perception into how present holders acquired their tokens, whether or not it’s through swaps, airdrops, or transfers. Right here’s an instance of what the function can seem like:

Holder acquisition example.

And one of the best half? You’ll be able to construct these three options with only one single endpoint! 

Construct & Combine Token Holder Charts

Along with fetching Solana token holders, you may as well construct and combine token holder charts when working with Moralis. Let’s take a better take a look at how this works in two separate sections, beginning with how one can create your personal charts from scratch. 

Construct a Token Holder Chart

The best strategy to construct a token holder chart is to make use of the Solana Token API to get historic holder statistics for a particular token. Right here’s an instance exhibiting the Historic Token Holders endpoint in motion: 

import fetch from “node-fetch”;

const choices = {
methodology: “GET”,
headers: {
settle for: “utility/json”,
“X-API-Key”: “YOUR_API_KEY”,
},
};

fetch(
“https://solana-gateway.moralis.io/token/mainnet/holders/6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN/historic?fromDate=2025-01-01T10percent3A00percent3A00&toDate=2025-02-01T11percent3A00percent3A00&timeFrame=1d&restrict=100”,
choices
)
.then((response) => response.json())
.then((response) => console.log(response))
.catch((err) => console.error(err));

In return for calling the endpoint above, you’ll get the historic holder statistics for the desired timeframe. Right here’s a pattern response: 

{
“consequence”: [
{
“timestamp”: “2025-02-01T00:00:00.000Z”,
“totalHolders”: 666573,
“netHolderChange”: -10384,
“holderPercentChange”: -1.6,
“newHoldersByAcquisition”: {
“swap”: 6746,
“transfer”: 5696,
“airdrop”: 529
},
“holdersIn”: {
“whales”: 0,
“sharks”: 0,
“dolphins”: 0,
“fish”: 0,
“octopus”: 0,
“crab”: 32,
“shrimps”: 12939
},
“holdersOut”: {
“whales”: 0,
“sharks”: 0,
“dolphins”: 0,
“fish”: 0,
“octopus”: 3,
“crab”: 36,
“shrimps”: 23316
}
},
//…
],
“web page”: 1
}

With the information supplied by the API, you possibly can effortlessly construct your personal token holder chart. Right here’s an instance of what it would seem like: 

Token holder chart example.

To study extra about this, take a look at the get historic token holders documentation web page.

Combine Token Holder Charts

An alternative choice is to combine a token holder chart utilizing Moralis’ Token Web page Widget. Right here’s what it seems like:

Token page widget example.

The widget above reveals the web page of a token, and it incorporates a worth chart, holder chart, holder insights, and rather more. 

Right here’s a fast three-step breakdown of how one can add a token web page to your web site, utility, or different crypto-related platforms: 

Token page widget page.

Step 2 – Scroll all the way down to the ”Configuration” part, choose a series, add the token deal with of your selection, and click on ”Apply”: 

Configuration section highlighted.

Step 3 – Copy and combine the code into your challenge: 

Red arrow pointing at Copy Code button.

That’s it. Including a token holder chart – together with different key insights that can hold your customers engaged – doesn’t need to be more difficult than this! 

Past Fetching Solana Token Holders – Different APIs & Options

The Solana Token API solely scratches the floor of the Moralis Web3 API suite. As such, let’s introduce three further interfaces you’ll possible discover useful when constructing Web3 initiatives: 

Pockets API: The Pockets API is the last word software for integrating wallet-related information into Web3 apps. It lets you entry a pockets’s full historical past, token holdings, profitability, and rather more with out breaking a sweat. As such, this is a wonderful interface for anybody seeking to construct wallets, portfolio trackers, and different comparable platforms. 

NFT API: The NFT API helps all types of tokens on the Solana community and different EVM chains, together with compressed NFTs (cNFTs), semi-fungible tokens (SFTs), and many others. With this interface, you possibly can effortlessly fetch NFT balances and up-to-date metadata with single traces of code. Use this API to combine information into your NFT market, tokenization software, NFT-Fi platforms, and different NFT-related initiatives. 

Value API: The Value API is a go-to interface for real-time and historic worth information. It empowers you to seamlessly fetch DEX costs, in-depth buying and selling information, and OHLCV insights for any token. Leverage this interface to complement your analytics platform with correct worth information, construct interactive worth charts, and rather more.  

To study extra about all Solana-compatible instruments, take a look at Moralis’ Solana API web page!

Abstract: Get Solana Token Holders

Giving your customers perception into holders may help increase engagement and person worth on your crypto challenge. However how do you truly get Solana token holders? Enter Moralis – the trade’s #1 crypto information supplier! 

Moralis is a world-class crypto information supplier that gives complete, safe, and cross-chain suitable Web3 APIs and RPC nodes. With simply single calls, you need to use these instruments to fetch holder information, in-depth portfolio insights, totally decoded pockets exercise, and rather more. As such, when working with Moralis, you possibly can streamline the method of integrating crypto information into your initiatives with out breaking a sweat. 

With the Solana Token API, now you can get Solana token holder stats – together with provide distribution insights, adjustments in holder rely, and acquisition information – with only one single endpoint. Right here’s an instance of what it would seem like:

import fetch from “node-fetch”;

const choices = {
methodology: “GET”,
headers: {
settle for: “utility/json”,
“X-API-Key”: “YOUR_API_KEY”,
},
};

fetch(
“https://solana-gateway.moralis.io/token/mainnet/holders/2zMMhcVQEXDtdE6vsFS7S7D5oUodfJHE8vd1gnBouauv”,
choices
)
.then((response) => response.json())
.then((response) => console.log(response))
.catch((err) => console.error(err));

In return for operating the script above, you’ll get a response that appears like this: 

{
totalHolders: 517517,
holdersByAcquisition: { swap: 138323, switch: 153296, airdrop: 225898 },
holderChange: {
‘5min’: { change: 1, changePercent: 0.00019 },
‘1h’: { change: 5, changePercent: 0.00097 },
‘6h’: { change: 16, changePercent: 0.0031 },
’24h’: { change: -226, changePercent: -0.044 },
‘3d’: { change: -987, changePercent: -0.19 },
‘7d’: { change: -2036, changePercent: -0.39 },
’30d’: { change: -54675, changePercent: -11 }
},
holderDistribution: {
whales: 1,
sharks: 1,
dolphins: 11,
fish: 11,
octopus: 23,
crabs: 225,
shrimps: 517245
}
}

With this information, you possibly can construct highly effective options that give your customers perception into holder information, permitting them to grasp market sentiment, establish potential provide focus dangers, and rather more! 

So, should you’re in search of a straightforward strategy to get Solana token holders, join a free Moralis account immediately! 

Additionally, should you discovered this tutorial fascinating, think about trying out extra premier content material right here on the weblog. For instance, discover our Raydium API piece or learn to get pump.enjoyable token information with our Pump Enjoyable API. 



Source link

Tags: FullHoldersSolanatokenTutorial
Previous Post

AMD Breaks Out – eToro

Next Post

Trump’s Pro-Crypto Shift Sparked US Deal Surge

Related Posts

DTCC ‘Not Building Walled Gardens’ for Tokenization, Says Digital Assets Head
Web3

DTCC ‘Not Building Walled Gardens’ for Tokenization, Says Digital Assets Head

January 17, 2026
Policy Forces Reshape Bitcoin Trading as Four-Year Cycle Weakens
Web3

Policy Forces Reshape Bitcoin Trading as Four-Year Cycle Weakens

January 16, 2026
Senate Banking Committee Delays Markup of Key Crypto Bill as Industry Support Frays
Web3

Senate Banking Committee Delays Markup of Key Crypto Bill as Industry Support Frays

January 15, 2026
Why Ethereum Could Be Ready to Outperform Bitcoin in 2026
Web3

Why Ethereum Could Be Ready to Outperform Bitcoin in 2026

January 14, 2026
Another Day, Another Crypto Wrench Attack in France
Web3

Another Day, Another Crypto Wrench Attack in France

January 13, 2026
Two major crypto events canceled after city hit by 18 violent physical attacks on crypto holders amid market downturn
Web3

Two major crypto events canceled after city hit by 18 violent physical attacks on crypto holders amid market downturn

January 12, 2026
Next Post
Trump’s Pro-Crypto Shift Sparked US Deal Surge

Trump's Pro-Crypto Shift Sparked US Deal Surge

Kentucky Passes Bitcoin and Ethereum Self-Custody Law

Kentucky Passes Bitcoin and Ethereum Self-Custody Law

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Catatonic Times

Stay ahead in the cryptocurrency world with Catatonic Times. Get real-time updates, expert analyses, and in-depth blockchain news tailored for investors, enthusiasts, and innovators.

Categories

  • Altcoin
  • Analysis
  • Bitcoin
  • Blockchain
  • Crypto Exchanges
  • Crypto Updates
  • DeFi
  • Ethereum
  • Metaverse
  • NFT
  • Regulations
  • Scam Alert
  • Uncategorized
  • Web3

Latest Updates

  • PEPE Price Could Soar 3,000% If The Bottom Is In; Analyst Explains
  • Binance Founder Shares Thoughts On Bitcoin Price Reaching $200,000
  • 7 AI Tools That Run a One-Person Business in 2026 — No Staff. No Code.
  • About Us
  • Advertise with Us
  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact Us

Copyright © 2024 Catatonic Times.
Catatonic Times is not responsible for the content of external sites.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Home
  • Crypto Updates
  • Bitcoin
  • Ethereum
  • Altcoin
  • Blockchain
  • NFT
  • Regulations
  • Analysis
  • Web3
  • More
    • Metaverse
    • Crypto Exchanges
    • DeFi
    • Scam Alert

Copyright © 2024 Catatonic Times.
Catatonic Times is not responsible for the content of external sites.