Skip to content

Real-time Solana Token Tracker API – πŸš€ Easily fetch trending SOL pools, πŸ“ˆ top tokens by volume, πŸ†• latest token listings, πŸ“Š multi-metric insights, and πŸ” detailed token info by address. Perfect for βš’οΈ DeFi dashboards, πŸ€– trading bots, and 🧠 Web3 analytics tools built on the Solana blockchain.

Notifications You must be signed in to change notification settings

vvizardev/coin-indexing-app-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Solana Coin Indexing Backend

A fast and scalable backend service for indexing new and updated tokens on the Solana blockchain. Includes a RESTful API with Swagger documentation and Telegram integration for real-time notifications.

✨ Features

  • βœ… Index new token mints and metadata
  • πŸ” Monitor for token updates (price, liquidity, holders, etc.)
  • πŸ“¬ Send Telegram alerts for new token listings
  • πŸ“˜ Swagger UI for API documentation
  • πŸ› οΈ Written in Node.js / TypeScript
  • ⚑ PostgreSQL or Redis for persistent storage

image

πŸ“¦ Tech Stack

  • Solana Web3.js
  • Node.js / Express
  • Redis
  • Swagge
  • Telegram Bot API

πŸš€ Getting Started

Prerequisites

  • Node.js β‰₯ 18
  • Redis
  • A Telegram Bot Token (from @BotFather)
  • A Telegram Chat ID (group or user)

Clone the Repo

git clone https://github.com/vvizardev/coin-indexing-app-backend.git

Install Dependencies

npm install

Environment Variables

Create a .env file:

SOLANA_TRACKER_API_KEY=
PORT=
BOT_TOKEN=
CHANNEL_HANDLE=
BOT_NAME=
API_URL=

Run the Indexer

npm run start
# or
cargo run

🧠 How It Works

  1. Connects to the Solana RPC and scans for new token mints.
  2. Fetches metadata using Metaplex or TokenList.
  3. Stores tokens in PostgreSQL or Redis.
  4. Sends Telegram messages when criteria match.
  5. Exposes an API to retrieve token data via REST.

πŸ“˜ API Documentation

After running the server, visit:

http://localhost:3000

Here you’ll find Swagger UI with full documentation.


πŸ”” Telegram Notifications

Example message sent to Telegram:

πŸš€ New Token Detected!
Name: Banana Coin 🍌
Mint: F5vA...DxP
Symbol: BANANA

Customize filters in src/indexer/filter.ts to reduce spam.


πŸ“‘ API Endpoints

πŸ”₯ Trending

  • Trending SOL Pools
    GET /api/v1/trending
    Get trending SOL pools

  • Trending Tokens (Tracker)
    GET /api/v1/tracker/trending
    Get trending tokens from tracker


πŸ“ˆ Token Lists (Tracker)

  • Tokens by Volume
    GET /api/v1/tracker/tokens/volume
    Get tokens sorted by trading volume

  • Tokens by Multi
    GET /api/v1/tracker/tokens/multi
    Get tokens by multi-metric logic

  • Latest Tokens
    GET /api/v1/tracker/tokens/latest
    Get the most recently listed tokens

  • Graduated Tokens
    GET /api/v1/tracker/tokens/graduated
    Get tokens that have graduated from tracker status


πŸ” Token Details (Tracker)

  • Get Token Details
    GET /api/v1/tracker/tokens/{tokenAddress}
    Fetch token details by its address

πŸ§ͺ Test

npm run test

πŸ›‘οΈ Production

Use Docker:

docker build -t solana-indexer .
docker run --env-file .env -p 3000:3000 solana-indexer

πŸ™Œ Contributing

PRs welcome! Please open an issue first to discuss any major changes.


πŸ“„ License

MIT Β© 2025 @vvizardev


πŸ“¬ Contact

About

Real-time Solana Token Tracker API – πŸš€ Easily fetch trending SOL pools, πŸ“ˆ top tokens by volume, πŸ†• latest token listings, πŸ“Š multi-metric insights, and πŸ” detailed token info by address. Perfect for βš’οΈ DeFi dashboards, πŸ€– trading bots, and 🧠 Web3 analytics tools built on the Solana blockchain.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published