{"uid":"cap_QmQyT8eY8PEB9bS7Ylx0b","slug":"crypto-fear-greed-index-via-x402-4b3e857e","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/v1/coinank/indicator/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_VJiKYVopWYvdWUX3yIEKL","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 value, trend, zone classification, and sentiment signal, paid per-call with USDC on Base via x402.","exampleAgentPrompt":"What's the current crypto fear and greed index, and show me how it's trended over the last 7 days — is the market getting more fearful or greedy?","exampleUseCases":[{"title":"Pre-trade sentiment check","prompt":"Before I put in a buy order, tell me what the crypto fear and greed index is right now and whether it's been falling or rising over the past week."},{"title":"Daily market mood briefing","prompt":"Give me today's crypto market sentiment — what zone is the fear and greed index in, what's the streak, and how does today compare to yesterday?"},{"title":"30-day sentiment trend review","prompt":"Pull the full 30 days of fear and greed history so I can see the highs, lows, and average — I want to understand how sentiment has shifted over the past month."}],"resultDescription":"Returns a JSON object with the current fear/greed numeric value (0–100), zone label (e.g. 'Fear', 'Greed'), trend direction, 1-day/7-day/30-day change values, 7-day and 30-day averages, min/max over 30 days, a NEUTRAL/BUY/SELL signal, the number of consecutive days in the current zone (streak), human-readable reasons, previous day's value, and an array of historical daily data points up to the requested number of days.","failureModes":["days parameter out of range (must be 0–30) returns validation error","Upstream Alternative.me data unavailable causes stale or missing data","x402 payment failure (insufficient USDC balance or wrong network) blocks the call","Worker cold start may add latency on first call"],"whenToPreferThis":"Choose this endpoint when your agent needs a quick, structured sentiment signal for crypto market timing decisions without setting up API keys — especially when operating in an x402 micropayment-enabled pipeline and needing historical trend context alongside the current value. Prefer over raw scraping of Alternative.me when you need a parsed, agent-ready JSON with pre-computed averages, streaks, and signals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:19.898Z","isFirstParty":false,"canonicalSlug":"crypto-fear-greed-index-via-x402-d035b008"}