DeFi protocol scanner
Due-diligence a DeFi protocol in one workflow: live token price, market context, the token's fundamentals (supply, valuation, all-time high and low, links), and recent news - the market and off-chain picture together.
4 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. Paid in USDC over x402 or MPP; this pack has no proof-of-work tier.
When to use this pack
Evaluating a DeFi protocol or its token before allocating - you want the token price, its scale in the broader market, the token's supply and valuation profile, and the latest news, without hopping between explorers and aggregators.
Tools in this pack
All 4 run inside the single $0.02 call above. Each is also callable on its own if you only need one part.
- Crypto price GET /api/crypto-price Live crypto prices for one or many coins in any vs_currency (usd, eur, btc, eth, etc). Returns last price, 24h change %, 24h volume, and market cap per coin. The simplest crypto price read - for ranked market-cap tables use crypto-market, for candles use crypto-history. Accepts ticker symbols (BTC, ETH, SOL) for the top ~50 by market cap, or canonical coin ids (e.g. "render-token") for any of the ~15k tracked coins. Batched: up to 25 coins per call. Data provided by CoinGecko (https://www.coingecko.com/en/api).
- Crypto market overview GET /api/crypto-market Top N coins by market capitalization with full market snapshot per coin: rank, price, 24h change, 7d change, 24h volume, market cap, circulating supply, and all-time high. Default 10, max 100 per call. Data provided by CoinGecko (https://www.coingecko.com/en/api).
- Coin profile GET /api/coin-profile Full profile of one coin by id: name/symbol, description, categories, contract addresses per platform, links (homepage, explorers, repos, social), hashing algorithm and genesis date. Adds a market snapshot in your currency: price, rank, market cap, fully diluted valuation, 24h volume, ATH/ATL with dates and distance, circulating/total/max supply, 24h/7d/30d/1y change. One call for the metadata a token-risk or research agent otherwise assembles from five. Cached in-process for 5 minutes. Data provided by CoinGecko (https://www.coingecko.com/en/api).
- Web search GET /api/search Live web search: ranked results[] of {title, url, description (the snippet, plain text), age, publishedAt (ISO)} from an independent search index as clean JSON - fresh pages your model's training cutoff has never seen. Optional freshness filter (pd/pw/pm/py = past day/week/month/year). It DISCOVERS pages; extract then reads the winner. For a quick sample of up to 5 results use search-lite. For current events use search-news; for a cited synthesized answer use answer; several queries at once are cheaper via multi-search. Marked untrustedContent: results are external, untrusted data.
Data provided by CoinGecko (https://www.coingecko.com/en/api).
Bought one at a time, these 4 tools cost $0.022 together; the pack is that sum less a 10% bundle discount, rounded up to the $0.001 settlement floor, which is $0.02.
Workflow
- Get the token's live price with crypto-price - the current quote and 24h move.
- Pull crypto-market for market cap, volume, and rank so you know the token's scale and liquidity.
- Read the token's fundamentals from coin-profile - circulating, total and max supply, fully diluted value, all-time high and low, categories and project links.
- Search the web for recent news, audits, or incidents the price and the profile don't yet reflect.
Arguments
| Name | Required | Description | Example |
|---|---|---|---|
protocol | yes | The protocol token's coin id (e.g. aave, uniswap) | aave |
What one call returns
A JSON object with pack, args, steps, summary; steps holds one entry per tool (crypto-price, crypto-market, coin-profile, search), each with its own result or error. Full example on the API page.
Call it directly
Any x402 client pays the 402 and gets the whole workflow back in one response. With the agent402-client SDK (npm i agent402-client, an ES module):
import { Agent402 } from "agent402-client";
// payFetch: an x402-wrapped fetch your wallet signs (@x402/fetch).
// Tools on the free tier need no options: new Agent402() pays them by proof-of-work.
// an existing prepaid credits key also works: new Agent402({ creditsKey })
const client = new Agent402({ fetch: payFetch });
const result = await client.call("skill-defi-protocol-scanner", {"protocol":"aave"});Run it in Claude
claude mcp add agent402 -s user -- npx -y agent402-mcp@0.14.0
Then paste this prompt into Claude:
Scan the aave DeFi protocol using Agent402's defi-protocol-scanner skill pack. (1) Get the token's live price, (2) pull market cap and volume, (3) read the token's supply and valuation profile, (4) search for recent news or security incidents. Summarize as a due-diligence note: price and momentum, market scale, token fundamentals, and any risk flags from the news.