Use when the user asks which coins are the biggest gainers or losers
x402.swaphunt.dev/v1/market/momentum-rank
Use when the user asks which coins are the biggest gainers or losers. Returns coins ranked by 24h, 7d or 30d return: `limit` (1-20) top and bottom, full list, average. Top 50 Hyperliquid perpetuals by 30-day volume (USDC-margined) only: /v1/tools/price/supported. Ex: period=7d&limit=5
GET
https://x402.swaphunt.dev/v1/market/momentum-rankUptime100% of 3 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402.swaphunt.dev/v1/market/momentum-rank?limit=10&period=24h");
console.log(await res.json());Example input
{
"limit": 10,
"period": "24h"
}