{"uid":"cap_57nEfzUa57yjmLeJ_awpJ","slug":"api-strale-io-45237cf6","name":"Crypto Fear & Greed Index API","description":"Get the Crypto Fear & Greed Index — a market sentiment indicator from 0 (Extreme Fear) to 100 (Extreme Greed). Includes current value, classification, and optional historical data up to 30 days. Powered by Alternative.me.","url":"https://api.strale.io/x402/fear-greed-index","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"days":{"type":"number","description":"Number of days of history (1-30). Default: 1"}}},"responseSchema":{"trend":{"type":"string"},"average":{"type":"number"},"history":{"type":"array"},"timestamp":{"type":"string"},"current_value":{"type":"number"},"classification":{"type":"string"}},"example":{"request":{"days":14},"response":{"_meta":{"payment":{"method":"x402","price_usd":0.0216,"settlement_id":"0xf6a349dccb0650834452001eee75f60eb317c2caa1cd0d00200b3dacfff28034"},"capability":"fear-greed-index","latency_ms":51,"provenance":{"source":"alternative.me","fetched_at":"2026-06-13T04:25:52.345Z"}},"trend":"falling","average":15,"history":[{"date":"2026-06-13T00:00:00.000Z","value":13,"classification":"Extreme Fear"},{"date":"2026-06-12T00:00:00.000Z","value":12,"classification":"Extreme Fear"},{"date":"2026-06-11T00:00:00.000Z","value":12,"classification":"Extreme Fear"},{"date":"2026-06-10T00:00:00.000Z","value":9,"classification":"Extreme Fear"},{"date":"2026-06-09T00:00:00.000Z","value":10,"classification":"Extreme Fear"},{"date":"2026-06-08T00:00:00.000Z","value":8,"classification":"Extreme Fear"},{"date":"2026-06-07T00:00:00.000Z","value":12,"classification":"Extreme Fear"},{"date":"2026-06-06T00:00:00.000Z","value":12,"classification":"Extreme Fear"},{"date":"2026-06-05T00:00:00.000Z","value":12,"classification":"Extreme Fear"},{"date":"2026-06-04T00:00:00.000Z","value":12,"classification":"Extreme Fear"},{"date":"2026-06-03T00:00:00.000Z","value":11,"classification":"Extreme Fear"},{"date":"2026-06-02T00:00:00.000Z","value":23,"classification":"Extreme Fear"},{"date":"2026-06-01T00:00:00.000Z","value":29,"classification":"Fear"},{"date":"2026-05-31T00:00:00.000Z","value":28,"classification":"Fear"}],"timestamp":"2026-06-13T00:00:00.000Z","current_value":13,"classification":"Extreme Fear"}},"exampleRequest":{"days":14},"tags":["x402"],"displayCostAmount":"0.0216","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.0216/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0216","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_PNHzEDwoD-bg5IAcJN9hQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0216","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the current Crypto Fear & Greed Index value (0–100), its sentiment classification, and optional historical data for up to 30 days.","exampleAgentPrompt":"What's the current Crypto Fear & Greed Index, and can you also show me how sentiment has shifted over the last 14 days?","exampleUseCases":[{"title":"Alert me on extreme market conditions","prompt":"Can you check the crypto sentiment index right now and let me know if we're in extreme fear or extreme greed? I want to know immediately if it crosses those thresholds."},{"title":"Daily crypto market briefing for stakeholders","prompt":"Pull today's Fear & Greed Index value and give me the last 7 days of history so I can include sentiment trends in my daily market report."},{"title":"Trading strategy sentiment validation","prompt":"Before I execute my trades today, what's the current market mood? Show me the Fear & Greed Index and the past 30 days so I can see if we're in a historically extreme position."}],"resultDescription":"Returns the current Fear & Greed Index numeric value (0–100), its text classification (e.g. 'Extreme Fear', 'Fear', 'Neutral', 'Greed', 'Extreme Greed'), timestamp, and optionally a list of historical daily values up to 30 days back.","failureModes":["Invalid 'days' parameter outside 1–30 range returns an error","Upstream Alternative.me data unavailability may cause a 502 or empty response","Network timeouts if the upstream provider is slow","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a simple, aggregated crypto market sentiment score without building your own index. Ideal for agents that need to factor in market mood for trading decisions, reports, or alerts. Prefer over raw on-chain data when a human-readable sentiment classification is needed quickly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T19:01:18.565Z","isFirstParty":false}