{"uid":"cap_BRZ9IOEafBSzOx3Be3wXi","slug":"glassnode-addresses-in-profit-count-e6fbf76a","name":"Glassnode Addresses in Profit Count","description":"Number of Addresses in Profit — The number of unique addresses whose funds have an average buy price below the current spot price. Data by Glassnode.","url":"https://x402.glassnode.com/v1/metrics/addresses/profit_count","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"},"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_bdvihQxVorYR5GaqtdIm9","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 number of unique on-chain addresses whose average acquisition price is below the current spot price for a given asset.","exampleAgentPrompt":"How many Bitcoin addresses are currently in profit? Pull the Glassnode daily addresses-in-profit count for BTC in JSON format.","exampleUseCases":null,"resultDescription":"An array of timestamped data points, each containing a Unix timestamp (t) and the count (v) of unique addresses whose average buy price is below the current spot price for the requested asset and time interval.","failureModes":["Missing required asset symbol 'a' parameter returns 400 error","Invalid asset symbol (e.g. unsupported token) returns error or empty data","Invalid interval value returns validation error","Insufficient USDC payment or missing x402 payment header returns 402 Payment Required","Rate limiting or upstream Glassnode data unavailability returns 503"],"whenToPreferThis":"Use this endpoint when you need an absolute count of profitable addresses for on-chain sentiment analysis, market cycle positioning, or tracking how many holders are sitting on unrealized gains. Prefer this over percentage-based metrics when you need raw numbers rather than ratios.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:54:29.899Z","isFirstParty":false}