82trust / 100

Sanity Is This Oversold

by x402.swaphunt.dev in Onchain & crypto

x402 APIPassing, checked 30 min ago

Multi-timeframe RSI oversold check (1h/4h/1d, weighted) returning a boolean + the blended RSI. Use to confirm an oversold condition across timeframes rather than trusting a single chart. RSI-based, not a buy signal on its own.

GET https://x402.swaphunt.dev/v1/sanity/is-this-oversold

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
190 ms typical, 190 ms slowest 5%
Last check
30 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.swaphunt.dev/v1/sanity/is-this-oversold?quote=USDT&symbol=BTC"
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%2Fx402.swaphunt.dev%2Fv1%2Fsanity%2Fis-this-oversold
const res = await pay("https://x402.swaphunt.dev/v1/sanity/is-this-oversold?quote=USDT&symbol=BTC");
console.log(await res.json());

Example input

{
  "quote": "USDT",
  "symbol": "BTC"
}

Example output

{
  "is_oversold": true,
  "rsi_1d": 28,
  "rsi_1h": 22,
  "rsi_4h": 26,
  "rsi_blended": 24.5,
  "symbol": "BTC"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
30 min agoPassed402190 ms$0.003
6 h agoPassed402210 ms$0.003