{"uid":"cap_YcAP9LzamvpEy80yIkgJy","slug":"glassnode-sopr-spent-output-profit-ratio-f384bfa5","name":"Glassnode SOPR (Spent Output Profit Ratio)","description":"Spent Output Profit Ratio (SOPR) — Spent Output Profit Ratio (SOPR) is the ratio of realized value to creation value across spent outputs. Data by Glassnode.","url":"https://x402.glassnode.com/v1/metrics/indicators/sopr","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":{"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":["1month","1w","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":{"t":{"type":"number"},"v":{"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_LaV4GlJ6o9RF2qeQljIfc","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 time-series data for the Spent Output Profit Ratio (SOPR), measuring the ratio of realized value to creation value across spent outputs for a given crypto asset.","exampleAgentPrompt":"Pull the daily SOPR metric for BTC from Glassnode in JSON format so I can see whether coins are being spent at a profit or loss right now.","exampleUseCases":null,"resultDescription":"An array of time-stamped data points, each containing a Unix timestamp ('t') and the SOPR value ('v'), representing the ratio of realized value to creation value of spent outputs over the requested interval.","failureModes":["Missing required 'a' (asset) query parameter returns a 400 error","Unsupported asset symbol returns an error or empty data","Invalid interval or format enum value returns a 400 error","Payment not processed (x402 payment required) returns a 402 response","Rate limiting or quota exceeded returns a 429 error","Network or upstream Glassnode data unavailability returns a 500 error"],"whenToPreferThis":"Use this endpoint when you need on-chain SOPR data specifically from Glassnode, which is the canonical source for this metric. Prefer this over general market data APIs when you need blockchain-level spend profitability analysis for market cycle research, quant signals, or macro on-chain trend monitoring. Ideal when you want per-coin granularity over daily, weekly, or monthly intervals.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:12:44.099Z","isFirstParty":false}