Skip to content

writsop/defi-yield-tracker

Repository files navigation

🚀 X-Money DeFi Yield API

Real-time DeFi yield data from 325+ pools across Ethereum, Base, Polygon, Arbitrum, and more.

Features

  • 🔥 Top yield opportunities (>100% APY)
  • 📊 Risk scores for each pool
  • ⚡ Real-time data from DefiLlama
  • 💰 Free tier: 100 requests/day
  • 🤖 Telegram bot for alerts

Quick Start

# Install dependencies
npm install

# Start the API server
node yield-server.js

# API available at http://localhost:3457

API Endpoints

Free Endpoints

  • GET /api/health - Server health status
  • GET /api/pricing - Pricing tiers

Paid Endpoints (Contact for access)

  • GET /api/yields - All yield pools
  • GET /api/top - Top yielding pools
  • GET /api/alerts - Yield alerts
  • GET /api/risk - Risk analysis

Example Usage

# Get top 10 yields
curl http://localhost:3457/api/yields?limit=10

# Get yields > 100% APY
curl "http://localhost:3457/api/top?minApy=100"

Telegram Bot

Get yield alerts on Telegram:

# Set your bot token
export TELEGRAM_BOT_TOKEN="your_token_here"

# Start the bot
node telegram-yield-bot.js

Commands: /yields, /stable, /eth, /base, /subscribe

Monetization

This API is free for personal use. For commercial use or higher rate limits:

  • Basic: $10/month - 10,000 requests/day
  • Pro: $50/month - 100,000 requests/day + priority support
  • Enterprise: Custom - Unlimited + dedicated support

Contact: x-money-yield@proton.me

Data Source

Powered by DefiLlama API

Disclaimer

⚠️ Not financial advice. DYOR before investing. DeFi yields are volatile and carry risk.

License

MIT License - See LICENSE file


Built by X-Money | GitHub

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors