x402_intelligence
Analyze cryptocurrency investments by aggregating market data, news, development activity, and sentiment indicators into comprehensive AI-synthesized intelligence reports.
Instructions
Get comprehensive multi-source intelligence analysis for a cryptocurrency. Price: $0.10 USDC per query.
Aggregates data from CoinGecko (market), DeFiLlama (TVL/DeFi), CryptoPanic (news), Fear & Greed Index (psychology), and GitHub (development activity). All data synthesized by Claude AI for actionable insights.
This is the premium tier — use x402_sentiment ($0.01) for quick sentiment only. Without X402_PRIVATE_KEY, only the free test endpoint is available.
Returns: comprehensive analysis with market data, news, development activity, and AI synthesis.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Cryptocurrency ticker symbol (e.g., 'BTC', 'ETH', 'SOL') |
Implementation Reference
- src/index.ts:428-471 (handler)The x402_intelligence tool implementation, including schema validation and handler logic.
// ─── Tool: x402_intelligence ───────────────────────────────────────────────── server.tool( "x402_intelligence", `Get comprehensive multi-source intelligence analysis for a cryptocurrency. Price: $0.10 USDC per query. Aggregates data from CoinGecko (market), DeFiLlama (TVL/DeFi), CryptoPanic (news), Fear & Greed Index (psychology), and GitHub (development activity). All data synthesized by Claude AI for actionable insights. This is the premium tier — use x402_sentiment ($0.01) for quick sentiment only. Without X402_PRIVATE_KEY, only the free test endpoint is available. Returns: comprehensive analysis with market data, news, development activity, and AI synthesis.`, { coin: z .string() .regex(/^[A-Z0-9]{1,10}$/i) .describe( "Cryptocurrency ticker symbol (e.g., 'BTC', 'ETH', 'SOL')" ), }, async (params) => { const base = APIS.sentiment.baseUrl; try { const usePaid = !!PRIVATE_KEY; const endpoint = usePaid ? `/intelligence/${params.coin.toLowerCase()}` : `/test/intelligence/${params.coin.toLowerCase()}`; const data = await apiGet(base, endpoint, usePaid); return textResult({ mode: usePaid ? "paid" : "free_test", cost: usePaid ? "$0.10" : "free", coin: params.coin.toUpperCase(), ...data, }); } catch (err: any) { return errorResult(err.message); } } );