Crypto market brief
Quick crypto market snapshot: price for a specific coin, trending coins, and global market stats (total cap, BTC dominance, volume) - one call.
3 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
An agent needs to answer 'what's happening in crypto right now?' without making 3 separate calls. Covers the price-check + market-context combo agents buy most.
Tools in this pack
All 3 run inside the single $0.009 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.
- Crypto trending GET /api/crypto-trending Trending coins in the last 24 hours, ranked by user search activity on the market-data site (currently ~15 results). Includes coin id, symbol, market cap rank, current price (BTC-denominated), and score. Useful signal for detecting narrative shifts before they hit price charts. Data provided by CoinGecko.
- Crypto global market GET /api/crypto-global Global crypto market snapshot: total market cap, total 24h volume, BTC dominance, ETH dominance, active coin count, active exchange count, and 24h market-cap change %. Returned in a chosen vs_currency (default usd). Data provided by CoinGecko.
Data provided by CoinGecko.
Bought one at a time, these 3 tools cost $0.01 together; the pack is that sum less a 10% bundle discount, rounded up to the $0.001 settlement floor, which is $0.009.
Workflow
- Get the live price, 24h change, market cap, and volume for the requested coin via crypto-price.
- Pull the top trending coins from crypto-trending - what the market is paying attention to right now.
- Get global market stats from crypto-global - total market cap, BTC dominance, 24h volume, active coins.
Arguments
| Name | Required | Description | Example |
|---|---|---|---|
coin | yes | Coin id to price (e.g. bitcoin, ethereum, solana) | bitcoin |
What one call returns
A JSON object with pack, args, steps, summary; steps holds one entry per tool (crypto-price, crypto-trending, crypto-global), 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-market-brief", {"coin":"bitcoin"});Run it in Claude
claude mcp add agent402 -s user -- npx -y agent402-mcp@0.13.32
Then paste this prompt into Claude:
Give me a quick crypto market brief focused on bitcoin. Use Agent402's market-brief skill pack to get the current BTC price, today's trending coins, and global market stats. Summarize in bullet points.