82trust / 100

Fear Greed Regime

by x402stock.xyz in Markets & finance

x402 APIPassing, checked 55 min ago

The combined market regime — one read fusing the stock Fear & Greed score and velocity, VIX, insider-buying sentiment, and net liquidity into a named regime (e.g. Mixed Signals) with severity and a suggested stance, plus how the S&P 500 historically performed after similar regimes (forward 5/22-day and 1/3-month returns and win rates). From x402stock, a market & economic data API (x402, USDC).

GET https://x402stock.xyz/api/v1/fear-greed/regime

Last 30 days

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

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://x402stock.xyz/api/v1/fear-greed/regime"
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%2Fx402stock.xyz%2Fapi%2Fv1%2Ffear-greed%2Fregime
const res = await pay("https://x402stock.xyz/api/v1/fear-greed/regime");
console.log(await res.json());

Example input

{}

Example output

{
  "as_of": "2026-06-05T00:00:00.000Z",
  "current": {
    "fg_score": 69,
    "fg_zone": "greed",
    "insider_label": "Sell Pressure",
    "insider_score": 34,
    "liquidity_label": "Expanding",
    "liquidity_score": 42,
    "velocity": 5,
    "vix": 15.4,
    "vix_level": "calm"
  },
  "history": {
    "avg_forward_22d_percent": -10.6,
    "avg_forward_5d_percent": -6.8,
    "avg_spy_1m_percent": 1.04,
    "avg_spy_3m_percent": 2.84,
    "episodes": 154,
    "win_rate_1m_percent": 70,
    "win_rate_3m_percent": 75
  },
  "regime": {
    "action": "No historically significant setup detected. Monitor for signal alignment.",
    "description": "No clear regime pattern. Signals are not aligned strongly in any direction.",
    "id": "mixed",
    "name": "Mixed Signals",
    "severity": "neutral"
  },
  "source": "x402stock"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
55 min agoPassed402394 ms$0.02
4 h agoPassed402347 ms$0.02
7 h agoPassed402257 ms$0.02
12 h agoPassed402283 ms$0.02