{
  "x402Version": 2,
  "id": 39910,
  "slug": "39910",
  "resource": "https://x402stock.xyz/api/v1/fear-greed/liquidity",
  "description": "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).",
  "type": "http",
  "resourceType": "Security",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "as_of": {
            "type": "string"
          },
          "components": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "date": {
                  "type": "string"
                },
                "fred_series": {
                  "type": "string"
                },
                "mom_percent": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "name": {
                  "type": "string"
                },
                "value_usd_trillions": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "name",
                "value_usd_trillions",
                "date",
                "fred_series",
                "mom_percent"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "history": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "date": {
                  "type": "string"
                },
                "net_usd_trillions": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "date",
                "net_usd_trillions"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "net_liquidity_usd_trillions": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "rating": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          },
          "score": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "source": {
            "const": "x402stock",
            "type": "string"
          },
          "trend_4w_usd_trillions": {
            "anyOf": [
              {
                "type": "number"
              },
              {
                "type": "null"
              }
            ]
          },
          "trend_label": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "source",
          "as_of",
          "score",
          "rating",
          "net_liquidity_usd_trillions",
          "trend_4w_usd_trillions",
          "trend_label",
          "components",
          "history"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "weeks": 52
          },
          "type": "http"
        },
        "output": {
          "example": {
            "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"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "weeks": {
                    "default": 52,
                    "exclusiveMinimum": 0,
                    "maximum": 520,
                    "type": "integer"
                  }
                },
                "required": [
                  "weeks"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "as_of": {
                    "type": "string"
                  },
                  "components": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "fred_series": {
                          "type": "string"
                        },
                        "mom_percent": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "name": {
                          "type": "string"
                        },
                        "value_usd_trillions": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "name",
                        "value_usd_trillions",
                        "date",
                        "fred_series",
                        "mom_percent"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "history": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "net_usd_trillions": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "date",
                        "net_usd_trillions"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "net_liquidity_usd_trillions": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "rating": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "score": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "source": {
                    "const": "x402stock",
                    "type": "string"
                  },
                  "trend_4w_usd_trillions": {
                    "anyOf": [
                      {
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  },
                  "trend_label": {
                    "anyOf": [
                      {
                        "type": "string"
                      },
                      {
                        "type": "null"
                      }
                    ]
                  }
                },
                "required": [
                  "source",
                  "as_of",
                  "score",
                  "rating",
                  "net_liquidity_usd_trillions",
                  "trend_4w_usd_trillions",
                  "trend_label",
                  "components",
                  "history"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402stock.xyz",
  "lastUpdated": "2026-10-08T06:26:20.968Z",
  "quality": {
    "calls30d": 8,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-08T06:26:20.768Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "weeks": 52
            },
            "type": "http"
          },
          "output": {
            "example": {
              "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"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET",
                    "HEAD",
                    "DELETE"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "weeks": {
                      "default": 52,
                      "exclusiveMinimum": 0,
                      "maximum": 520,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "weeks"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "additionalProperties": false,
                  "properties": {
                    "as_of": {
                      "type": "string"
                    },
                    "components": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "date": {
                            "type": "string"
                          },
                          "fred_series": {
                            "type": "string"
                          },
                          "mom_percent": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "name": {
                            "type": "string"
                          },
                          "value_usd_trillions": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "name",
                          "value_usd_trillions",
                          "date",
                          "fred_series",
                          "mom_percent"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "history": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "date": {
                            "type": "string"
                          },
                          "net_usd_trillions": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "date",
                          "net_usd_trillions"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "net_liquidity_usd_trillions": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "rating": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "score": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "source": {
                      "const": "x402stock",
                      "type": "string"
                    },
                    "trend_4w_usd_trillions": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    },
                    "trend_label": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "null"
                        }
                      ]
                    }
                  },
                  "required": [
                    "source",
                    "as_of",
                    "score",
                    "rating",
                    "net_liquidity_usd_trillions",
                    "trend_4w_usd_trillions",
                    "trend_label",
                    "components",
                    "history"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402stock.xyz",
    "manifest_name": "x402stock.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "as_of": "string",
      "components": [
        {
          "date": "string",
          "fred_series": "string",
          "mom_percent": null,
          "name": "string",
          "value_usd_trillions": null
        }
      ],
      "history": [
        {
          "date": "string",
          "net_usd_trillions": null
        }
      ],
      "net_liquidity_usd_trillions": null,
      "rating": null,
      "score": null,
      "source": "string",
      "trend_4w_usd_trillions": null,
      "trend_label": null
    },
    "type": "string"
  }
}