Access Scan2Moon's on-chain intelligence programmatically. Subscribe with an API key, pay per call with crypto, or add as a native Claude tool via MCP — no account required for AI agents.
◆ Get API Key/keyStatus endpoint2NYUevD2m8eRvHFsT3JvDy8poxiWNVEKXqnDvXWrZpyC
The x402 open protocol, designed for AI agents. No account needed. Sign an ERC-3009 USDC authorisation, pass it in X-Payment, done.
Native Solana path for devs already in the ecosystem. Send USDC-SPL to our wallet, pass the transaction signature in X-Solana-Payment.
X-Api-Key (plan-based) •
2. X-Payment (x402 / Base USDC) •
3. X-Solana-Payment (Solana USDC-SPL) •
4. Browser request from scan2moon.com (IP rate limited).
External callers with no credential receive a 402 Payment Required response with full machine-readable payment instructions.
curl https://scan2moon.com/.netlify/functions/prices
curl -i https://scan2moon.com/.netlify/functions/devWallet?wallet=WALLET_ADDRESS
HTTP/2 402
{
"x402Version": 1,
"accepts": [{
"scheme": "exact",
"network": "base",
"maxAmountRequired": "5000",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"payTo": "0x57fe97c1be493f100514aaa8ab1adda713ca5ffb",
"maxTimeoutSeconds": 300,
"resource": "https://scan2moon.com/.netlify/functions/devWallet"
}]
}
import { wrapFetch } from "x402-fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount("0x_YOUR_PRIVATE_KEY");
const fetchWithPayment = wrapFetch(fetch, account);
const res = await fetchWithPayment(
"https://scan2moon.com/.netlify/functions/devWallet?wallet=WALLET_ADDRESS"
);
const data = await res.json();
import { Connection, PublicKey, Transaction,
createTransferInstruction, getOrCreateAssociatedTokenAccount } from "@solana/spl-token";
const connection = new Connection("https://api.mainnet-beta.solana.com");
const USDC_MINT = new PublicKey("EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v");
const RECIPIENT = new PublicKey("2NYUevD2m8eRvHFsT3JvDy8poxiWNVEKXqnDvXWrZpyC");
const AMOUNT = 5000; // 0.005 USDC (6 decimals)
const senderATA = await getOrCreateAssociatedTokenAccount(connection, payer, USDC_MINT, payer.publicKey);
const recipientATA = await getOrCreateAssociatedTokenAccount(connection, payer, USDC_MINT, RECIPIENT);
const tx = new Transaction().add(
createTransferInstruction(senderATA.address, recipientATA.address, payer.publicKey, AMOUNT)
);
const signature = await connection.sendTransaction(tx, [payer]);
await connection.confirmTransaction(signature, "confirmed");
const res = await fetch(
"https://scan2moon.com/.netlify/functions/devWallet?wallet=WALLET_ADDRESS",
{ headers: { "X-Solana-Payment": signature } }
);
const data = await res.json();
analyze_wallet, get_new_pairs, get_smart_money,
predict_lp_pull, detect_bundle_attack, and batch_risk_score
autonomously — no copy-pasting addresses or API responses needed.
claude_desktop_config.json for always-on Solana intelligence in your desktop app.
export SCAN2MOON_API_KEY=s2m_your_key_here claude mcp add scan2moon -- npx scan2moon-mcp
# Claude now has direct access — just ask in plain English: "Analyze this wallet and tell me if the dev is a serial rugger: 9WzDXwBb..." "Show me new Solana pairs from the last hour with low risk" "Check if this token has a bundle attack: EPjFWdd5..." "Who are the top 10 smart money wallets on Solana right now?"
{
"mcpServers": {
"scan2moon": {
"command": "npx",
"args": ["scan2moon-mcp"],
"env": {
"SCAN2MOON_API_KEY": "s2m_your_key_here"
}
}
}
}
# Uses your Base/EVM wallet to pay $0.001–$0.01 USDC per call automatically # Requires: npm install x402-fetch viem (in the same environment) export SCAN2MOON_PRIVATE_KEY=0x_your_base_private_key claude mcp add scan2moon -- npx scan2moon-mcp
npm install @scan2moon/eliza-plugin
import { scan2moonPlugin } from "@scan2moon/eliza-plugin";
export const character = {
name: "MyAgent",
plugins: [scan2moonPlugin],
settings: {
secrets: {
SCAN2MOON_API_KEY: "s2m_your_key_here" // free at scan2moon.com/api-portal.html
}
}
};
X-Api-Key header or ?apiKey= query parameter.
Daily counters reset at midnight UTC.
curl -H "X-Api-Key: s2m_your_key_here" \
"https://scan2moon.com/.netlify/functions/devWallet?wallet=WALLET"
Full deployment history for any Solana wallet. Every token the address launched, classified ACTIVE / DEAD / DUMPED / RUG with liquidity & price data. Aggregate rug rate. Unique Scan2Moon data.
{ "wallet":"...", "totalDeployed":7, "rugCount":2, "rugRate":28.6,
"tokens":[{ "mint":"...", "status":"ACTIVE", "liquidity":45200, "mc":890000 }] }
LP pull probability score (0–100). Combines LP burn/lock %, pool age, mint authority, creator holdings, top-10 concentration, deployer rug history. Named signal breakdown included.
{ "mint": "TOKEN_MINT_ADDRESS", "creator": "DEPLOYER_WALLET" }
{ "score":72, "risk":"MEDIUM", "signals":[{ "label":"LP Burn","value":"85%","delta":20 }],
"lpBurnPct":85, "poolAgeDays":14.3, "mintAuthority":"Renounced" }
Detects coordinated wallet bundling at token launch. Early buyer clustering, common SOL funder tracing (unique signal via Helius raw RPC), estimated real controllers. Bundle safety score 0–100.
{ "mint": "TOKEN_MINT_ADDRESS", "hasGraduated": false }
{ "bundleScore":82, "verdict":"CLEAN", "earlyPct":4,
"commonFunderDetected":false, "estimatedControllers":11 }
Classified wallet leaderboard built from every Whale DNA scan. Filter by archetype, sort by copy score, win rate, or value. Grows with every user scan.
?archetype=smart_money&sort=win_rate&limit=20
Live new token feed from Scan2Moon's detection pipeline, updated every 2 minutes. Pre-scored risk level, liquidity, market cap, holder count, and on-chain launch time. 7-day rolling window.
Machine-readable pricing discovery. Returns all endpoint prices, Base x402 payment requirements, and Solana payment instructions. Designed for agent auto-discovery.
| Status | Meaning | Action |
|---|---|---|
| 200 | OK | Success |
| 400 | Bad Request | Fix request params |
| 401 | Unauthorized | API key invalid or revoked |
| 402 | Payment Required | Read the accepts[] field and pay |
| 429 | Too Many Requests | Daily plan limit hit or IP rate limit |
| 502 | Bad Gateway | Upstream data source unavailable — retry |
Enter your email — your key is created instantly. No approval, no credit card. Need higher limits? Upgrade with USDC.