{
  "x402Version": 2,
  "id": 39907,
  "slug": "39907",
  "resource": "https://x402stock.xyz/api/v1/fear-greed/crypto",
  "description": "The Crypto Fear & Greed index (0–100) with its rating, alongside the US stock Fear & Greed score for comparison, current BTC and ETH prices with 24h change, and ~90 days of crypto sentiment history. Pass `?days=N` to size the history. The crypto-sentiment companion to /api/v1/fear-greed (stocks). From x402stock, a market & economic data API (x402, USDC).",
  "type": "http",
  "resourceType": "Market Data",
  "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"
          },
          "crypto": {
            "additionalProperties": false,
            "properties": {
              "rating": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ]
              },
              "score": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "score",
              "rating"
            ],
            "type": "object"
          },
          "history": {
            "items": {
              "additionalProperties": false,
              "properties": {
                "date": {
                  "type": "string"
                },
                "score": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "date",
                "score"
              ],
              "type": "object"
            },
            "type": "array"
          },
          "prices": {
            "additionalProperties": {
              "additionalProperties": false,
              "properties": {
                "change": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "change_percent": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price": {
                  "anyOf": [
                    {
                      "type": "number"
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              },
              "required": [
                "price",
                "change",
                "change_percent"
              ],
              "type": "object"
            },
            "propertyNames": {
              "type": "string"
            },
            "type": "object"
          },
          "source": {
            "const": "x402stock",
            "type": "string"
          },
          "stock": {
            "additionalProperties": false,
            "properties": {
              "score": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ]
              }
            },
            "required": [
              "score"
            ],
            "type": "object"
          }
        },
        "required": [
          "source",
          "as_of",
          "crypto",
          "stock",
          "prices",
          "history"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "days": 90
          },
          "type": "http"
        },
        "output": {
          "example": {
            "as_of": "2026-06-05T00:00:00.000Z",
            "crypto": {
              "rating": "Extreme Fear",
              "score": 12
            },
            "history": [
              {
                "date": "2025-06-06",
                "score": 45
              }
            ],
            "prices": {
              "BTCUSD": {
                "change": -382.24,
                "change_percent": -0.6,
                "price": 63632.13
              },
              "ETHUSD": {
                "change": -45.35,
                "change_percent": -2.5,
                "price": 1766.38
              }
            },
            "source": "x402stock",
            "stock": {
              "score": 69
            }
          },
          "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": {
                    "default": 90,
                    "exclusiveMinimum": 0,
                    "maximum": 3650,
                    "type": "integer"
                  }
                },
                "required": [
                  "days"
                ],
                "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"
                  },
                  "crypto": {
                    "additionalProperties": false,
                    "properties": {
                      "rating": {
                        "anyOf": [
                          {
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "score": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "score",
                      "rating"
                    ],
                    "type": "object"
                  },
                  "history": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "score": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "date",
                        "score"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "prices": {
                    "additionalProperties": {
                      "additionalProperties": false,
                      "properties": {
                        "change": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "change_percent": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "price": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "price",
                        "change",
                        "change_percent"
                      ],
                      "type": "object"
                    },
                    "propertyNames": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "source": {
                    "const": "x402stock",
                    "type": "string"
                  },
                  "stock": {
                    "additionalProperties": false,
                    "properties": {
                      "score": {
                        "anyOf": [
                          {
                            "type": "number"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "score"
                    ],
                    "type": "object"
                  }
                },
                "required": [
                  "source",
                  "as_of",
                  "crypto",
                  "stock",
                  "prices",
                  "history"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402stock.xyz",
  "lastUpdated": "2026-10-08T06:26:15.906Z",
  "quality": {
    "calls30d": 10,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-10-08T06:26:15.697Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "days": 90
            },
            "type": "http"
          },
          "output": {
            "example": {
              "as_of": "2026-06-05T00:00:00.000Z",
              "crypto": {
                "rating": "Extreme Fear",
                "score": 12
              },
              "history": [
                {
                  "date": "2025-06-06",
                  "score": 45
                }
              ],
              "prices": {
                "BTCUSD": {
                  "change": -382.24,
                  "change_percent": -0.6,
                  "price": 63632.13
                },
                "ETHUSD": {
                  "change": -45.35,
                  "change_percent": -2.5,
                  "price": 1766.38
                }
              },
              "source": "x402stock",
              "stock": {
                "score": 69
              }
            },
            "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": {
                      "default": 90,
                      "exclusiveMinimum": 0,
                      "maximum": 3650,
                      "type": "integer"
                    }
                  },
                  "required": [
                    "days"
                  ],
                  "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"
                    },
                    "crypto": {
                      "additionalProperties": false,
                      "properties": {
                        "rating": {
                          "anyOf": [
                            {
                              "type": "string"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        },
                        "score": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "score",
                        "rating"
                      ],
                      "type": "object"
                    },
                    "history": {
                      "items": {
                        "additionalProperties": false,
                        "properties": {
                          "date": {
                            "type": "string"
                          },
                          "score": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "date",
                          "score"
                        ],
                        "type": "object"
                      },
                      "type": "array"
                    },
                    "prices": {
                      "additionalProperties": {
                        "additionalProperties": false,
                        "properties": {
                          "change": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "change_percent": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          },
                          "price": {
                            "anyOf": [
                              {
                                "type": "number"
                              },
                              {
                                "type": "null"
                              }
                            ]
                          }
                        },
                        "required": [
                          "price",
                          "change",
                          "change_percent"
                        ],
                        "type": "object"
                      },
                      "propertyNames": {
                        "type": "string"
                      },
                      "type": "object"
                    },
                    "source": {
                      "const": "x402stock",
                      "type": "string"
                    },
                    "stock": {
                      "additionalProperties": false,
                      "properties": {
                        "score": {
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ]
                        }
                      },
                      "required": [
                        "score"
                      ],
                      "type": "object"
                    }
                  },
                  "required": [
                    "source",
                    "as_of",
                    "crypto",
                    "stock",
                    "prices",
                    "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",
      "crypto": {
        "rating": null,
        "score": null
      },
      "history": [
        {
          "date": "string",
          "score": null
        }
      ],
      "prices": {},
      "source": "string",
      "stock": {
        "score": null
      }
    },
    "type": "string"
  }
}