X

X402stock · Fear Greed Liquidity

by X402stock

GETBase

$0.01

per call · USD Coin on Base

US net liquidity (Fed balance sheet minus Treasury General Account minus reverse repo) as a 0–100 percentile with its label and 4-week trend, broken into its FRED components (WALCL, TGA, RRP, M2) plus ~52 weeks of history. A macro-liquidity gauge for risk appetite. Complements the /api/v1/fed-funds and other FRED macro endpoints. From x402stock, a market & economic data API (x402, USDC).

Endpoint

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

2

Calls / 30d

2

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402stock.xyz/api/v1/fear-greed/liquidity", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402stock.xyz/api/v1/fear-greed/liquidity?weeks=52" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "as_of": "2026-06-05T00:00:00.000Z",
  "components": [
    {
      "date": "2026-05-27",
      "fred_series": "WALCL",
      "mom_percent": null,
      "name": "Fed Balance Sheet",
      "value_usd_trillions": 6.704
    },
    {
      "date": "2026-04-01",
      "fred_series": "M2SL",
      "mom_percent": 0.52,
      "name": "M2 Money Supply",
      "value_usd_trillions": 22.8
    }
  ],
  "history": [
    {
      "date": "2025-01-08",
      "net_usd_trillions": 6.033
    }
  ],
  "net_liquidity_usd_trillions": 5.872,
  "rating": "Neutral",
  "score": 42,
  "source": "x402stock",
  "trend_4w_usd_trillions": 0.155,
  "trend_label": "Expanding"
}

Payment details

Pay to0x3070fbb3803819fb5bdfe9286fdc6325a877fa85
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of DeFi and the homepage with a featured placement.

Get featured →

More from X402stock & similar services