{"uid":"cap_1QBgormQnHPycvnfu33J9","slug":"swaphunt-chop-vs-trend-detector-adx-based-4492b72a","name":"SwapHunt Chop vs Trend Detector (ADX-based)","description":"ADX-based chop-vs-trend detector for an asset/timeframe: is price trending or stuck in a range? Returns a boolean + chop score. Use to avoid trend strategies in chop (and range strategies in trends).","url":"https://x402.swaphunt.dev/v1/regime/chop-detection","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"asset":{"type":"string","default":"BTC","description":"Asset symbol"},"quote":{"type":"string","default":"USDT","description":"Quote currency (USDT, USDC, EUR)"},"timeframe":{"type":"string","default":"4h","description":"Timeframe (1h, 4h, 1d)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_8dCKRc7H9u0HuGTqhWoz9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Detects whether a given crypto asset/timeframe is trending or ranging (choppy) using ADX, returning a boolean flag and a numeric chop score.","exampleAgentPrompt":"Check if BTC/USDT is currently trending or just chopping on the 4h chart — I want to know whether it's safe to run a trend-following strategy right now.","exampleUseCases":null,"resultDescription":"Returns a boolean indicating whether the market is choppy (true) or trending (false), plus a numeric chop score (likely 0–100) derived from ADX analysis, allowing the agent to decide whether to engage trend-following or range-bound strategies.","failureModes":["Unsupported asset symbol returns an error or empty result","Invalid timeframe value (e.g. '5m') returns a validation error","Quote currency not supported returns an error","Payment of 0.003 USDC not provided results in 402 Payment Required","Downstream data source unavailable causes 503 or timeout"],"whenToPreferThis":"Use this endpoint when you need to programmatically determine the current market regime for a crypto asset before deploying a trend-following or mean-reversion strategy. It is specifically useful as a pre-filter to avoid applying trend strategies during choppy, low-ADX markets or range strategies during strongly trending markets. Prefer this over raw price data when you want a single, pre-computed regime signal rather than computing ADX yourself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:43:01.827Z","isFirstParty":false}