DeFi token screener
GET /api/defi-screenerScreen the DeFi category's 250 largest tokens with computed columns: share of the category's market cap, turnover (24h volume over market cap), 24h move against the cap-weighted category, 7-day move, drawdown from the all-time high, fully-diluted value over market cap, and rank in the chosen order. Send GET /api/defi-screener with no required fields (4 optional) and pay $0.005 per call over x402 or MPP (there is no free tier). It returns a JSON object with source, fetchedAt, cached, category, sort and 10 more.
Filter by market cap and turnover; sort by market_cap, turnover, change_24h, change_7d or ath_drawdown. Category totals come with it: turnover, cap-weighted 24h move, the share of tokens up on the day and the top ten's share of the cap. Flags name measured conditions (high turnover, deep drawdown, dilution overhang). Token market data, not locked value. Deterministic code over market data; refreshed every 30 minutes. Data provided by CoinGecko (https://www.coingecko.com/en/api).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
sort | string | no | Order: market_cap, turnover, change_24h, change_7d, ath_drawdown (default market_cap). |
minMarketCapUsd | number | no | Only tokens at or above this market cap in USD (default 0). |
minTurnoverPct | number | no | Only tokens whose 24h volume is at least this percent of market cap (default 0). |
limit | number | no | Tokens returned, 1-100 (default 25). |
Example request
curl -i "https://agent402.tools/api/defi-screener?sort=turnover&minMarketCapUsd=100000000&limit=5"
Without payment this returns HTTP 402 Payment Required with the exact price for defi-screener; any x402 v2 or MPP client pays it and retries.
Example response
{
"source": "coingecko",
"fetchedAt": "2026-11-16T12:00:00.000Z",
"cached": false,
"category": "decentralized-finance-defi",
"sort": "turnover",
"minMarketCapUsd": 100000000,
"minTurnoverPct": 0,
"screened": 250,
"returned": 1,
"matched": 58,
"complete": false,
"truncated": true,
"categoryTotals": {
"marketCapUsd": 98400000000,
"turnoverPct": 6.31,
"capWeightedChange24hPct": -0.42,
"tokensUpSharePct": 37.2,
"top10CapSharePct": 61.8
},
"tokens": [
{
"rank": 1,
"capRank": 14,
"id": "example-dex",
"symbol": "XDEX",
"name": "Example DEX",
"capSharePct": 0.91,
"turnoverPct": 48.2,
"change24hPct": 6.1,
"change24hVsCategoryPct": 6.52,
"change7dPct": -3.4,
"athDrawdownPct": -71.2,
"fdvToCapRatio": 1.62,
"flags": [
"high-turnover",
"deep-drawdown",
"dilution-overhang"
]
}
],
"credit": "Data provided by CoinGecko (https://www.coingecko.com/en/api)."
}| Field | Type | Always present | In the example |
|---|---|---|---|
source | string | yes | coingecko |
fetchedAt | string | yes | 2026-11-16T12:00:00.000Z |
cached | boolean | yes | false |
category | string | yes | decentralized-finance-defi |
sort | string | yes | turnover |
minMarketCapUsd | number | yes | 100000000 |
minTurnoverPct | number | yes | 0 |
screened | number | yes | 250 |
returned | number | yes | 1 |
matched | number | yes | 58 |
complete | boolean | yes | false |
truncated | boolean | yes | true |
categoryTotals | object | yes | 5 fields: marketCapUsd, turnoverPct, capWeightedChange24hPct and 2 more |
tokens | array of objects | yes | 1 item in the example |
credit | string | yes | Data provided by CoinGecko (https://www.coingecko.com/en/api). |
From an MCP client
catalog.call {
"slug": "defi-screener",
"params": {
"sort": "turnover",
"minMarketCapUsd": 100000000,
"limit": 5
}
}The hosted connector at https://agent402.tools/mcp needs a payment for defi-screener; the stdio package pays it from a wallet or from an AGENT402_CREDITS_KEY issued earlier. Local install: npx -y agent402-mcp@0.13.32.
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 runs after the tool and only on a successful response. 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/defi-screener 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?.({ maxAmountPerPayment: "$0.005" }); // refuse any quote above this tool's price
registerExactEvmScheme(client, { signer: privateKeyToAccount(KEY) });
const payFetch = wrapFetchWithPayment(fetch, client);
const res = await payFetch("https://agent402.tools/api/defi-screener?sort=turnover&minMarketCapUsd=100000000&limit=5");Related tools
DEX volume board by network
A network's decentralized exchanges ranked by their share of 24h volume across the network's top pools (the 60 largest.
Chain board by native asset
Blockchains ranked by their native asset, computed from three market documents: each native asset's share of the whole.
Crypto categories by market cap
Coin categories (Layer 1, Meme, AI, DeFi, Stablecoins, RWA, ...) ranked by market cap, with 24h market cap change %, 24h.
Crypto news headlines
Latest crypto headlines aggregated from the public RSS/Atom feeds of 8 major outlets (coindesk, cointelegraph, decrypt.
DEX pool health
Measured health of one DEX pool by network and pool address: liquidity, 24h turnover (volume over liquidity), buy share.
Funding rate screener across venues
Perpetual funding for one coin across every listed derivatives venue, computed in one call: open-interest-weighted.