{"uid":"cap_2HKn40inwkyR8kjsuDGZS","slug":"crypto-fear-greed-index-via-x402-d035b008","name":"Crypto Fear & Greed Index via x402","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/api/fear-greed?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{"days":{"type":"integer","maximum":30,"minimum":0,"examples":[7],"description":"History points to return (default 7, 0 = none)"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"zone":"fear","label":"Fear","trend":"falling","value":34,"avg_7d":39.4,"signal":"NEUTRAL","source":"https://alternative.me/crypto/fear-and-greed-index/","avg_30d":47.1,"history":[{"date":"2026-10-30","label":"Fear","value":34}],"max_30d":66,"min_30d":28,"reasons":["34 Fear, -12 vs 7d ago","below 30d avg 47.1"],"previous":{"label":"Fear","value":38},"change_1d":-4,"change_7d":-12,"change_30d":-20,"updated_at":"2026-10-30T00:00:00Z","streak_days":5}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1wPFW5eLh6eS2vo-HX7_W","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current and historical Crypto Fear & Greed Index with trend, signal, streaks, and averages — paid per-call via x402 micropayment (0.001 USDC on Base).","exampleAgentPrompt":"What's the current crypto fear and greed index, and has it been trending up or down over the last 7 days? Include the streak count and any buy/sell signal.","exampleUseCases":[{"title":"Sentiment check before a trade","prompt":"Before I execute this BTC buy, tell me what the crypto fear and greed index is right now and whether it's been in fear territory for several days — I want to know if this is a capitulation moment."},{"title":"Weekly market sentiment report","prompt":"Pull the fear and greed index for the past 7 days and summarize whether sentiment is improving or deteriorating, including the 7-day average and how today compares to a month ago."},{"title":"Automated trading signal filter","prompt":"Check the crypto fear and greed index and tell me the current signal — if it's extreme fear or extreme greed, flag it with the streak length so my agent can decide whether to pause trading."}],"resultDescription":"A JSON object containing: current numeric value (0-100), zone (e.g. 'fear', 'greed'), human label, trend direction, signal ('NEUTRAL', 'BUY', 'SELL', etc.), 7-day and 30-day averages, 30-day min/max, 1d/7d/30d change deltas, current streak length in days, previous day's value/label, array of historical daily datapoints, reasons array explaining the reading, source URL, and updated_at timestamp.","failureModes":["Payment failure (402): USDC balance insufficient or x402 payment not properly attached","Invalid days parameter: value outside 0-30 range returns validation error","Data source unavailable: alternative.me upstream outage may yield stale or empty response","Network timeout from workers.dev edge node"],"whenToPreferThis":"Choose this endpoint when your AI agent needs real-time crypto market sentiment context — especially for trading decision filters, DCA timing, or volatility regime detection — and you want no API key friction, paying only $0.001 USDC per call via x402. Prefer over free alternatives when you need trend, streak, and multi-window averages in a single structured response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:03.425Z","isFirstParty":false,"canonicalSlug":"crypto-fear-greed-index-via-x402-d035b008"}