Use when the user asks if a coin is outperforming or lagging BTC
x402.swaphunt.dev/v1/market/coin-strength
Use when the user asks if a coin is outperforming or lagging BTC. Returns its return minus BTC's over 24h, 7d or 30d, a rating (very_strong to very_weak) and the ratio. Top 50 Hyperliquid perpetuals by 30-day volume (USDC-margined) only: /v1/tools/price/supported. Ex: symbol=SOL&period=7d
GET
https://x402.swaphunt.dev/v1/market/coin-strengthUptime100% of 2 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/coin-strength?period=24h&symbol=ETH");
console.log(await res.json());Example input
{
"period": "24h",
"symbol": "ETH"
}