x402 trending sellers
GET /api/x402-trendingMomentum radar for the x402 seller ecosystem - which sellers are heating up, graded for wash-trade resistance. Send GET /api/x402-trending with no required fields (3 optional) and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with window, sort, include, limit, totalSellers and 5 more.
Reads the hourly on-chain leaderboard (real Base USDC settlements) and adds per-seller signals the raw board doesn't have: organicScore (uniqueBuyers/callsSettled - 1000 calls from 2 buyers smells like self-dealing, 1000 from 400 is organic demand) and avgTicketUsd. Rank by sort: 'usd' (revenue, default), 'calls' (volume), 'organic' (buyer diversity - the honest-demand lens), or 'buyers' (reach). include='external' (default) excludes Agent402's own row; 'all' keeps it. Once ~7 days of persisted snapshots accrue, each row also carries deltaVsPrevWeek + trend (rising/flat/cooling/new) - the wow envelope says whether those are live; deltas are never faked. ?sort=organic&limit=10
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
sort | string (one of: usd, calls, organic, buyers) | no | Ranking lens: usd=USDC settled (default), calls=raw volume, organic=organicScore (buyer diversity), buyers=distinct paying wallets |
limit | integer | no | How many sellers to return (1-50, default 10) |
include | string (one of: external, all) | no | external (default) excludes Agent402's own wallet; all keeps it |
Example request
curl -i "https://agent402.tools/api/x402-trending?sort=usd&limit=10&include=external"
Without payment this returns HTTP 402 Payment Required with the exact price for x402-trending; any x402 v2 or MPP client pays it and retries.
Example response
{
"window": "24h",
"sort": "usd",
"include": "external",
"limit": 10,
"totalSellers": 214,
"sellers": [
{
"rank": 1,
"name": "example-seller",
"homepage": "https://seller.example",
"network": "base",
"wallet": "0x1111111111111111111111111111111111111111",
"callsSettled": 3541,
"totalUsd": 41.2,
"uniqueBuyers": 402,
"organicScore": 0.1135,
"avgTicketUsd": 0.011635
}
],
"wow": {
"available": false,
"note": "no persisted snapshot ~7 days old yet - week-over-week deltas activate automatically as history accrues"
},
"freshness": {
"asOf": "2026-07-14T00:00:00.000Z",
"stale": false,
"staleFromDisk": false,
"refreshFailing": false,
"lastRefreshAt": "2026-07-14T00:00:00.000Z",
"note": "measured by the scan named in asOf"
},
"snapshotAsOf": "2026-07-14T00:00:00.000Z",
"generatedAt": "2026-07-14T00:00:05.000Z"
}
| Field | Type | Always present | In the example |
|---|---|---|---|
window | string | yes | 24h |
sort | string | yes | usd |
include | string | yes | external |
limit | number | yes | 10 |
totalSellers | number | yes | 214 |
sellers | array of objects | yes | 1 item in the example |
wow | object | yes | 2 fields: available, note |
freshness | object | yes | 6 fields: asOf, stale, staleFromDisk, refreshFailing, lastRefreshAt, note |
snapshotAsOf | string | yes | 2026-07-14T00:00:00.000Z |
generatedAt | string | yes | 2026-07-14T00:00:05.000Z |
From an MCP client
catalog.call {
"slug": "x402-trending",
"params": {
"sort": "usd",
"limit": 10,
"include": "external"
}
}
The hosted connector at https://agent402.tools/mcp needs a payment for x402-trending; the stdio package pays it from a wallet or from AGENT402_CREDITS_KEY. Local install: npx -y agent402-mcp.
Errors and behavior
- Every field is optional. An input the tool rejects returns an HTTP 4xx whose body carries
error,tool,expected,requiredandexample. - A paid call that ends in any status of 400 or above is not charged over x402, MPP or a prepaid credits key: settlement is cancelled when the tool fails. The exception is a Tempo push credential, a transfer the buyer sent before the call: it settles before the tool runs, so if the tool then fails the payment is recorded as a refund owed to the paying wallet.
- Wallet-only: this tool reaches the network or stored state, so it has no proof-of-work tier. A prepaid card-credits key issued earlier (
Authorization: Bearer a402_...) also pays it. - A
POSTwith a JSON body to /api/x402-trending is served as this GET, with the body as the input. - An
Idempotency-Keyheader makes a retried paid call replay the first 200 instead of charging again (an answer larger than 1 MB is not replayed).
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/x402-trending?sort=usd&limit=10&include=external");
Related tools
x402 market pulse
GET /api/x402-market-pulseLive cross-provider x402 market sentiment. topProviders: the top x402 sellers ecosystem-wide, ranked by REAL on-chain ac…
x402 quote
GET /api/x402-quoteProbe any URL and decode its HTTP 402 payment requirements (price, asset, network, pay-to) into clean JSON - what an age…
Agent402 bestsellers
GET /api/bestsellersWhat agents actually pay for on a 500+ tool x402 catalog - the paid intelligence layer over Agent402's own sales ledger,…
New B20 tokens
GET /api/b20-new-tokensRecently deployed B20 tokens on Base: scans the factory's B20Created logs over a block window, locates each new token by…
Rate a call you paid for
POST /api/feedbackTell this server whether a call you paid for delivered what it promised. Bound to the receipt: give it the settlement tr…
My usage (wallet-keyed purchase history)
POST /api/my-usageYour own purchase history, keyed to the wallet that pays for the call - no wallet parameter, no signup: the x402 payment…