82trust / 100
Fear Greed Liquidity
by x402stock.xyz in Markets & finance
x402 APIPassing, checked 1 h ago
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).
GET https://x402stock.xyz/api/v1/fear-greed/liquidity
Last 30 days
All checks passedSome failedAll failedNot checked
- Uptime
- 100%
- Response time
- 211 ms typical, 211 ms slowest 5%
- Last check
- 1 h 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/liquidity?weeks=52"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%2Fliquidity
const res = await pay("https://x402stock.xyz/api/v1/fear-greed/liquidity?weeks=52");
console.log(await res.json());Example input
{
"weeks": 52
}Example output
{
"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"
}Security scan
- No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.
Recent checks
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 1 h ago | Passed | 402 | 324 ms | $0.01 |
| 6 h ago | Passed | 402 | 211 ms | $0.01 |