{
  "x402Version": 2,
  "id": 5298,
  "slug": "5298",
  "resource": "https://x402stock.xyz/api/v1/fear-greed/history",
  "description": "The full daily history of the US stock Fear & Greed index from 2016 to today, each point a date and 0–100 score. Pass `?days=N` to return only the most recent N days (default: full series). Use for charting sentiment regimes and backtesting against price. Companion to /api/v1/fear-greed (current reading). From x402stock, a market & economic data API (x402, USDC).",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "days": 90
          },
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-06-05T00:00:00.000Z",
            "count": 2,
            "history": [
              {
                "date": "2016-01-04",
                "score": 42
              },
              {
                "date": "2026-06-04",
                "score": 64
              }
            ],
            "index": "us_stock",
            "source": "x402stock"
          },
          "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": {
                  "days": {
                    "exclusiveMinimum": 0,
                    "maximum": 10000,
                    "type": "integer"
                  }
                },
                "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"
                  },
                  "count": {
                    "type": "number"
                  },
                  "history": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "score": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "date",
                        "score"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "index": {
                    "const": "us_stock",
                    "type": "string"
                  },
                  "source": {
                    "const": "x402stock",
                    "type": "string"
                  }
                },
                "required": [
                  "source",
                  "as_of",
                  "index",
                  "count",
                  "history"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402stock.xyz",
  "lastUpdated": "2026-09-14T19:02:28.129Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-14T19:02:27.788Z"
  },
  "liveness": {},
  "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-09-18T22:00:31.484Z"
  }
}