Skip to content

Commit

Permalink
Merge pull request #552 from MoralisWeb3/create-updated-overview-page…
Browse files Browse the repository at this point in the history
…-solana

feat: updated solana overview page
  • Loading branch information
bharathbabu-moralis authored Feb 13, 2025
2 parents ac29981 + db1237c commit 06a8be3
Show file tree
Hide file tree
Showing 2 changed files with 197 additions and 23 deletions.
218 changes: 196 additions & 22 deletions docs/01-web3-data-api/solana/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,42 +4,216 @@ sidebar_label: "Overview"
slug: "/web3-data-api/solana"
sidebar_position: 1
image: /img/content/web3-data-api-3.webp
description: "The Moralis Web3 Data APIs are a set of highly scalable APIs that solve popular Web3 challenges. By indexing blockchain data in a structured way, Moralis is able to expose APIs that make querying, fetching and understanding this data a breeze for developers."
description: "Moralis provides enterprise-grade APIs for the Solana ecosystem, enabling developers to build sophisticated trading terminals and analytics platforms. From token discovery to market intelligence, our comprehensive API suite processes millions of queries daily, powering applications like moralis.com."
sidebar_class_name: "sidebar-overview"
---

import ApiBanner from "@site/src/components/ApiBanner/ApiBanner.tsx";
# Solana API Overview

## Introduction

Moralis provides enterprise-grade APIs and analytics for the Solana ecosystem, powering moralis.com's terminal and processing millions of queries daily. This documentation showcases our comprehensive API suite that enables developers to build sophisticated trading and analytics platforms with institutional-grade data.

## What are the Web3 Data APIs?
### Moralis.com Terminal

The Moralis Web3 Data APIs are a set of highly scalable APIs that solve popular Web3 challenges. By indexing blockchain data in a structured way, Moralis is able to expose APIs that make querying, fetching and understanding this data a breeze for developers.
![Main Moralis Page](https://raw.githubusercontent.com/MoralisWeb3/docs/main/static/screenshots-moraliscom-solana-page/main-page.png)

## Web3 Data API Features
## API Coverage

Moralis indexes all core aspects of blockchain data and provides access to this through a suite of data-focussed API endpoints. No matter what you are building, our Web3 Data API will support the data you will need; including Blocks, Transactions, NFTs, Tokens and Balance information.
- Token APIs: Our Token APIs bring complete token discovery and analysis capabilities. This includes universal token search, trending token detection, detailed metadata, price tracking, pair analytics, swap monitoring etc. These power features like moralis.com's universal search bar, trending section, and DEX analytics.

- **NFT Data:** Fetch real-time NFT metadata, ownership data, NFT transfer data, NFT prices, and much more.
- **Token Data:** Seamlessly access real-time token price, ownership and transfer data.
- **Balance Data**: Fetch native, token, and NFT balance of a Solana address
- Wallet APIs: Our Wallet APIs enable comprehensive wallet analysis and portfolio tracking. From native SOL balances to SPL token holdings, complete portfolio valuations to transaction history - these endpoints power moralis.com's wallet analytics and portfolio tracking features.

## Use Cases
- NFT APIs: Our NFT APIs provide complete NFT portfolio and metadata capabilities. Track NFT holdings, access detailed collection data, and monitor ownership history through our endpoints.

The advanced feature set of our Web3 Data APIs means it can support any type of use case, including:
- Price APIs: Our Price APIs deliver professional-grade market data through endpoints for real-time token prices and detailed OHLCV candlestick data. These power moralis.com's TradingView charts and price analytics features, supporting all token types including pump fun tokens.

- NFT Marketplace
- Wallet App
- Portfolio Trackers
- Audit & Reporting
- Metaverse Gaming
- Block Explorers
- Token Gating (NFT authentication)
Whether you're building a trading terminal, portfolio tracker, or market analytics platform, our APIs provide the data infrastructure you need, as demonstrated by moralis.com's powerful Solana terminal.

## Supported Chains
## Token API

Moralis Web3 Data APIs are continuously adding new networks and integrations. Our current supported Solana networks include:
### Token Search

import { SolanaChainData } from '@site/src/components/SupportedChains';
![Token Search](https://raw.githubusercontent.com/MoralisWeb3/docs/main/static/screenshots-moraliscom-solana-page/token-search.png)

<SolanaChainData/>
Powers the main search bar on moralis.com, enabling instant token lookup by contract address, name, or symbol. Used by thousands of traders daily on moralis.com to discover and analyze new tokens through the universal search bar.

- Search by address/name/symbol
- Real-time autocompletion
- Instant price data
- Market information display

**Related APIs:**

| No. | Method | Description | API Reference | URL |
| --- | -------------- | ------------- | ------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------ |
| 1 | `searchTokens` | Search tokens | [Method Documentation](/web3-data-api/evm/reference/search-tokens) | [https://deep-index.moralis.io/api/v2.2/tokens/search](https://deep-index.moralis.io/api/v2.2/tokens/search) |

### Token Discovery & Trending

![Token Trending](https://raw.githubusercontent.com/MoralisWeb3/docs/main/static/screenshots-moraliscom-solana-page/sol-trending-tokens.png)

Analysis system behind moralis.com's trending section, highlighting tokens showing significant market activity. Featured prominently on the dashboard, helping traders identify potential opportunities through real-time metric analysis.

- Volume spike detection
- Holder growth tracking
- Price momentum analysis
- Liquidity monitoring
- Security scoring

**Related APIs:**

| No. | Method | Description | API Reference | URL |
| --- | ------------------- | ------------------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| 1 | `getFilteredTokens` | Get filtered tokens | [Method Documentation](/web3-data-api/evm/reference/get-filtered-tokens) | [https://deep-index.moralis.io/api/v2.2/discovery/tokens](https://deep-index.moralis.io/api/v2.2/discovery/tokens) |

### Token Prices & Charts

![Token Prices and Charts](https://raw.githubusercontent.com/MoralisWeb3/docs/main/static/screenshots-moraliscom-solana-page/prices-and-charts.png)

Enterprise-grade charting through TradingView integration and raw OHLCV data. Powers all price analysis on moralis.com with support for all token types including pump fun tokens.

- Real-time OHLCV data
- TradingView widget integration
- Multiple timeframes
- Technical indicators

**Related APIs:**

| No. | Method | Description | API Reference | URL |
| --- | ----------------- | ---------------------- | --------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 1 | `getTokenPrice` | Get token price | [Method Documentation](/web3-data-api/solana/reference/get-sol-token-price) | [https://solana-gateway.moralis.io/token/:network/:address/price](https://solana-gateway.moralis.io/token/:network/:address/price) |
| 2 | `getCandleSticks` | Get OHLCV candlesticks | [Method Documentation](/web3-data-api/solana/reference/get-ohlcv-by-pair-address) | [https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/ohlcv](https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/ohlcv) |

### Token Metadata

![Token Metadata](https://raw.githubusercontent.com/MoralisWeb3/docs/main/static/screenshots-moraliscom-solana-page/token-metadata.png)

Access comprehensive token information and metadata for any Solana token. Used throughout moralis.com to provide detailed token insights.

- Basic token data
- Market metrics
- Contract details
- Supply information

**Related APIs:**

| No. | Method | Description | API Reference | URL |
| --- | ------------------ | ------------------ | -------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| 1 | `getTokenMetadata` | Get token metadata | [Method Documentation](/web3-data-api/solana/reference/get-token-metadata) | [https://solana-gateway.moralis.io/token/:network/:address/metadata](https://solana-gateway.moralis.io/token/:network/:address/metadata) |

### Token Pairs & Liquidity

![Token Pairs and Liquidity](https://raw.githubusercontent.com/MoralisWeb3/docs/main/static/screenshots-moraliscom-solana-page/token-pairs-and-liquidity.png)

Monitor market depth, pair statistics, and trading activity. Used throughout moralis.com's token pair pages to provide detailed insights into liquidity pools and market activity.

- Pair analytics
- Liquidity tracking
- Volume analysis
- Market statistics

**Related APIs:**

| No. | Method | Description | API Reference | URL |
| --- | ----------------------------- | -------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 1 | `getTokenPairs` | Get token pairs | [Method Documentation](/web3-data-api/solana/reference/get-token-pairs-by-address) | [https://solana-gateway.moralis.io/token/:network/:address/pairs](https://solana-gateway.moralis.io/token/:network/:address/pairs) |
| 2 | `getTokenPairStats` | Get pair statistics | [Method Documentation](/web3-data-api/solana/reference/get-token-pair-stats) | [https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/stats](https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/stats) |
| 3 | `getAggregatedTokenPairStats` | Get aggregated stats | [Method Documentation](/web3-data-api/solana/reference/get-aggregated-token-pair-stats) | [https://solana-gateway.moralis.io/token/:network/:address/pairs/stats](https://solana-gateway.moralis.io/token/:network/:address/pairs/stats) |

### Token Swaps

![Token Swaps](https://raw.githubusercontent.com/MoralisWeb3/docs/main/static/screenshots-moraliscom-solana-page/token-txs.png)

Track token swaps and trading activity. Featured in moralis.com's swap analysis sections for monitoring market movements.

- Pair-based monitoring
- Wallet swap tracking
- Historical analysis
- Volume tracking

**Related APIs:**

| No. | Method | Description | API Reference | URL |
| --- | ------------------------- | ------------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 1 | `getSwapsByPairAddress` | Get swaps by pair | [Method Documentation](/web3-data-api/solana/reference/get-swaps-by-pair-address) | [https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/swaps](https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/swaps) |
| 2 | `getSwapsByWalletAddress` | Get swaps by wallet | [Method Documentation](/web3-data-api/solana/reference/get-swaps-by-wallet-address) | [https://solana-gateway.moralis.io/account/:network/:walletAddress/swaps](https://solana-gateway.moralis.io/account/:network/:walletAddress/swaps) |
| 3 | `getSwapsByTokenAddress` | Get swaps by token | [Method Documentation](/web3-data-api/solana/reference/get-swaps-by-token-address) | [https://solana-gateway.moralis.io/token/:network/:tokenAddress/swaps](https://solana-gateway.moralis.io/token/:network/:tokenAddress/swaps) |

### TradingView Token Chart Widget Integration

![Token Price Chart Widget Embed](https://raw.githubusercontent.com/MoralisWeb3/docs/main/static/screenshots-moraliscom-solana-page/price-widget-embed.png)

Embed professional-grade trading charts in your application with our TradingView widget integration. The same charts powering moralis.com's trading terminal can be easily integrated into any platform, with comprehensive token pair support including:

- Standard token pairs
- Pump fun tokens
- Prebonded pump fun tokens
- Custom token pairs

### Token Snipers

Monitor sniper activity on token pairs.

- Sniper detection
- Trading pattern analysis
- Volume tracking
- Market maker monitoring

**Related APIs:**

| No. | Method | Description | API Reference | URL |
| --- | ------------------------- | ------------------- | ----------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1 | `getSnipersByPairAddress` | Get snipers by pair | [Method Documentation](/web3-data-api/solana/reference/get-snipers-by-pair-address) | [https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/snipers](https://solana-gateway.moralis.io/token/:network/pairs/:pairAddress/snipers) |

## Wallet API

### Wallet Overview

Complete wallet analytics capabilities for tracking balances, holdings, and portfolio data.

- Native balance tracking
- Token holdings
- Portfolio valuation
- Transaction monitoring

**Related APIs:**

| No. | Method | Description | API Reference | URL |
| --- | -------------- | ------------------ | ------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| 1 | `balance` | Get native balance | [Method Documentation](/web3-data-api/solana/reference/sol-balance) | [https://solana-gateway.moralis.io/account/:network/:address/balance](https://solana-gateway.moralis.io/account/:network/:address/balance) |
| 2 | `getSPL` | Get token balances | [Method Documentation](/web3-data-api/solana/reference/get-spl) | [https://solana-gateway.moralis.io/account/:network/:address/tokens](https://solana-gateway.moralis.io/account/:network/:address/tokens) |
| 3 | `getPortfolio` | Get portfolio data | [Method Documentation](/web3-data-api/solana/reference/get-sol-portfolio) | [https://solana-gateway.moralis.io/account/:network/:address/portfolio](https://solana-gateway.moralis.io/account/:network/:address/portfolio) |

### Wallet NFTs

Track NFT holdings for any wallet address.

- NFT portfolio tracking
- Collection analysis
- Metadata access
- Ownership history

**Related APIs:**

| No. | Method | Description | API Reference | URL |
| --- | --------- | ------------------ | -------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------- |
| 1 | `getNFTs` | Get NFTs by wallet | [Method Documentation](/web3-data-api/solana/reference/get-sol-nfts) | [https://solana-gateway.moralis.io/account/:network/:address/nft](https://solana-gateway.moralis.io/account/:network/:address/nft) |

## NFT API

### NFT Data

Comprehensive NFT metadata and collection analytics.

- Collection data
- Token metadata
- Ownership tracking
- Market analysis

**Related APIs:**

| No. | Method | Description | API Reference | URL |
| --- | ---------------- | ------------------ | ---------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| 1 | `getNFTs` | Get NFTs by wallet | [Method Documentation](/web3-data-api/solana/reference/get-sol-nfts) | [https://solana-gateway.moralis.io/account/:network/:address/nft](https://solana-gateway.moralis.io/account/:network/:address/nft) |
| 2 | `getNFTMetadata` | Get NFT metadata | [Method Documentation](/web3-data-api/solana/reference/get-sol-nft-metadata) | [https://solana-gateway.moralis.io/nft/:network/:address/metadata](https://solana-gateway.moralis.io/nft/:network/:address/metadata) |
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ const config = {
exact: true,
},
{
to: "/web3-data-api/solana/reference",
to: "/web3-data-api/solana",
label: "Solana API",
position: "left",
exact: true,
Expand Down

0 comments on commit 06a8be3

Please sign in to comment.