Api Endpoint

Liquidity Fear & Greed

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).

Open interactive test console

Offering

Provider
x402stock.xyz
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Financial Analysis
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402stock.xyz/api/v1/fear-greed/liquidity
MIME type
application/json
First seen
2026-10-16T01:51:51.176Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85"
  }
]

Observed health

Status
Healthy
Latest latency
161 ms
Average latency
939 ms
HTTP status
402
Last checked
Reachability
100% over 11 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "weeks": {
          "default": 52,
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 520
        }
      },
      "required": [
        "weeks"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "properties": {
        "source": {
          "type": "string",
          "const": "x402stock"
        },
        "as_of": {
          "type": "string"
        },
        "score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "rating": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "net_liquidity_usd_trillions": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "trend_4w_usd_trillions": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "trend_label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "components": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "value_usd_trillions": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "date": {
                "type": "string"
              },
              "fred_series": {
                "type": "string"
              },
              "mom_percent": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "name",
              "value_usd_trillions",
              "date",
              "fred_series",
              "mom_percent"
            ],
            "additionalProperties": false
          }
        },
        "history": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "date": {
                "type": "string"
              },
              "net_usd_trillions": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "date",
              "net_usd_trillions"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "source",
        "as_of",
        "score",
        "rating",
        "net_liquidity_usd_trillions",
        "trend_4w_usd_trillions",
        "trend_label",
        "components",
        "history"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type"
  ]
}