82trust / 100
Dex Top Pools
by Top DEX pools by TVL in Onchain & crypto
x402 APIPassing, checked 3 h ago
Top DEX pools (Uniswap, Sushi, Curve, Aerodrome, etc.) ranked by current TVL - filterable by chain and project. Sourced from DeFiLlama's public Yields API (keyless). Each row carries chain, project slug, symbol pair, TVL in USD, current APY, and pool ID for follow-up queries.
POST https://agent402.tools/api/dex-top-pools
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 192 ms typical, 194 ms slowest 5%
- Last check
- 3 h ago
- Next check
- any minute now
How to call it
# See the payment challenge (nothing is charged)
curl -i -X POST "https://agent402.tools/api/dex-top-pools" \
-H "content-type: application/json" \
-d '{"chain":"Base","limit":5,"project":"uniswap-v3"}'import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";
const client = new x402Client().register(
"eip155:8453",
new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);
// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fagent402.tools%2Fapi%2Fdex-top-pools
const res = await pay("https://agent402.tools/api/dex-top-pools", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"chain":"Base","limit":5,"project":"uniswap-v3"}),
});
console.log(await res.json());Example input
{
"chain": "Base",
"limit": 5,
"project": "uniswap-v3"
}Example output
{
"chain": "Base",
"count": 5,
"pools": [
{
"apy": 12.3,
"chain": "Base",
"pool": "abc123",
"project": "uniswap-v3",
"symbol": "WETH-USDC",
"tvlUsd": 45000000
}
],
"project": "uniswap-v3",
"source": "defillama-yields"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 3 h ago | Passed | 402 | 194 ms | $0.001 |
| 6 h ago | Passed | 402 | 192 ms | $0.001 |
| 9 h ago | Passed | 402 | 217 ms | $0.001 |
| 15 h ago | Passed | 402 | 191 ms | $0.001 |