DeFi Daily News
Saturday, June 28, 2025
Advertisement
  • Cryptocurrency
    • Bitcoin
    • Ethereum
    • Altcoins
    • DeFi-IRA
  • DeFi
    • NFT
    • Metaverse
    • Web 3
  • Finance
    • Business Finance
    • Personal Finance
  • Markets
    • Crypto Market
    • Stock Market
    • Analysis
  • Other News
    • World & US
    • Politics
    • Entertainment
    • Tech
    • Sports
    • Health
  • Videos
No Result
View All Result
DeFi Daily News
  • Cryptocurrency
    • Bitcoin
    • Ethereum
    • Altcoins
    • DeFi-IRA
  • DeFi
    • NFT
    • Metaverse
    • Web 3
  • Finance
    • Business Finance
    • Personal Finance
  • Markets
    • Crypto Market
    • Stock Market
    • Analysis
  • Other News
    • World & US
    • Politics
    • Entertainment
    • Tech
    • Sports
    • Health
  • Videos
No Result
View All Result
DeFi Daily News
No Result
View All Result
Home DeFi Web 3

rewrite this title Get Solana Whales – How to Fetch Top Whales of a Solana Token – Moralis APIs

David Olsson by David Olsson
May 19, 2025
in Web 3
0 0
0
rewrite this title Get Solana Whales – How to Fetch Top Whales of a Solana Token – Moralis APIs
0
SHARES
0
VIEWS
Share on FacebookShare on TwitterShare on Telegram
Listen to this article


rewrite this content using a minimum of 1000 words and keep HTML tags

Get the whales of any Solana token in seconds! With Moralis’ Solana Token Holders API, you can fetch everything from top token whales to supply distribution insights with just a single API call. Power your crypto project with real-time token holder data that drives engagement, boosts retention, and enhances the overall value of your platform!

To get started, we’ll immediately look at a quick code example that highlights the accessibility of Moralis’ APIs. Here’s how easy it is to get whales for any Solana token: 

import fetch from ‘node-fetch’;

const options = {
method: ‘GET’,
headers: {
accept: ‘application/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};

fetch(‘https://solana-gateway.moralis.io/token/mainnet/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v/top-holders’, options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));

Calling the endpoint above returns a list of the Solana token’s top holders, complete with balances, supply percentages, and more valuable data. Here’s what it can look like:

{
//…
“totalSupply”: “9245329770.355232”,
“result”: [
{
“balance”: “891735383455576”,
“balanceFormatted”: “891735383.455576”,
“isContract”: false,
“ownerAddress”: “9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM”,
“usdValue”: “891826340.464688468752”,
“percentageRelativeToTotalSupply”: 9.65
},
/…
]
}

That’s it! With just a single API request, you can easily get top holders and whales for any Solana token! 

If you’re eager to learn more about this, please follow along in today’s tutorial or check out the YouTube video below: 

Additionally, if you immediately want to start using our APIs yourself, then click the button below and sign up with Moralis for free!

Overview

Access to top holders of a token is highly beneficial for crypto traders and investors. With this data, they can easily monitor whale action, copy trading strategies, and much more. As such, adding a list of top token holders and whales to your crypto platform will help enhance user value, drive engagement, and boost retention – all of which are essential when running a project!

But how do you get the whales and top holders of any Solana token? And what can you build with this data? 

For the answers to the above questions, join us below as we kickstart this guide by diving straight into the industry’s top crypto data provider: Moralis for Developers. Let’s go! 

Introducing Moralis for Developers – The Easiest Way to Get the Whales of Any Solana Token

Moralis is a leading crypto data provider that features world-class APIs and RPC nodes, designed to make on-chain data integration a breeze. Fetch top Solana whales, a wallet’s fully decoded transaction history, real-time token prices, OHLCV candlesticks, NFT transfers, and much more with just a single line of code. Get the tools, resources, and data you need to build powerful crypto-enabled projects – all in one place! 

Here are three key reasons why developers choose Moralis as their data provider:

Streamlined Developer Experience: With Moralis’ outcome-oriented APIs, you get more data with fewer calls. Build comprehensive token pages, interactive candlestick charts, insightful transaction timelines, and more with just a single endpoint.

Cross-Chain Compatibility: Moralis supports all major EVM chains and the Solana network. This means you can use one unified toolkit to build projects with support spanning the entire Web3 ecosystem. 

World-Class Security & Reliability: With a SOC 2 Type 2 certificate, we can ensure that all Moralis tools and features deliver enterprise-grade security and reliability. 

With an overview of Moralis, let’s take a closer look at the Solana Token Holders API, allowing you to get Solana whales with just one call!

Exploring the Solana Token Holders API

With the Solana Token Holders API, you can get everything from top Solana whales to insight about supply distribution without breaking a sweat. As such, it’s the ultimate tool for anyone looking to fetch and integrate data about Solana token holders into their crypto project! 

Solana Token Holders API.

Let’s explore the three endpoints of the Solana Token Holders API:

/token/:network/:address/top-holders: Fetch whales and top holders for any Solana token.

/token/mainnet/holders/:address: Query a holder summary for any token on the Solana blockchain, including short-term trend data, acquisition insights, and more.

/token/mainnet/holders/:address/historical: Get historical holder statistics for any Solana token. 

Let’s now dive straight into our tutorial showing you how to fetch top whales of a Solana token!

Full Tutorial: How to Fetch Top Solana Whales in 3 Steps

With the Solana Token Holders API, you can get top whales and holders of a token in three simple steps: 

Get a Moralis API Key

Write a Script

Run the Code

But before we can kick things off, you need to take care of a few prerequisites if you’d like to follow along in today’s tutorial!

Prerequisites

Make sure you have the following ready and installed: 

Step 1: Get a Moralis API Key

To call the Solana Token Holders API, you need a Moralis API key. As such, if you haven’t already, create an account by clicking the ”Start for Free” button at the top right:

Red arrow pointing at "Start for Free" button.

After creating an account, you’ll find your API key directly under the ”Home” tab: 

Red arrow pointing at copy button for API key.

Save the key for now, as you’re going to need it in the following section to fetch top whales of a Solana token! 

Step 2: Write a Script

Next, you need to create a script to call the /token/:network/:address/top-holders endpoint. To do so, start by opening your IDE and setting up a Node.js project using the following terminal command: 

npm init

From here, use the commands below to install the required dependencies:

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

Open the ”package.json” file in your project directory and add ”type”: ”module” to the list: 

"type": "module" highlighted in code editor.

Set up a new ”index.js” file and add the code below: 

import fetch from ‘node-fetch’;

const options = {
method: ‘GET’,
headers: {
accept: ‘application/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};

fetch(‘https://solana-gateway.moralis.io/token/mainnet/EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v/top-holders’, options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));

Lastly, you need to configure the code slightly by adding your key and configuring the parameters to fit your preferences:

Code configurations highlighted in code editor.

Step 3: Run the Code

To run the code, open a new terminal and execute the following command in your project’s root folder: 

node index.js

Doing so will return a list of top Solana whales, complete with addresses, balances, supply percentages, and other valuable data. Here’s an example of what it can look like: 

{
//…
“totalSupply”: “9245329770.355232”,
“result”: [
{
“balance”: “891735383455576”,
“balanceFormatted”: “891735383.455576”,
“isContract”: false,
“ownerAddress”: “9WzDXwBbmkg8ZTbNMqUxvQRAyrZzDsGYdLVL9zYtAWWM”,
“usdValue”: “891826340.464688468752”,
“percentageRelativeToTotalSupply”: 9.65
},
/…
]
}

Congratulations! You now know how to effortlessly fetch top whales and holders of any Solana token!

If you’d like to try out the endpoint, please check out the get top token holders documentation for more information!

Beyond Fetching Top Solana Holders & Whales

Now that you know how to get top holders and whales, let’s also explore the remaining two endpoints of the Solana Token Holders API: 

Query Solana Token Holders Stats

The /token/mainnet/holders/:address endpoint provides a summary of token holder stats. To call this endpoint, just pass along a network and an address parameter. Here’s a sample script showing how it works: 

import fetch from ‘node-fetch’;

const options = {
method: ‘GET’,
headers: {
accept: ‘application/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};

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

Calling the endpoint above will give you insight into a token’s holder count, short-term trends, acquisition data, and supply distribution. Here’s an example of what it can look like:

{
totalHolders: 513238,
holdersByAcquisition: { swap: 161815, transfer: 137575, airdrop: 213848 },
holderChange: {
‘5min’: { change: -7, changePercent: -0.0014 },
‘1h’: { change: -45, changePercent: -0.0088 },
‘6h’: { change: -208, changePercent: -0.041 },
’24h’: { change: -494, changePercent: -0.096 },
‘3d’: { change: -1652, changePercent: -0.32 },
‘7d’: { change: -3002, changePercent: -0.58 },
’30d’: { change: 15457, changePercent: 3 }
},
holderDistribution: {
whales: 48,
sharks: 38,
dolphins: 672,
fish: 2575,
octopus: 3115,
crabs: 10879,
shrimps: 495911
},
holderSupply: {
top10: { supply: ‘46127367876201534’, supplyPercent: 51.89 },
top25: { supply: ‘54426340492558695’, supplyPercent: 61.23 },
top50: { supply: ‘58627892894350393’, supplyPercent: 65.96 },
top100: { supply: ‘61349275758201721’, supplyPercent: 69.02 },
top250: { supply: ‘64534047701161353’, supplyPercent: 72.6 },
top500: { supply: ‘66981557873551574’, supplyPercent: 75.35 }
}
}

Get Solana Token Holders Timeseries

With the /token/mainnet/holders/:address/historical endpoint, you can query historical holder statistics for any Solana token. To do so, you need to pass along multiple query parameters, including network, address, fromDate, toDate, and timeFrame. Here’s a sample script: 

import fetch from ‘node-fetch’;

const options = {
method: ‘GET’,
headers: {
accept: ‘application/json’,
‘X-API-Key’: ‘YOUR_API_KEY’
},
};

fetch(‘https://solana-gateway.moralis.io/token/mainnet/holders/6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN/historical?fromDate=2025-01-01T10%3A00%3A00&toDate=2025-02-01T11%3A00%3A00&timeFrame=1d&limit=100’, options)
.then(response => response.json())
.then(response => console.log(response))
.catch(err => console.error(err));

Running the code above will give you a list of timestamps. Each one includes holder counts, net changes in holder count, acquisition insights, and other useful data. Here’s an example of a response:

{
“result”: [
{
“timestamp”: “2025-02-01T00:00:00.000Z”,
“totalHolders”: 669942,
“netHolderChange”: -9926,
“holderPercentChange”: -1.5,
“newHoldersByAcquisition”: {
“swap”: 6746,
“transfer”: 5696,
“airdrop”: 529
},
“holdersIn”: {
“whales”: 0,
“sharks”: 0,
“dolphins”: 0,
“fish”: 0,
“octopus”: 0,
“crabs”: 32,
“shrimps”: 12939
},
“holdersOut”: {
“whales”: 0,
“sharks”: 0,
“dolphins”: 0,
“fish”: 0,
“octopus”: 3,
“crabs”: 36,
“shrimps”: 22858
}
},
//…
],
}

To learn more about and test the endpoints above, please explore the Solana Token API documentation page!

Why Do You Need to Fetch Top Solana Whales & Other Holder Data?

Integrating token holder insights into your cryptocurrency platform offers many benefits. Here are three examples: 

Enhance User Value: Enriching your platform with token holder data will enhance overall user value, making your project more attractive to crypto investors and traders.

Drive Engagement: Real-time insights and interactive features, such as holder charts, will ensure that your users stay active and engaged on your site.

Boost Retention: Providing accurate, trustworthy data will help you build a loyal user base that wants to return to your project for more information. 

All in all, integrating Solana token holder insights into your application or website is an excellent way to enhance value, drive engagement, and boost retention – all important if you’re looking to run a successful project!

Solana Token Holders API Use Cases

With the Solana Token Holders API, you can seamlessly build powerful features for your platform. Here are some key examples you’ll likely find interesting:

Lists of Top Holders & Whales: With just the /token/:network/:address/top-holders endpoint, you can easily build lists displaying any token’s top holders and whales. This will help users identify significant addresses, along with their balances, supply percentages, and other relevant details. Here’s an example of what it can look like:

Solana whales top list.

Trends, Acquisition, & Distribution Tables: With the /token/mainnet/holders/:address endpoint, you can build tables that show trends, acquisition data, and supply distribution. These tables will allow your users to analyze short-term trends, understand how tokens were acquired, and spot potential concentration risks. Here’s what this feature might look like:

Holders tables.

Token Holders Charts: Using the /token/mainnet/holders/:address/historical endpoint, you can easily build holder charts for your project, displaying holder count over various time periods. Adding a feature like this to your platform gives your users the tools they need to analyze both short- and long-term trends without breaking a sweat. Here’s an example of what the charts can look like:

Holders chart.

Exploring Other Moralis APIs

In addition to the Solana Token Holders API, Moralis provides a comprehensive range of other industry-leading development tools. Here are three APIs you’ll likely find useful when building crypto projects: 

Wallet API: Using the Wallet API, you can effortlessly query any wallet’s decoded transaction history, token balances, NFT holdings, and more with just a single request. It’s the ultimate tool for building portfolio views, detailed transaction timelines, and other similar features.

Token API: With the Token API, you can easily get a token’s real-time price, swaps, snipers, pairs, metadata, and more with minimal effort. Utilize the Token API to effortlessly create everything from detailed token pages to interactive price charts. 

NFT API: With the NFT API, you can get NFT balances and metadata with just a single line of code. This is a great API for anyone looking to build NFT-Fi tools, NFT marketplaces, and other similar projects. 

If you’d like to learn more about Moralis and explore all our industry-leading tools, please check out the Web3 API page for more information! 

Summary: Get Solana Whales – How to Fetch Top Whales of a Solana Token

Insight into top token holders is extremely useful to traders and investors. With this information, they can easily copy trading strategies, monitor the activity of whales, and much more. As such, by integrating holder insights into your own platform, you’ll give your users the data they need to trade smarter and more efficiently. 

Text: "Summary: Get Solana Whales - How to Fetch Top Whales of a Solana Token"

The best and easiest way to get the whales of any token is to use Moralis’ Solana Token Holders API. With this premier tool, you can fetch everything from top whales to acquisition insights for any token on the Solana blockchain network with ease. 

Here are the three endpoints of this premier API: 

/token/:network/:address/top-holders: Get whales and top holders of any Solana token.

/token/mainnet/holders/:address: Fetch a holder summary for any Solana token.

/token/mainnet/holders/:address/historical: Query any Solana token’s historical holder statistics.

When using this premier tool, you can build everything from lists of top whales to advanced holder charts with just a single endpoint! 

So, if you’re looking for an easy way to fetch the top whales of a Solana token, be sure to sign up for a Moralis account today! 

Also, if you want to learn more about what makes Moralis the leading crypto data provider, be sure to check out some of our comparison guides. For instance, see how our toolset compares to either the DeBank API or the CoinGecko API.

 

and include conclusion section that’s entertaining to read. do not include the title. Add a hyperlink to this website http://defi-daily.com and label it “DeFi Daily News” for more trending news articles like this



Source link

Tags: APIsFetchMoralisrewriteSolanatitletokenTopWhales
ShareTweetShare
Previous Post

Trump signs anti-revenge porn bill: ‘Bipartisanship is still possible’

Next Post

rewrite this title Peyton Manning’s ex-teammate makes feelings known on Deebo Samuel-Jayden Daniels duo to lead Commanders’ Super Bowl run

Next Post
rewrite this title Peyton Manning’s ex-teammate makes feelings known on Deebo Samuel-Jayden Daniels duo to lead Commanders’ Super Bowl run

rewrite this title Peyton Manning's ex-teammate makes feelings known on Deebo Samuel-Jayden Daniels duo to lead Commanders' Super Bowl run

Leave a Reply Cancel reply

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

Search

No Result
View All Result
  • Trending
  • Comments
  • Latest
rewrite this title with good SEO Bitcoin Could Explode On Bessent’s 0 Billion Deregulation Shock

rewrite this title with good SEO Bitcoin Could Explode On Bessent’s $250 Billion Deregulation Shock

May 28, 2025
Rough N’ Rowdy 25 FREE PREVIEW | Watch 20 Fights + Ring Girl Contest TONIGHT

Rough N’ Rowdy 25 FREE PREVIEW | Watch 20 Fights + Ring Girl Contest TONIGHT

August 9, 2024
rewrite this title Top 10 Best Cryptocurrency Cloud Mining Sites in 2025 – A Beginner’s Guide to Earning Free BTC and DOGE with an  Cloud Mining Bonus

rewrite this title Top 10 Best Cryptocurrency Cloud Mining Sites in 2025 – A Beginner’s Guide to Earning Free BTC and DOGE with an $18 Cloud Mining Bonus

April 8, 2025
Bitcoin Miners Selling Bitcoin to Stay Solvent Amid Volatility in Price – Decrypt

Bitcoin Miners Selling Bitcoin to Stay Solvent Amid Volatility in Price – Decrypt

August 13, 2024
rewrite this title Hudson Pacific Properties: Beware The Perceived Discount (NYSE:HPP)

rewrite this title Hudson Pacific Properties: Beware The Perceived Discount (NYSE:HPP)

May 6, 2025
Crypto Analyst Reveals Six ‘Super-Cycle’ Tokens Set to Surge by 1000x in Value

Crypto Analyst Reveals Six ‘Super-Cycle’ Tokens Set to Surge by 1000x in Value

August 16, 2024
rewrite this title 4 directions for The Judgment Day after WWE Night of Champions 2025

rewrite this title 4 directions for The Judgment Day after WWE Night of Champions 2025

June 28, 2025
rewrite this title Jayne Mansfield’s Death: How Mariska Hargitay’s Mom Died in 1967

rewrite this title Jayne Mansfield’s Death: How Mariska Hargitay’s Mom Died in 1967

June 28, 2025
rewrite this title Can China’s MiniMax-M1 AI Topple US Rivals? We Put It to the Test – Decrypt

rewrite this title Can China’s MiniMax-M1 AI Topple US Rivals? We Put It to the Test – Decrypt

June 28, 2025
rewrite this title Tesla says it delivered its first car autonomously from factory to customer

rewrite this title Tesla says it delivered its first car autonomously from factory to customer

June 28, 2025
rewrite this title with good SEO Here’s What Happens If Dogecoin Follows Previous Cycle Trends | Bitcoinist.com

rewrite this title with good SEO Here’s What Happens If Dogecoin Follows Previous Cycle Trends | Bitcoinist.com

June 28, 2025
Sue My Family Over An Estate Dispute?

Sue My Family Over An Estate Dispute?

June 28, 2025
DeFi Daily

Stay updated with DeFi Daily, your trusted source for the latest news, insights, and analysis in finance and cryptocurrency. Explore breaking news, expert analysis, market data, and educational resources to navigate the world of decentralized finance.

  • About Us
  • Blogs
  • DeFi-IRA | Learn More.
  • Advertise with Us
  • Disclaimer
  • Privacy Policy
  • DMCA
  • Cookie Privacy Policy
  • Terms and Conditions
  • Contact us

Copyright © 2024 Defi Daily.
Defi Daily 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
  • Cryptocurrency
    • Bitcoin
    • Ethereum
    • Altcoins
    • DeFi-IRA
  • DeFi
    • NFT
    • Metaverse
    • Web 3
  • Finance
    • Business Finance
    • Personal Finance
  • Markets
    • Crypto Market
    • Stock Market
    • Analysis
  • Other News
    • World & US
    • Politics
    • Entertainment
    • Tech
    • Sports
    • Health
  • Videos

Copyright © 2024 Defi Daily.
Defi Daily is not responsible for the content of external sites.