madeonsol
Official Rust SDK for the MadeOnSol Solana API — typed,
async, tokio-based, rustls-only.
Real-time Solana trading intelligence: track 1,000+ KOL wallets with <3s latency, score 6,700+ Pump.fun deployers by reputation, detect multi-KOL coordination signals, and stream every DEX trade across 9+ programs.
Free tier: 200 requests/day at https://madeonsol.com/developer — no credit card required.
Get an API key
- Visit https://madeonsol.com/developer
- Sign in with email or Solana wallet
- Copy your
msk_…key (free tier is unlocked instantly — 200 req/day, 10/min)
Paid tiers unlock higher rate limits, sub-hour windows, WebSocket streaming, webhooks, and the all-DEX firehose:
| Tier | Price | Daily req | KOL trending sub-hour | Stream | Webhooks | DEX firehose |
|---|---|---|---|---|---|---|
| Free | $0 | 200 | — | — | — | — |
| PRO | $49/mo | 10,000 | ✅ | ✅ | 3 | — |
| ULTRA | $149/mo | 100,000 | ✅ | ✅ | 10 | ✅ |
Annual: PRO $490/yr, ULTRA $1990/yr (2 months free).
Install
[]
= "0.1"
= { = "1", = ["macros", "rt-multi-thread"] }
Requires Rust 1.75+. Uses reqwest with rustls-tls (no OpenSSL dependency).
Quick start
use ;
async
Run the bundled examples:
Namespaces
The MadeOnSol client exposes eight namespaced sub-clients:
| Namespace | Purpose |
|---|---|
client.kol |
KOL feed, leaderboard, coordination, PnL, trending tokens, alerts, compare |
client.deployer |
Pump.fun deployer leaderboard, alerts, trajectory, bonded tokens |
client.alpha |
Alpha-wallet leaderboard, profiles, cap tables, buyer quality |
client.wallet_tracker |
Track arbitrary Solana wallets — watchlist CRUD, swap/transfer history |
client.coordination_alerts |
Push alerts on coordinated buying (PRO/ULTRA) |
client.tools |
Solana tool directory search |
client.stream |
Issue 24h WebSocket streaming tokens |
client.webhooks |
Webhook CRUD (PRO/ULTRA) |
Full reference: https://docs.rs/madeonsol · Interactive API docs: https://madeonsol.com/api-docs.
Use cases
- Copy-trading bot — stream KOL buys via
client.kol.feed()and mirror trades - DEX trade sniping — subscribe to the all-DEX stream filtered by token / wallet
- Deployer sniper — monitor
client.deployer.alerts()for elite-tier launches - Coordination detector — flag tokens with
client.kol.coordination()or push alerts - Analytics dashboard — combine leaderboard, PnL, and tool data
- Telegram/Discord bot — pipe alerts via webhooks into chat
- Portfolio tracker — use
client.kol.wallet()to follow specific KOL positions
Error handling
All methods return Result<T, madeonsol::Error>. The Error::Api variant exposes
HTTP status, server message, and the raw JSON body:
use ;
# async
Error::MissingApiKey is returned by MadeOnSol::new if the key is empty or
doesn't start with msk_ — the error message and a stderr hint both link to
https://madeonsol.com/developer.
WebSocket streams (PRO/ULTRA)
This crate does not ship a WebSocket client — client.stream.get_token()
returns the URL + token, and you connect with any WS library
(tokio-tungstenite recommended):
# async
The DEX firehose URL (token.dex_ws_url) is only present for ULTRA subscribers.
See https://madeonsol.com/api-docs for the full subscribe/unsubscribe protocol.
Also available
| Platform | Package |
|---|---|
| TypeScript / Node | madeonsol on npm |
| Python (LangChain, CrewAI) | madeonsol-x402 on PyPI |
| MCP Server (Claude, Cursor) | mcp-server-madeonsol |
| ElizaOS | @madeonsol/plugin-madeonsol |
| Solana Agent Kit | solana-agent-kit-plugin-madeonsol |
Links
- API docs: https://madeonsol.com/api-docs (interactive try-it-now)
- OpenAPI 3.1 spec: https://madeonsol.com/api/v1/openapi.json
- Postman collection: https://madeonsol.com/api/v1/postman.json
- Pricing & free key: https://madeonsol.com/developer
- Issues: https://github.com/LamboPoewert/madeonsol-rs/issues
License
MIT © MadeOnSol