{"uid":"cap_sLCFRWJjsgxnziZ6ff9et","slug":"glassnode-net-unrealized-profit-loss-nupl-9b1a2b92","name":"Glassnode Net Unrealized Profit/Loss (NUPL)","description":"Net Unrealized Profit/Loss (NUPL) — Net Unrealized Profit/Loss (NUPL) is the difference between Relative Unrealized Profit and Relative Unrealized Loss. Data by Glassnode.","url":"https://x402.glassnode.com/v1/metrics/indicators/net_unrealized_profit_loss","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":["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_0hkCUD5bepFJ7onbbLlU0","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 the Net Unrealized Profit/Loss (NUPL) metric for a given crypto asset, showing the difference between relative unrealized profit and loss across the network.","exampleAgentPrompt":"What's the current Net Unrealized Profit/Loss (NUPL) for Bitcoin? Pull the latest daily data from Glassnode in JSON format.","exampleUseCases":null,"resultDescription":"Returns a JSON array of time-stamped NUPL values, each object containing a Unix timestamp ('t') and the NUPL ratio ('v'), representing the difference between relative unrealized profit and loss across all network participants for the specified asset and interval.","failureModes":["Missing required 'a' (asset) parameter returns a 400 error","Unsupported asset symbol returns an error or empty dataset","Invalid interval or format enum value returns a 400 validation error","Payment failure (insufficient USDC or x402 protocol error) returns a 402 response","Rate limiting or server overload may return a 429 or 503"],"whenToPreferThis":"Use this endpoint when you need on-chain Bitcoin or Ethereum market sentiment data specifically measuring unrealized profit/loss across the network. Prefer this over price-only APIs when you want to understand the psychological state of the market (capitulation, euphoria, hope, etc.). Best for macro-level on-chain analysis workflows leveraging Glassnode's proprietary UTXO-based calculations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:57:43.155Z","isFirstParty":false}