Crypto trending

$0.001 per call · USDC via x402 · GET /api/crypto-trending

Trending coins on CoinGecko in the last 24 hours, ranked by user search activity on the site (currently ~15 results). Send GET /api/crypto-trending with no input and pay $0.001 per call over x402 or MPP (there is no free tier). It returns a JSON object with count and coins.

Includes coin id, symbol, market cap rank, current price (BTC-denominated), and score. Useful signal for detecting narrative shifts before they hit price charts.

Category: Live public data · Tags: crypto trending discovery sentiment

TRY IN PLAYGROUND →

Parameters

Crypto trending takes no parameters.

Example request

curl -i "https://agent402.tools/api/crypto-trending"

Without payment this returns HTTP 402 Payment Required with the exact price for crypto-trending; any x402 v2 or MPP client pays it and retries.

Example response

{
  "count": 2,
  "coins": [
    {
      "id": "render-token",
      "symbol": "RNDR",
      "name": "Render",
      "marketCapRank": 38,
      "priceBtc": 0.00012345,
      "score": 0
    },
    {
      "id": "sui",
      "symbol": "SUI",
      "name": "Sui",
      "marketCapRank": 22,
      "priceBtc": 0.00003421,
      "score": 1
    }
  ]
}
FieldTypeAlways presentIn the example
countnumberyes2
coinsarray of objectsyes2 items in the example

From an MCP client

catalog.call {
  "slug": "crypto-trending",
  "params": {}
}

The hosted connector at https://agent402.tools/mcp needs a payment for crypto-trending; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.

Errors and behavior

Paid call (JavaScript agent)

import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client();
client.setSpendControls?.(false); // keep your own spending ceiling in code
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);

const res = await payFetch("https://agent402.tools/api/crypto-trending");

Part of these workflows

Crypto trending is one step in these 4 skill packs, each sold as a single call:

Related tools

Crypto global market

$0.008 · GET /api/crypto-global

Global crypto market snapshot: total market cap, total 24h volume, BTC dominance, ETH dominance, active coin count, acti…

Crypto price history

$0.015 · GET /api/crypto-history

Historical price, market cap, and volume time series for a coin. Granularity is automatic per CoinGecko: <=1 day = 5-min…

Crypto market overview

$0.015 · GET /api/crypto-market

Top N coins by market capitalization with full market snapshot per coin: rank, price, 24h change, 7d change, 24h volume,…

Crypto price

$0.001 · 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 %,…

Agent402 bestsellers

$0.005 · GET /api/bestsellers

What agents actually pay for on a 500+ tool x402 catalog - the paid intelligence layer over Agent402's own sales ledger,…

Farcaster trending channels

$0.004 · POST /api/fc-trending

Trending Farcaster channels ranked by casting activity over 1d, 7d or 30d, with cast counts for all three windows, follo…