Use when the user asks whether a coin is trending or stuck in a range
x402.swaphunt.dev/v1/regime/chop-detection
Use when the user asks whether a coin is trending or stuck in a range. Returns is_chop, chop level, ADX, +DI/-DI, trend direction and a verdict on 1h, 4h or 1d candles of Hyperliquid perpetuals. Any active market. Ex: symbol=SOL&timeframe=4h
GET
https://x402.swaphunt.dev/v1/regime/chop-detectionUptime100% of 1 check 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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402.swaphunt.dev/v1/regime/chop-detection?symbol=BTC&timeframe=4h");
console.log(await res.json());Example input
{
"symbol": "BTC",
"timeframe": "4h"
}