Real-time cryptocurrency market data aggregator. Track 10,000+ coins, monitor 200+ DeFi protocols, manage portfolios, set price alerts, and analyze market sentiment, all in one place.
๐ Crypto Data Aggregator
๐ 100% Free โข ๐ No API Keys Required โข โก Real-Time Data โข ๐ฑ PWA Ready โข ๐ค AI Agent & MCP Ready
Real-time cryptocurrency market data aggregator. Track 10,000+ coins, monitor 200+ DeFi protocols,
manage portfolios, set price alerts, and analyze market sentimentโall in one place.
Quick Start โข Features โข Deep Dive โข API โข AI Agents โข Deploy โข Docs
โก Quick Start
# Clone and run in 30 seconds
git clone https://github.com/nirholas/crypto-data-aggregator.git
cd crypto-data-aggregator
npm install
npm run dev
Open http://localhost:3000 โ no API keys needed! ๐
๐ฏ Why This Project?
| Feature | Crypto Data Aggregator | Paid Alternatives | | --------------- | ---------------------- | ----------------- | | API Key | โ None needed | Required | | Rate Limit | โ Generous free tier | Limited | | Self-Host | โ One click | No | | PWA | โ Installable | Rarely | | Open Source | โ MIT License | No | | DeFi Data | โ 200+ protocols | Extra cost |
โจ Features
๐ Market Data
- Live Prices โ Real-time prices for 10,000+ cryptocurrencies
- Market Rankings โ Market cap, volume, and supply data
- Gainers & Losers โ Track top movers (1h, 24h, 7d, 30d)
- Trending Coins โ CoinGecko trending + social signals
- Categories โ Filter by DeFi, Gaming, Layer 2, Memecoins, and more
- New Listings โ Discover newly listed tokens
๐ฆ DeFi Dashboard
- 200+ Protocols โ TVL rankings from DeFiLlama
- Chain Analytics โ Ethereum, Solana, Arbitrum, Base, and 50+ chains
- Category Filters โ DEX, Lending, Bridges, Liquid Staking, Derivatives
- Protocol Comparison โ Side-by-side TVL and metrics comparison
- DeFi Yields โ Track yield farming APYs across protocols
๐ Advanced Analytics
| Tool | Description | | -------------------- | ------------------------------------------------------------------ | | ๐ฅ Heatmap | Visual market overview with size-by-market-cap | | ๐ Screener | Filter coins by market cap, volume, price change, ATH distance | | โ๏ธ Compare | Compare up to 5 coins side-by-side with historical charts | | ๐ Charts | Interactive price charts with OHLC candlesticks | | ๐ฑ Sentiment | Fear & Greed Index with historical trends | | ๐ Volatility | Risk metrics, Sharpe ratios, max drawdowns | | ๐ Correlation | Asset correlation matrix for portfolio diversification | | ๐ฅ Liquidations | Real-time futures liquidation feed from major exchanges | | โฝ Gas Tracker | Multi-chain gas prices (ETH, Polygon, Base, Arbitrum, Optimism) | | ๐ Derivatives | Funding rates, open interest, long/short ratios |
๐ On-Chain Analytics
| Feature | Description | | -------------------- | -------------------------------------------------------------- | | Whale Tracking | Real-time large transaction alerts via Whale Alert API | | Exchange Flows | Track inflows/outflows from major exchanges | | Smart Money | Follow institutional and whale wallet movements | | Bitcoin On-Chain | Mempool stats, fee estimates, block data via Mempool.space | | Token Unlocks | Track upcoming vesting schedules via DeFiLlama emissions |
๐ผ Portfolio & Tracking
| Feature | Description | | ---------------------- | ------------------------------------------------------ | | ๐ฐ Portfolio | Track holdings with P&L, cost basis, and allocation | | โญ Watchlist | Custom watchlists with drag-and-drop reordering | | ๐ Price Alerts | Set alerts for price targets (above/below) | | ๐ค Export | Export portfolio & watchlist as JSON/CSV | | ๐ Exchange Sync | Import holdings from Binance, Coinbase, Kraken, OKX | | ๐ Analytics | Portfolio performance, allocation, and risk metrics |
๐ Authentication & User Features
| Feature | Description | | -------------------- | ---------------------------------------------------------- | | OAuth Login | Sign in with Google, GitHub, or Discord | | Magic Links | Passwordless email authentication | | Email Alerts | Receive price alerts and digests via email (Resend) | | Newsletter | Daily/weekly crypto news digests | | Push Notifications| Browser push for breaking news |
๐ค AI Features
| Feature | Description | | -------------------- | ---------------------------------------------------------- | | AI Analysis | GPT-powered market analysis and insights | | AI Debate | Bull vs Bear AI debates on market topics | | Claim Extraction | Extract verifiable claims from news articles | | Clickbait Detector| Score headlines for clickbait content | | Summarization | AI-powered article summaries | | Ask AI | Natural language queries about crypto data |
โก Power User Features
- โจ๏ธ Keyboard Shortcuts โ Vim-style navigation (
j/k,g+h/t/w/p) - ๐ Command Palette โ Quick actions with
Cmd+K/Ctrl+K - ๐ Dark Mode โ Beautiful dark theme with
dtoggle - ๐ฑ PWA โ Install as app on mobile & desktop
- ๐ Cross-Tab Sync โ Watchlist syncs across browser tabs
- ๐ 18 Languages โ Full i18n support
๐งฉ Integrations & SDKs
Official SDKs
| SDK | Installation | Features | | ------------ | --------------------------------------- | ----------------------------------- | | Python | curl -O .../crypto_news.py | Zero dependencies, async support | | TypeScript| npm install @crypto-data/sdk | Full types, SWR integration | | React | npm install @crypto-data/react | Hooks: useCryptoNews, usePrice | | Go | go get github.com/.../cryptonews | Goroutine-safe, context support | | PHP | composer require crypto-data/sdk | PSR-4, Guzzle HTTP | | JavaScript| npm install crypto-news-sdk | Browser & Node.js compatible |
Browser Extension
Chrome/Edge extension for quick crypto news access:
- Tab-based navigation (Latest, Breaking, DeFi, Bitcoin)
- Quick coin search and price lookup
- Configurable API base URL
Raycast Extension
Native Raycast commands:
crypto-newsโ Latest newscrypto-breakingโ Breaking newscrypto-trendingโ Trending topics
CLI Tool
npx crypto-news # Latest news
npx crypto-news --bitcoin # Bitcoin news only
npx crypto-news -s "ethereum" # Search
npx crypto-news --breaking # Breaking news
npx crypto-news --json # JSON output
MCP Server (AI Agents)
Model Context Protocol server for Claude, ChatGPT, and other AI assistants:
# Claude Desktop (stdio mode)
node mcp/index.js
ChatGPT Developer Mode (HTTP/SSE)
node mcp/index.js --http
Available Tools:
getcryptonewsโ Latest headlinessearchcryptonewsโ Search by keywordsgetdefinewsโ DeFi-specific newsgetbitcoinnewsโ Bitcoin newsgetmarketdataโ Real-time pricesgettrendingcoinsโ Trending cryptocurrencies
ChatGPT Plugin
OpenAPI-compatible plugin for ChatGPT:
- Full OpenAPI 3.0 specification at
/chatgpt/openapi.yaml - AI plugin manifest at
/.well-known/ai-plugin.json
Embeddable Widgets
<!-- Price Ticker -->
<iframe src="https://your-domain.com/widget/ticker.html" />
<!-- News Carousel --> <iframe src="https://your-domain.com/widget/carousel.html" />
๐ฏ Feature Deep Dive
Market Heatmap
Visualize the entire crypto market at a glance with our interactive heatmap.
| Feature | Description | | ------------------------ | ----------------------------------------------------------- | | Size by Market Cap | Larger tiles = larger market cap (uses square root scaling) | | Color by Performance | Light = gains, Dark = losses (monochrome gradient) | | Timeframe Toggle | Switch between 24h and 7d performance | | Top N Filter | Show top 25, 50, or 100 coins | | Sort Options | Sort by market cap or absolute change | | Interactive Tiles | Click any coin to view details |
Color Scale:
+20%+โ Lightest (near white)+10%โ Light gray0%โ Mid gray-10%โ Dark gray-20%+โ Darkest (near black)
Advanced Screener
Find coins matching your exact criteria with powerful filters and presets.
Filter Options:
| Filter | Range | Example | | ------------ | ------- | --------------- | | Market Cap | Min/Max | $1B - $10B | | 24h Volume | Min/Max | $100M+ | | Price | Min/Max | $0.01 - $100 | | 24h Change | Min/Max | +5% to +50% | | ATH Distance | Min/Max | -10% (near ATH) |
Built-in Presets:
| Preset | Criteria | | --------------- | ----------------------- | | ๐ Large Caps | Market Cap > $10B | | ๐ฆ Mid Caps | $1B - $10B | | ๐ Small Caps | $100M - $1B | | ๐ฆ Micro Caps | < $100M | | ๐ฅ Hot Today | 24h Change > +10% | | ๐ Dipping | 24h Change < -10% | | ๐ฏ Near ATH | Within -10% of ATH | | ๐ Far From ATH | More than -50% from ATH | | ๐ High Volume | Volume > $1B |
Additional Features:
- Real-time search with instant filtering
- Multi-column sorting (click any header)
- Add to watchlist directly from results
- Export filtered results to CSV
Coin Comparison
Compare up to 5 cryptocurrencies side-by-side with synchronized charts.
Metrics Compared:
| Metric | Description | | ------------------ | --------------------------- | | Current Price | Live price in USD | | Market Cap | Total market capitalization | | 24h Volume | Trading volume | | 24h/7d/30d Change | Price change percentages | | All-Time High | ATH price and distance | | Circulating Supply | Coins in circulation |
Chart Features:
- Synchronized historical charts
- Time range: 24h, 7d, 30d, 90d, 1Y
- Normalized percentage view
- Share comparison via URL
Sentiment Analysis
Track market psychology with Fear & Greed metrics and social signals.
Fear & Greed Index:
| Value | Label | Market Condition | | ------ | ---------------- | ---------------------------- | | 0-20 | ๐ฑ Extreme Fear | Potential buying opportunity | | 21-40 | ๐ฐ Fear | Cautious sentiment | | 41-60 | ๐ Neutral | Balanced market | | 61-80 | ๐ Greed | Optimistic sentiment | | 81-100 | ๐ค Extreme Greed | Potential correction |
Dashboard Components:
- Real-time Fear & Greed gauge
- Historical sentiment chart (30 days)
- Bullish/Bearish/Neutral breakdown
- Social volume metrics
- Top trending coins by sentiment
Portfolio Tracker
Professional-grade portfolio management with real-time P&L.
Portfolio Features:
| Feature | Description | | ------------------- | ------------------------------------------ | | Holdings | Add coins with amount, buy price, and date | | Real-Time Value | Live portfolio value calculation | | P&L Tracking | Profit/loss per coin and total | | Cost Basis | Average purchase price calculation | | Allocation | Pie chart of portfolio distribution | | 24h Change | Daily portfolio performance |
Transaction Types:
- Buy โ Add to position
- Sell โ Reduce position
- Transfer โ Move between wallets
// Export format
{
"holdings": [
{
"coinId": "bitcoin",
"amount": 0.5,
"totalCost": 25000,
"averagePrice": 50000
}
],
"exportedAt": "2026-01-22T..."
}
Watchlist
Create and manage custom watchlists with real-time updates.
Features:
| Feature | Description | | ---------------------- | ------------------------------------ | | Unlimited Lists | Create multiple watchlists | | Drag & Drop | Reorder coins to your preference | | Quick Add | Star icon on any coin card | | Bulk Actions | Select multiple for batch operations | | Cross-Tab Sync | Changes sync instantly across tabs | | Persistent Storage | Saved to localStorage |
Export Formats:
- JSON โ Full data with metadata
- CSV โ Spreadsheet compatible
- Plain Text โ Simple list of symbols
Price Alerts
Set price targets and get notified when coins hit your levels.
Alert Types:
| Type | Trigger | | --------------- | ------------------------------------ | | Price Above | Notify when price exceeds target | | Price Below | Notify when price drops below target |
Alert Features:
- Multiple alerts per coin
- Real-time price monitoring
- Visual notification when triggered
- Alert history with timestamps
- Enable/disable individual alerts
BTC > $100,000 โ "Bitcoin just broke $100K!"
ETH < $2,000 โ "Ethereum dipped below $2K"
SOL > $200 โ "Solana hit your target"
DeFi Dashboard
Comprehensive DeFi analytics powered by DeFiLlama.
Protocol Data:
| Metric | Description | | -------------- | ------------------------------ | | TVL | Total Value Locked in protocol | | 24h Change | TVL change in last 24 hours | | 7d Change | TVL change over 7 days | | Category | DEX, Lending, Bridge, etc. | | Chains | Supported blockchains | | Audits | Security audit status |
Chain Analytics:
- TVL by chain (Ethereum, Solana, etc.)
- Chain dominance percentages
- Cross-chain protocol distribution
- Bridge TVL tracking
- ๐ DEXes (Uniswap, Curve, etc.)
- ๐ฆ Lending (Aave, Compound, etc.)
- ๐ Bridges (Stargate, Across, etc.)
- ๐ง Liquid Staking (Lido, Rocket Pool, etc.)
- ๐ Derivatives (GMX, dYdX, etc.)
- ๐ฐ Yield Aggregators (Yearn, Beefy, etc.)
Charts & Technical Data
Interactive price charts with multiple timeframes and data types.
Chart Types:
| Type | Description | | --------------- | --------------------------- | | Line Chart | Simple price over time | | OHLC | Open, High, Low, Close bars | | Candlestick | Traditional trading view |
Timeframes:
- 24 hours
- 7 days
- 30 days
- 90 days
- 1 year
- Max (all available data)
- Price history
- Volume overlay
- Market cap history
- Price change annotations
๐ฅ๏ธ Pages & Routes
Market Data
| Route | Description | | --------------------- | ----------------------------------- | | / | Markets dashboard with global stats | | /markets | Full coin rankings table | | /markets/trending | Trending coins | | /markets/gainers | Top gainers by % change | | /markets/losers | Top losers by % change | | /markets/categories | Browse by category | | /markets/exchanges | Exchange volume rankings | | /markets/new | Recently listed coins |
Coin Details
| Route | Description | | ---------------- | ------------------------------------------------ | | /coin/[coinId] | Detailed coin page with charts, stats, and links |
Analytics
| Route | Description | | -------------- | ---------------------------------------- | | /defi | DeFi dashboard with protocols & chains | | /heatmap | Visual market heatmap | | /screener | Advanced coin screener with filters | | /compare | Compare multiple coins | | /sentiment | Fear & Greed analysis | | /movers | Top movers overview | | /volatility | Volatility analysis & risk metrics | | /correlation | Asset correlation matrix | | /liquidations| Futures liquidation feed | | /derivatives | Funding rates & open interest | | /gas | Multi-chain gas tracker | | /unlocks | Token unlock schedule |
User Features
| Route | Description | | --------------- | ------------------------------- | | /portfolio | Portfolio tracker | | /watchlist | Saved coins watchlist | | /alerts | Manage price alerts | | /auth/signin | Sign in with OAuth/Magic Link | | /settings | User preferences |
AI Features
| Route | Description | | --------------- | -------------------------------- | | /ai | AI market analysis | | /ai/debate | Bull vs Bear AI debates | | /ask | Natural language queries |
๐ API Endpoints
All endpoints return JSON. Free tier requires no API key. Premium tier supports x402 micropayments.
Free API (v1)
# Get top 100 coins by market cap
curl "http://localhost:3000/api/market/coins"
Get coin details
curl "http://localhost:3000/api/market/snapshot/bitcoin"
Get price history (7 days)
curl "http://localhost:3000/api/market/history/bitcoin?days=7"
Search coins
curl "http://localhost:3000/api/market/search?q=ethereum"
DeFi protocols
curl "http://localhost:3000/api/defi"
Fear & Greed Index
curl "http://localhost:3000/api/sentiment"
Premium API (v2)
# GraphQL endpoint
curl -X POST "http://localhost:3000/api/v2/graphql" \
-H "Content-Type: application/json" \
-d '{"query": "{ coins(limit: 10) { id name price } }"}'
Batch requests (up to 10 coins)
curl "http://localhost:3000/api/v2/batch?coins=bitcoin,ethereum,solana"
Volatility metrics
curl "http://localhost:3000/api/v2/volatility/bitcoin"
AI-powered analysis
curl -X POST "http://localhost:3000/api/premium/ai/analyze" \
-H "Content-Type: application/json" \
-d '{"coin": "bitcoin", "prompt": "What is the outlook?"}'
Endpoint Reference
| Endpoint | Method | Description | | -------------------------------- | ------ | ------------------------------------ | | /api/market/coins | GET | Paginated coin list with market data | | /api/market/snapshot/[coinId] | GET | Detailed coin data | | /api/market/history/[coinId] | GET | Historical price data | | /api/market/ohlc/[coinId] | GET | OHLC candlestick data | | /api/market/search | GET | Search coins by name/symbol | | /api/market/categories | GET | List all categories | | /api/market/exchanges | GET | Exchange rankings | | /api/defi | GET | Protocol TVL rankings | | /api/trending | GET | Trending coins | | /api/sentiment | GET | Fear & Greed index | | /api/gas | GET | Multi-chain gas prices | | /api/v1/alerts | GET | Price alerts | | /api/v1/whales | GET | Whale transactions | | /api/v1/liquidations | GET | Futures liquidations | | /api/v1/derivatives | GET | Funding rates & open interest | | /api/v2/graphql | POST | GraphQL API (premium) | | /api/v2/batch | GET | Batch coin data (premium) | | /api/v2/webhooks | POST | Webhook management (premium) | | /api/v2/volatility/[coinId] | GET | Volatility metrics (premium) | | /api/premium/ai/analyze | POST | AI market analysis | | /api/premium/ai/debate | POST | Bull vs Bear debate | | /api/premium/screener | GET | Advanced screener | | /api/premium/whales | GET | Premium whale tracking |
๐ Power Features (Often Overlooked)
These powerful endpoints are frequently missed - try them out!
AI Intelligence
| Endpoint | Method | Description | | -------------------- | ------ | --------------------------------------------- | | /api/signals | GET | AI-generated trading signals with confidence | | /api/narratives | GET | Dominant market narratives (ETF, AI, DeFi) | | /api/entities | GET | Named entity extraction from news | | /api/factcheck | POST | Verify claims in crypto news | | /api/clickbait | POST | Score headline quality (0-100) | | /api/ask | POST | Natural language Q&A about crypto | | /api/digest | GET | AI-curated daily news digest | | /api/origins | GET | Trace news to original sources |
Advanced Analytics
| Endpoint | Method | Description | | ---------------------------- | ------ | ------------------------------------ | | /api/analytics/anomalies | GET | Unusual pattern detection | | /api/analytics/sources | GET | Source credibility scores | | /api/analytics/headlines | GET | Track headline edits over time | | /api/bitcoin/halving | GET | Halving countdown with estimates |
Developer Tools
| Endpoint | Method | Description | | ---------------------- | ------ | ------------------------------ | | /api/v2/graphql | POST | Full GraphQL API for queries | | /api/v2/batch | POST | Batch multiple API calls | | /api/atom | GET | Atom feed (alt to RSS) | | /api/opml | GET | OPML export for RSS readers | | /api/sse | GET | Server-Sent Events stream | | /api/article?url= | GET | Fetch & summarize any article | | /api/v2/openapi.json | GET | OpenAPI 3.1 specification | | /docs/swagger | GET | Interactive Swagger UI |
๐ See docs/API.md for complete API reference with examples.
๐ค AI Agents
This API is designed for AI agent discoverability with full x402 payment protocol support.
Discovery Files
AI agents can discover this API through standard discovery endpoints:
| File | URL | Description | | ------------------ | ----------------------------- | ------------------------------------ | | llms.txt | /llms.txt | Quick reference for LLMs | | llms-full.txt | /llms-full.txt | Extended documentation with examples | | agents.json | /agents.json | Machine-readable endpoint catalog | | ai-plugin.json | /.well-known/ai-plugin.json | OpenAI plugin manifest |
x402 Payment Protocol
This API supports the x402 payment protocol for autonomous micropayments:
| Feature | Details | | --------------- | -------------------------------------- | | Protocol | HTTP 402 Payment Required | | Networks | Base (mainnet), Base Sepolia (testnet) | | Asset | USDC | | Min Payment | $0.001 per request | | No API Keys | Just pay and access |
For AI Agent Developers
import { wrapAxiosWithPayment, x402Client } from '@x402/axios';
import { registerExactEvmScheme } from '@x402/evm/exact/client';
import axios from 'axios';
import { privateKeyToAccount } from 'viem/accounts';
// Setup wallet const account = privateKeyToAccount('0xYourPrivateKey'); const client = new x402Client(); registerExactEvmScheme(client, { signer: account });
// Create payment-enabled HTTP client const api = wrapAxiosWithPayment(axios.create({ baseURL: 'https://your-domain.com/api' }), client);
// Payments are handled automatically on 402 responses const response = await api.get('/market/snapshot/bitcoin');
Bazaar Discovery
This API is registered with the x402 Bazaar for autonomous discovery:
import { HTTPFacilitatorClient } from '@x402/core/http';
import { withBazaar } from '@x402/extensions';
const client = withBazaar( new HTTPFacilitatorClient({ url: 'https://x402.org/facilitator', }) );
// Discover crypto data endpoints const resources = await client.extensions.discovery.listResources({ type: 'http' });
๐ See docs/X402_INTEGRATION.md for complete x402 integration guide.
๐ก Data Sources
All data is fetched from free, public APIs โ no API keys required for basic usage.
CoinGecko
| Data Type | Endpoint | Rate Limit | | ------------ | -------------------------- | --------------- | | Coin Prices | /coins/markets | 10-50 calls/min | | Coin Details | /coins/{id} | 10-50 calls/min | | Historical | /coins/{id}/market_chart | 10-50 calls/min | | OHLC | /coins/{id}/ohlc | 10-50 calls/min | | Search | /search | 10-50 calls/min | | Trending | /search/trending | 10-50 calls/min | | Categories | /coins/categories | 10-50 calls/min | | Exchanges | /exchanges | 10-50 calls/min |
๐ก Pro Tip: Set COINGECKOAPIKEY for 500+ calls/min with Pro plan.
DeFiLlama
| Data Type | Endpoint | Rate Limit | | --------- | ----------------- | ---------- | | Protocols | /protocols | Unlimited | | TVL | /tvl/{protocol} | Unlimited | | Chains | /chains | Unlimited |
Alternative.me
| Data Type | Endpoint | Rate Limit | | ------------ | -------- | ---------- | | Fear & Greed | /fng/ | Unlimited |
๐ Command Palette
Power user's best friend โ access any feature instantly with Cmd+K / Ctrl+K.
Available Commands
Navigation: | Command | Description | |---------|-------------| | ๐ Go to Home | Navigate to markets dashboard | | ๐ Go to Markets | Full coin rankings | | ๐ฆ Go to DeFi | DeFi protocol dashboard | | ๐ฅ Go to Trending | Trending coins | | ๐ Go to Movers | Top gainers and losers | | โญ Go to Watchlist | Your saved coins | | ๐ผ Go to Portfolio | Portfolio tracker | | โ๏ธ Go to Compare | Coin comparison | | ๐ฅ Go to Heatmap | Market heatmap | | ๐ Go to Screener | Advanced screener |
Actions: | Command | Description | |---------|-------------| | ๐ Toggle Dark Mode | Switch theme | | ๐ Manage Alerts | Open alerts panel | | โจ๏ธ Keyboard Shortcuts | Show help modal |
Search: Type any coin name to search instantly!
โจ๏ธ Keyboard Shortcuts
Power user navigation โ works everywhere!
Navigation
| Key | Action | | --------- | ------------------------- | | j / k | Navigate down/up in lists | | Enter | Open selected item | | Escape | Close modal / blur input |
Quick Access (g + key)
| Key | Action | | ----- | --------------- | | g h | Go to Home | | g t | Go to Trending | | g w | Go to Watchlist | | g p | Go to Portfolio | | g c | Go to Compare | | g d | Go to DeFi |
Actions
| Key | Action | | -------------- | ----------------------------- | | / or Cmd+K | Open search / command palette | | d | Toggle dark mode | | ? | Show shortcuts help |
๐ฑ Progressive Web App (PWA)
Install Crypto Data Aggregator as an app on any device!
Features
| Feature | Description | | ------------------- | -------------------------------------- | | ๐ฒ Installable | Add to home screen on mobile & desktop | | ๐ด Offline Mode | Browse cached data without internet | | โก Fast Loading | Aggressive caching strategies | | ๐ Auto Updates | Seamless background updates |
Install
Desktop (Chrome/Edge):
- Click the install icon in the address bar
- Or use Menu โ "Install Crypto Data Aggregator"
- Open in Safari (iOS) or Chrome (Android)
- Tap "Add to Home Screen"
๐ Deployment
One-Click Deploy
Docker
# Build and run
docker build -t crypto-data-aggregator .
docker run -p 3000:3000 crypto-data-aggregator
Manual Deployment
# Install dependencies
npm install
Build for production
npm run build
Start production server
npm start
๐ง Environment Variables
| Variable | Required | Default | Description | | -------------------------- | -------- | ---------------------------------- | ---------------------------------- | | Market Data | | | | | COINGECKOAPIKEY | No | - | Pro API key for higher rate limits | | COINGECKOBASEURL | No | https://api.coingecko.com/api/v3 | API base URL | | DEFILLAMABASEURL | No | https://api.llama.fi | DeFiLlama API URL | | Authentication | | | | | AUTH_SECRET | Yes* | - | NextAuth secret (for OAuth) | | GOOGLECLIENTID | No | - | Google OAuth client ID | | GOOGLECLIENTSECRET | No | - | Google OAuth client secret | | GITHUBCLIENTID | No | - | GitHub OAuth client ID | | GITHUBCLIENTSECRET | No | - | GitHub OAuth client secret | | DISCORDCLIENTID | No | - | Discord OAuth client ID | | DISCORDCLIENTSECRET | No | - | Discord OAuth client secret | | TWITTERCLIENTID | No | - | Twitter OAuth client ID | | TWITTERCLIENTSECRET | No | - | Twitter OAuth client secret | | Email | | | | | RESENDAPIKEY | No | - | Resend API key for email | | AI Providers | | | | | OPENAIAPIKEY | No | - | OpenAI API key for AI features | | ANTHROPICAPIKEY | No | - | Anthropic Claude API key | | GROQAPIKEY | No | - | Groq API key (fast inference) | | Storage | | | | | UPSTASHREDISREST_URL | No | - | Upstash Redis URL | | UPSTASHREDISREST_TOKEN | No | - | Upstash Redis token | | Exchange APIs | | | | | BINANCEAPIKEY | No | - | Binance API key for portfolio sync | | BINANCEAPISECRET | No | - | Binance API secret | | COINBASEAPIKEY | No | - | Coinbase API key | | KRAKENAPIKEY | No | - | Kraken API key | | x402 Payments | | | | | X402PRIVATEKEY | No | - | Wallet private key for x402 | | X402FACILITATORURL | No | https://x402.org/facilitator | x402 facilitator URL |
*Required only if using authentication features.
Create .env.local for local development:
# Required for authentication
AUTH_SECRET=your-random-secret-key
Optional: For production with higher rate limits
COINGECKOAPIKEY=yourapikey
COINGECKOBASEURL=https://pro-api.coingecko.com/api/v3
Optional: For AI features
OPENAIAPIKEY=sk-...
Optional: For email notifications
RESENDAPIKEY=re_...
Optional: For Redis caching
UPSTASHREDISREST_URL=https://...
UPSTASHREDISREST_TOKEN=...
๐ก Note: No API keys required for basic usage! The free tier works great for development and
small-scale deployments.
๐ ๏ธ Tech Stack
| Layer | Technology | | ----------------- | ------------------------------------------------------------------------------------------------------------------------- | | Framework | Next.js 16 with App Router | | Language | TypeScript 5 | | Styling | Tailwind CSS 4 | | Data Fetching | SWR with stale-while-revalidate | | Charts | Recharts | | Animations | Framer Motion | | Icons | Lucide React + Heroicons | | Testing | Vitest + Playwright + Testing Library | | i18n | next-intl with 18 languages | | Auth | NextAuth.js with OAuth + Magic Links | | Email | Resend for transactional email | | Storage | Upstash Redis with memory fallback | | APIs | CoinGecko โข DeFiLlama โข Alternative.me โข Whale Alert |
Supported Languages
๐บ๐ธ English โข ๐ช๐ธ Espaรฑol โข ๐ซ๐ท Franรงais โข ๐ฉ๐ช Deutsch โข ๐ฎ๐น Italiano โข ๐ต๐น Portuguรชs โข ๐ณ๐ฑ Nederlands โข ๐ต๐ฑ Polski โข ๐ท๐บ ะ ัััะบะธะน โข ๐น๐ท Tรผrkรงe โข ๐ธ๐ฆ ุงูุนุฑุจูุฉ โข ๐ฏ๐ต ๆฅๆฌ่ช โข ๐ฐ๐ท ํ๊ตญ์ด โข ๐จ๐ณ ็ฎไฝไธญๆ โข ๐น๐ผ ็น้ซไธญๆ โข ๐ป๐ณ Tiแบฟng Viแปt โข ๐น๐ญ เนเธเธข โข ๐ฎ๐ฉ Indonesia
โก Caching & Performance
Multi-layer caching strategy for optimal performance and API efficiency.
Caching Layers
| Layer | TTL | Purpose | | ----------------- | ------------ | ---------------------------------- | | Memory Cache | 30s-5min | Server-side request deduplication | | SWR Cache | Configurable | Client-side stale-while-revalidate | | ISR | 60s | Incremental Static Regeneration | | Browser Cache | Varies | HTTP cache headers |
Cache TTL by Data Type
| Data Type | TTL | Reason | | --------------- | ---------- | --------------------- | | Coin Prices | 30 seconds | Real-time market data | | Coin List | 5 minutes | Rarely changes | | Historical Data | 10 minutes | Immutable past data | | DeFi TVL | 2 minutes | Updates frequently | | Fear & Greed | 5 minutes | Daily updates | | Categories | 1 hour | Rarely changes | | Exchanges | 5 minutes | Volume updates |
Performance Features
- Edge Runtime โ API routes run on the edge for low latency
- Request Deduplication โ Multiple simultaneous requests share one API call
- Stale-While-Revalidate โ Show cached data while fetching fresh
- Incremental Static Regeneration โ Pages rebuild on-demand
- Code Splitting โ Load only what's needed
๐ Project Structure
crypto-data-aggregator/
โโโ src/
โ โโโ app/ # Next.js App Router pages
โ โ โโโ api/ # 100+ API routes
โ โ โ โโโ market/ # Market data endpoints
โ โ โ โโโ v1/ # Free tier API
โ โ โ โโโ v2/ # Premium tier API
โ โ โ โโโ premium/ # Paid features (AI, screener)
โ โ โ โโโ auth/ # OAuth & magic links
โ โ โ โโโ exchanges/ # Exchange sync
โ โ โ โโโ webhooks/ # Webhook management
โ โ โโโ coin/[coinId]/ # Coin detail pages
โ โ โโโ compare/ # Coin comparison
โ โ โโโ correlation/ # Correlation matrix
โ โ โโโ defi/ # DeFi dashboard
โ โ โโโ derivatives/ # Derivatives dashboard
โ โ โโโ gas/ # Gas tracker
โ โ โโโ heatmap/ # Market heatmap
โ โ โโโ liquidations/ # Liquidation feed
โ โ โโโ markets/ # Market listings
โ โ โโโ portfolio/ # Portfolio tracker
โ โ โโโ screener/ # Advanced screener
โ โ โโโ sentiment/ # Sentiment analysis
โ โ โโโ volatility/ # Volatility analysis
โ โ โโโ watchlist/ # User watchlist
โ โโโ components/ # 100+ React components
โ โ โโโ portfolio/ # Portfolio components
โ โ โโโ watchlist/ # Watchlist components
โ โ โโโ alerts/ # Alert components
โ โ โโโ auth/ # Auth UI components
โ โ โโโ ... # Shared components
โ โโโ lib/ # 70+ utility modules
โ โโโ market-data.ts # CoinGecko API client
โ โโโ defillama.ts # DeFiLlama client
โ โโโ cache.ts # Memory caching layer
โ โโโ storage.ts # Redis/memory storage
โ โโโ auth.ts # Authentication logic
โ โโโ email.ts # Resend email service
โ โโโ exchange-sync.ts # Exchange API integrations
โ โโโ ai-providers.ts # OpenAI/Anthropic/Groq
โ โโโ x402.ts # x402 micropayments
โโโ sdk/ # Official SDKs
โ โโโ python/ # Python SDK
โ โโโ typescript/ # TypeScript SDK
โ โโโ react/ # React hooks & components
โ โโโ go/ # Go SDK
โ โโโ php/ # PHP SDK
โ โโโ javascript/ # Browser/Node.js SDK
โโโ cli/ # Command line tool
โโโ mcp/ # MCP server for AI agents
โโโ extension/ # Chrome browser extension
โโโ raycast/ # Raycast extension
โโโ widget/ # Embeddable widgets
โโโ examples/ # Integration examples
โโโ chatgpt/ # ChatGPT plugin
โโโ docs/ # Documentation
โโโ public/ # Static assets & PWA files
โโโ scripts/ # Build & setup scripts
๐ Documentation
| Document | Description | | -------------------------------------------- | --------------------------------------------- | | Documentation Index | Full documentation overview | | API Reference | Complete endpoint documentation with examples | | Architecture | System design, data flow & caching strategy | | Tech Stack | Technologies, libraries & tools | | Components | UI component library & usage | | Data Sources | External APIs & caching strategies | | Development | Local setup, debugging & workflow | | Testing | Vitest setup, mocking & coverage | | Deployment | Vercel, Railway, Docker, self-hosting | | Performance | Optimization strategies & monitoring | | Security | Security practices & hardening | | Authentication | OAuth, magic links & session management | | PWA Guide | Progressive Web App features | | x402 Integration | Micropayments & API monetization | | AI Agents | MCP server & AI integrations | | Troubleshooting | Common issues & solutions | | Changelog | Version history & upgrades |
Integration Examples
| Example | Description | | ---------------------------------- | ------------------------------------ | | Discord Bot | Discord bot for crypto updates | | Slack Bot | Slack integration for news | | Telegram Bot | Telegram bot with Python | | Telegram Digest | Daily digest bot | | LangChain Tool| LangChain integration for AI agents | | x402 Payment | x402 micropayment example | | Real-time Stream | WebSocket streaming client | | API Key Usage | API key authentication example |
๐งช Development
# Install dependencies
npm install
Start development server
npm run dev
Run tests
npm test
Run tests with UI
npm run test:ui
Type checking
npm run typecheck
Linting
npm run lint
Format code
npm run format
Run all checks
npm run check-all
๐ค Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
# Fork the repository
Create a feature branch
git checkout -b feature/amazing-feature
Commit changes
git commit -m 'Add amazing feature'
Push to branch
git push origin feature/amazing-feature
Open a Pull Request
๐ License
MIT License โ See LICENSE for details.
Stop paying for crypto data APIs.
Made with ๐ for the community
โญ Found this useful? Give it a star! โญ
It helps others discover this project
โญ Star โข ๐ Report Bug โข ๐ฌ Discussions
.
ERC-8004 Keywords & SEO Terms
Comprehensive keyword list for ERC-8004 Trustless Agents ecosystem
Core Protocol Keywords
ERC-8004, ERC8004, EIP-8004, EIP8004, Trustless Agents, trustless agent, trustless AI, trustless AI agents, agent protocol, agent standard, Ethereum agent standard, blockchain agent protocol, on-chain agents, onchain agents, on-chain AI, onchain AI, decentralized agents, decentralized AI agents, autonomous agents, autonomous AI agents, AI agent protocol, AI agent standard, agent discovery, agent trust, agent reputation, agent validation, agent identity, agent registry, identity registry, reputation registry, validation registry, agent NFT, ERC-721 agent, agent tokenId, agentId, agentURI, agentWallet, agent registration, agent registration file, agent-registration.json, agent card, agent metadata, agent endpoints, agent discovery protocol, agent trust protocol, open agent protocol, open agent standard, permissionless agents, permissionless AI, censorship-resistant agents, portable agent identity, portable AI identity, verifiable agents, verifiable AI agents, accountable agents, accountable AI, agent accountability
Blockchain & Web3 Keywords
Ethereum, Ethereum mainnet, ETH, EVM, Ethereum Virtual Machine, smart contracts, Solidity, blockchain, decentralized, permissionless, trustless, on-chain, onchain, L2, Layer 2, Base, Optimism, Polygon, Linea, Arbitrum, Scroll, Monad, Gnosis, Celo, Sepolia, testnet, mainnet, singleton contracts, singleton deployment, ERC-721, NFT, non-fungible token, tokenURI, URIStorage, EIP-712, ERC-1271, wallet signature, EOA, smart contract wallet, gas fees, gas sponsorship, EIP-7702, subgraph, The Graph, indexer, blockchain indexing, IPFS, decentralized storage, content-addressed, immutable data, public registry, public good, credibly neutral, credibly neutral infrastructure, open protocol, open standard, Web3, crypto, cryptocurrency, DeFi, decentralized finance
AI & Agent Technology Keywords
AI agents, artificial intelligence agents, autonomous AI, AI autonomy, LLM agents, large language model agents, machine learning agents, ML agents, AI assistant, AI chatbot, intelligent agents, software agents, digital agents, virtual agents, AI automation, automated agents, agent-to-agent, A2A, A2A protocol, Google A2A, Agent2Agent, MCP, Model Context Protocol, agent communication, agent interoperability, agent orchestration, agent collaboration, multi-agent, multi-agent systems, agent capabilities, agent skills, agent tools, agent prompts, agent resources, agent completions, AgentCard, agent card, agent endpoint, agent service, AI service, AI API, agent API, AI infrastructure, agent infrastructure, agentic, agentic web, agentic economy, agentic commerce, agent economy, agent marketplace, AI marketplace, agent platform, AI platform
Trust & Reputation Keywords
trust, trustless, reputation, reputation system, reputation protocol, reputation registry, feedback, client feedback, user feedback, on-chain feedback, on-chain reputation, verifiable reputation, portable reputation, reputation aggregation, reputation scoring, reputation algorithm, trust signals, trust model, trust verification, trust layer, recursive reputation, reviewer reputation, spam prevention, Sybil attack, Sybil resistance, anti-spam, feedback filtering, trusted reviewers, rating, rating system, quality rating, starred rating, uptime rating, success rate, response time, performance history, track record, audit trail, immutable feedback, permanent feedback, feedback response, appendResponse, giveFeedback, revokeFeedback, feedback tags, feedback value, valueDecimals, feedbackURI, feedbackHash, clientAddress, reviewer address
Validation & Verification Keywords
validation, validation registry, validator, validator contract, cryptographic validation, cryptographic proof, cryptographic attestation, zero-knowledge, ZK, zkML, zero-knowledge machine learning, ZK proofs, trusted execution environment, TEE, TEE attestation, TEE oracle, stake-secured, staking validators, crypto-economic security, inference re-execution, output validation, work verification, third-party validation, independent validation, validation request, validation response, validationRequest, validationResponse, requestHash, responseHash, verifiable computation, verified agents, verified behavior, behavioral validation, agent verification
Payment & Commerce Keywords
x402, x402 protocol, x402 payments, programmable payments, micropayments, HTTP payments, pay-per-request, pay-per-task, agent payments, AI payments, agent monetization, AI monetization, agent commerce, AI commerce, agentic commerce, agent economy, AI economy, agent marketplace, service marketplace, agent-to-agent payments, A2A payments, stablecoin payments, USDC, crypto payments, on-chain payments, payment settlement, programmable settlement, proof of payment, proofOfPayment, payment receipt, payment verification, Coinbase, Coinbase x402, agent pricing, API pricing, service pricing, subscription, API keys, revenue, trading yield, cumulative revenues, agent wallet, payment address, toAddress, fromAddress, txHash
Discovery & Registry Keywords
agent discovery, service discovery, agent registry, identity registry, agent registration, register agent, mint agent, agent NFT, agent tokenId, agent browsing, agent explorer, agent scanner, 8004scan, 8004scan.io, agentscan, agentscan.info, 8004agents, 8004agents.ai, agent leaderboard, agent ranking, top agents, agent listing, agent directory, agent catalog, agent index, browse agents, search agents, find agents, discover agents, agent visibility, agent discoverability, no-code registration, agent creation, create agent, my agents, agent owner, agent operator, agent transfer, transferable agent, portable agent
Endpoints & Integration Keywords
endpoint, agent endpoint, service endpoint, API endpoint, MCP endpoint, A2A endpoint, web endpoint, HTTPS endpoint, HTTP endpoint, DID, decentralized identifier, ENS, Ethereum Name Service, ENS name, agent.eth, vitalik.eth, email endpoint, OASF, Open Agent Specification Format, endpoint verification, domain verification, endpoint ownership, .well-known, well-known, agent-registration.json, endpoint domain, endpoint URL, endpoint URI, base64 data URI, on-chain metadata, off-chain metadata, metadata storage, JSON metadata, agent JSON, registration JSON
SDK & Developer Tools Keywords
SDK, Agent0 SDK, Agent0, ChaosChain SDK, ChaosChain, Lucid Agents, Daydreams AI, create-8004-agent, npm, TypeScript SDK, Python SDK, JavaScript, Solidity, smart contract, ABI, contract ABI, deployed contracts, contract addresses, Hardhat, development tools, developer tools, dev tools, API, REST API, GraphQL, subgraph, The Graph, indexer, blockchain explorer, Etherscan, contract verification, open source, MIT license, CC0, public domain, GitHub, repository, code repository, documentation, docs, best practices, reference implementation
Ecosystem & Community Keywords
ecosystem, community, builder, builders, developer, developers, contributor, contributors, partner, partners, collaborator, collaborators, co-author, co-authors, MetaMask, Ethereum Foundation, Google, Coinbase, Consensys, AltLayer, Virtuals Protocol, Olas, EigenLayer, Phala, ElizaOS, Flashbots, Polygon, Base, Optimism, Arbitrum, Scroll, Linea, Monad, Gnosis, Celo, Near Protocol, Filecoin, Worldcoin, ThirdWeb, ENS, Collab.land, DappRadar, Giza Tech, Theoriq, OpenServ, Questflow, Semantic, Semiotic, Cambrian, Nevermined, Oasis, Towns Protocol, Warden Protocol, Terminal3, Pinata Cloud, Silence Labs, Rena Labs, Index Network, Trusta Network, Turf Network
Key People & Organizations Keywords
Marco De Rossi, MetaMask AI Lead, Davide Crapis, Ethereum Foundation AI, Head of AI, Jordan Ellis, Google engineer, Erik Reppel, Coinbase engineering, Head of Engineering, Sumeet Chougule, ChaosChain founder, YQ, AltLayer co-founder, Wee Kee, Virtuals contributor, Cyfrin audit, Nethermind audit, Ethereum Foundation Security Team, security audit, audited contracts
Use Cases & Applications Keywords
trading bot, DeFi agent, yield optimizer, data oracle, price feed, analytics agent, research agent, coding agent, development agent, automation agent, task agent, workflow agent, portfolio management, asset management, supply chain, service agent, API service, chatbot, AI assistant, virtual assistant, personal agent, enterprise agent, B2B agent, agent-as-a-service, AaaS, SaaS agent, AI SaaS, delegated agent, proxy agent, helper agent, worker agent, coordinator agent, orchestrator agent, validator agent, auditor agent, insurance agent, scoring agent, ranking agent
Technical Specifications Keywords
ERC-8004 specification, EIP specification, Ethereum Improvement Proposal, Ethereum Request for Comment, RFC 2119, RFC 8174, MUST, SHOULD, MAY, OPTIONAL, REQUIRED, interface, contract interface, function signature, event, emit event, indexed event, storage, contract storage, view function, external function, public function, uint256, int128, uint8, uint64, bytes32, string, address, array, struct, MetadataEntry, mapping, modifier, require, revert, transfer, approve, operator, owner, tokenId, URI, hash, keccak256, KECCAK-256, signature, deadline
Events & Conferences Keywords
8004 Launch Day, Agentic Brunch, Builder Nights Denver, Trustless Agent Day, Devconnect, ETHDenver, community call, meetup, hackathon, workshop, conference, summit, builder program, grants, bounties, ecosystem fund
News & Media Keywords
announcement, launch, mainnet launch, testnet launch, protocol update, upgrade, security review, audit, milestone, breaking news, ecosystem news, agent news, AI news, blockchain news, Web3 news, crypto news, DeFi news, newsletter, blog, article, press release, media coverage
Competitor & Alternative Keywords
agent framework, agent platform, AI platform, centralized agents, closed agents, proprietary agents, gatekeeper, intermediary, platform lock-in, vendor lock-in, data silos, walled garden, open alternative, decentralized alternative, permissionless alternative, trustless alternative
Future & Roadmap Keywords
cross-chain, multi-chain, chain agnostic, bridge, interoperability, governance, community governance, decentralized governance, DAO, protocol upgrade, upgradeable contracts, UUPS, proxy contract, ER
README truncated. View on GitHub