X

X402stock · Fear Greed Crypto

by X402stock

GETBase

$0.01

per call · USD Coin on Base

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

Endpoint

GET https://x402stock.xyz/api/v1/fear-greed/crypto

4

Calls / 30d

3

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402stock.xyz/api/v1/fear-greed/crypto", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402stock.xyz/api/v1/fear-greed/crypto?days=90" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "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
  }
}

Payment details

Pay to0x3070fbb3803819fb5bdfe9286fdc6325a877fa85
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from X402stock & similar services