{"uid":"cap__02zKqOTiIVSJQH2a-x3P","slug":"glassnode-difficulty-ribbon-acb9760d","name":"Glassnode Difficulty Ribbon","description":"Difficulty Ribbon — Difficulty Ribbon is an indicator built from seven simple moving averages (200d, 128d, 90d, 60d, 40d, 25d, 14d) of Bitcoin mining difficulty, stacked as a ribbon. Data by Glassnode.","url":"https://x402.glassnode.com/v1/metrics/indicators/difficulty_ribbon","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","required":["a"],"properties":{"a":{"enum":["BTC"],"type":"string","description":"Asset symbol, e.g. BTC, ETH"},"c":{"enum":["native"],"type":"string","description":"Currency for denominated values, e.g. usd, native"},"f":{"enum":["csv","json"],"type":"string","description":"Response format: json or csv"},"i":{"enum":["24h"],"type":"string","description":"Time interval / resolution, e.g. 24h, 1w, 1month"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"array","items":{"type":"object","properties":{"o":{"type":"object"},"t":{"type":"number"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Bc4Rf1OVf3hf7weWO6n6k","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns Bitcoin mining difficulty ribbon data composed of seven SMAs (200d, 128d, 90d, 60d, 40d, 25d, 14d) stacked as a ribbon indicator","exampleAgentPrompt":"Can you pull the Bitcoin difficulty ribbon data from Glassnode in JSON format so I can see how the 14-day through 200-day mining difficulty moving averages are stacked right now?","exampleUseCases":null,"resultDescription":"An array of timestamped objects, each containing an object with the seven simple moving average values of Bitcoin mining difficulty (200d, 128d, 90d, 60d, 40d, 25d, 14d) representing the ribbon at daily resolution.","failureModes":["Missing required 'a' query parameter (asset symbol) returns a 400 error","Invalid asset symbol other than BTC returns an error since only BTC is supported","Payment not provided or insufficient USDC balance triggers a 402 Payment Required response","Requesting unsupported intervals or formats returns a validation error","Network timeout or upstream Glassnode data unavailability returns 503"],"whenToPreferThis":"Use this endpoint when you need Bitcoin mining difficulty ribbon data specifically — combining multiple SMAs into a composite ribbon view — especially for assessing miner stress, capitulation signals, or difficulty trend compression. Prefer this over raw price or hash rate endpoints when the analytical goal is understanding miner economics over time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:02:46.794Z","isFirstParty":false}