{"uid":"cap_NuUA6nUGBNdl9nI9J4j4O","slug":"glassnode-el-salvador-government-btc-balance-96171d76","name":"Glassnode El Salvador Government BTC Balance","description":"El Salvador Government Balance — El Salvador Government Balance is the on-chain BTC balance attributed to the government of El Salvador, as reported by the National Bitcoin Office (ONBTC). Data by Glassnode.","url":"https://x402.glassnode.com/v1/metrics/distribution/balance_el_salvador","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","usd"],"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_ZpOHbJxRnoEYEIpYc-xV6","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 on-chain BTC balance attributed to the government of El Salvador, as reported by the National Bitcoin Office (ONBTC).","exampleAgentPrompt":"What is El Salvador's current government BTC balance according to Glassnode's on-chain data? Show it in native BTC with daily resolution.","exampleUseCases":null,"resultDescription":"Returns a time series array of objects with Unix timestamps (t) and BTC balance values (v) representing El Salvador's government on-chain Bitcoin holdings as reported by ONBTC, denominated in native BTC or USD depending on query parameters.","failureModes":["Missing required 'a' parameter (must be 'BTC') returns 400 error","Invalid currency or format enum value returns 400 error","Payment not provided or insufficient USDC results in 402 Payment Required","Data may lag real-time by up to 24h given daily resolution","No data returned for time ranges before El Salvador adopted Bitcoin as legal tender"],"whenToPreferThis":"Use this endpoint when you specifically need the on-chain BTC balance held by the government of El Salvador (ONBTC-reported), as distinct from the US government BTC balance or general exchange balance metrics. Ideal for sovereign Bitcoin adoption tracking, geopolitical crypto analysis, or benchmarking state-level BTC treasury positions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:00:53.831Z","isFirstParty":false}