81trust / 100

Cycle Hourly Pattern

by x402.swaphunt.dev in Onchain & crypto

x402 APIPassing, checked 26 min ago

Historical volatility by hour of day (UTC) plus a session comparison — which hours move most. Use to time entries to active hours and avoid dead zones. Intraday seasonality.

GET https://x402.swaphunt.dev/v1/cycle/hourly-pattern

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
68 ms typical, 68 ms slowest 5%
Last check
26 min ago
Next check
in 6 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402.swaphunt.dev/v1/cycle/hourly-pattern?asset=BTC&days=30&quote=USDT"
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%2Fcycle%2Fhourly-pattern
const res = await pay("https://x402.swaphunt.dev/v1/cycle/hourly-pattern?asset=BTC&days=30&quote=USDT");
console.log(await res.json());

Example input

{
  "asset": "BTC",
  "days": 30,
  "quote": "USDT"
}

Example output

{
  "asset": "BTC",
  "best_hour_utc": 14,
  "by_hour": {
    "14": {
      "avg_volatility_pct": 0.9
    }
  },
  "worst_hour_utc": 3
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
26 min agoPassed40263 ms$0.004
4 h agoPassed40268 ms$0.004
9 h agoPassed402219 ms$0.004