FeeScout — Real-Time Gas Fee Comparison API (Source Code)
by Chaotically Organized AI
$49
Stop overpaying on gas. Stop guessing which chain is cheapest.
FeeScout is a real-time gas fee comparison API that aggregates live transaction fee data across 27+ blockchains and tells you the cheapest chain — right now.
Full Python source code. Deploy to Vercel in 3 commands. MIT license.
---
### What You Get
- Complete Python source code — API, dashboard, fee engine, everything
- Vercel deploy config — vercel --prod and you're live
- HTML dashboard — visual fee comparison, ready to use
- .env template with all variables documented
- MIT license — commercial use allowed
---
### What It Does
| Feature | Details |
|---------|---------|
| 27+ chains | Bitcoin, Ethereum, Solana, Polygon, Arbitrum, Base, Avalanche, and more |
| Cheapest chain API | /api/gas-fees/cheapest — one call, best chain right now |
| Latest fees API | /api/gas-fees/latest — all chains, current fees |
| Auto-refresh | Fees refreshed every 60 seconds — no stale data |
| Dashboard | HTML dashboard with visual comparison |
| SEO-ready | sitemap.xml, robots.txt, privacy policy included |
---
### API Examples
```bash
# Get the cheapest chain right now
curl https://your-api.vercel.app/api/gas-fees/cheapest
# → { "chain": "polygon", "fee_gwei": 12.4, "fee_usd": 0.002 }
# Get all chain fees
curl https://your-api.vercel.app/api/gas-fees/latest
# → [{ "chain": "ethereum", "fee_gwei": 24.1 }, ...]
```
---
### Deploy (3 commands)
```bash
npm i -g vercel
vercel login
vercel --prod
```
Add your BLOCKCHAIR_API_KEY in Vercel environment variables. That's it.
---
### Tech Stack
- Backend: Python (Vercel serverless functions)
- Data Source: Blockchair API (27+ chains)
- Frontend Dashboard: Pure HTML/CSS/JS (no framework needed)
- Deploy: Vercel with vercel.json config included
---
### Who This Is For
- Wallet developers who want to auto-route to the cheapest chain
- DeFi protocols needing real-time fee data for gas optimization
- Payment processors comparing cross-chain transaction costs
- Crypto traders who want a fee dashboard on their own domain
- Developers building fee-aware tools who don't want to build from scratch
---
### What You Could Build With This
- Wallet plugin: Show "Switch to Polygon — save 94% on gas" in your wallet
- Bridge router: Auto-route swaps through the cheapest L2
- Fee alerts: Push notification when ETH gas drops below your target
- Analytics dashboard: Track fee trends across chains over time
- SaaS API: Wrap it, add rate limiting + API keys, charge developers for access
---
### License
MIT. Build on it. Sell access to your own version. No restrictions.
---
Find the cheapest chain, every time.