> For the complete documentation index, see [llms.txt](https://docs.glassnode.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glassnode.com/basic-api/endpoints/treasuries.md).

# Treasuries

## Treasury Balances (Companies)

> \*\*Definition.\*\* Treasury Balances (Companies) shows the total holdings of the selected asset for institutional holders, market makers, and corporate entities with crypto investments, broken out per company so individual corporate positions can be tracked over time. The \\"other\\" category includes non-whitelisted entities. Data is available in both native asset units and USD value.\n\n\*\*Technical.\*\* The numbers are not derived by directly tracking wallets, but are aggregated from publicly available reports.\n\n\*\*Notes.\*\* Based on raw data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.BalanceCompanies?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/balance_companies":{"get":{"summary":"Treasury Balances (Companies)","description":"**Definition.** Treasury Balances (Companies) shows the total holdings of the selected asset for institutional holders, market makers, and corporate entities with crypto investments, broken out per company so individual corporate positions can be tracked over time. The \\\"other\\\" category includes non-whitelisted entities. Data is available in both native asset units and USD value.\\n\\n**Technical.** The numbers are not derived by directly tracking wallets, but are aggregated from publicly available reports.\\n\\n**Notes.** Based on raw data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.BalanceCompanies?a=BTC)\n","operationId":"treasuries.BalanceCompanies","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"c","in":"query","required":false,"description":"currency - NATIVE, USD","schema":{"type":"string"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Balances (Governments)

> \*\*Definition.\*\* Treasury Balances (Governments) shows the total holdings of the selected asset for government entities with crypto investments, broken out per government so individual positions can be tracked over time. Data is available in both native asset units and USD value.\n\n\*\*Technical.\*\* The numbers are not derived by directly tracking wallets, but are aggregated from publicly available reports.\n\n\*\*Notes.\*\* Based on raw data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.BalanceGovernments?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/balance_governments":{"get":{"summary":"Treasury Balances (Governments)","description":"**Definition.** Treasury Balances (Governments) shows the total holdings of the selected asset for government entities with crypto investments, broken out per government so individual positions can be tracked over time. Data is available in both native asset units and USD value.\\n\\n**Technical.** The numbers are not derived by directly tracking wallets, but are aggregated from publicly available reports.\\n\\n**Notes.** Based on raw data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.BalanceGovernments?a=BTC)\n","operationId":"treasuries.BalanceGovernments","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"c","in":"query","required":false,"description":"currency - NATIVE, USD","schema":{"type":"string"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Count (Companies)

> \*\*Definition.\*\* The number of companies with non-zero holdings of the asset at each point in time, covering institutional holders, market makers, and corporate entities. The series supports monitoring of adoption and holding patterns across the corporate cohort.\n\n\*\*Technical.\*\* Government entities are excluded from this count. Numbers are not derived by directly tracking wallets, but rather are aggregated from publicly available reports.\n\n\*\*Notes.\*\* Source data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.CompaniesNonZeroCount?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/companies_non_zero_count":{"get":{"summary":"Treasury Count (Companies)","description":"**Definition.** The number of companies with non-zero holdings of the asset at each point in time, covering institutional holders, market makers, and corporate entities. The series supports monitoring of adoption and holding patterns across the corporate cohort.\\n\\n**Technical.** Government entities are excluded from this count. Numbers are not derived by directly tracking wallets, but rather are aggregated from publicly available reports.\\n\\n**Notes.** Source data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.CompaniesNonZeroCount?a=BTC)\n","operationId":"treasuries.CompaniesNonZeroCount","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"s","in":"query","required":false,"description":"since, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"u","in":"query","required":false,"description":"until, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Net Flows (Companies)

> \*\*Definition.\*\* Treasury Net Flows (Companies) is the daily position change for institutional holders, market makers, and corporate entities with crypto investments. The series displays individual company flows, supporting monitoring of accumulation and distribution patterns by specific companies. The \\"other\\" category includes non-whitelisted entities.\n\n\*\*Technical.\*\* Flows are not derived by directly tracking wallets, but rather are aggregated from publicly available reports.\n\n\*\*Interpretation.\*\* Positive values indicate accumulation (buying activity), while negative values indicate distribution (selling activity).\n\n\*\*Notes.\*\* Source data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.FlowsNetCompanies?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/flows_net_companies":{"get":{"summary":"Treasury Net Flows (Companies)","description":"**Definition.** Treasury Net Flows (Companies) is the daily position change for institutional holders, market makers, and corporate entities with crypto investments. The series displays individual company flows, supporting monitoring of accumulation and distribution patterns by specific companies. The \\\"other\\\" category includes non-whitelisted entities.\\n\\n**Technical.** Flows are not derived by directly tracking wallets, but rather are aggregated from publicly available reports.\\n\\n**Interpretation.** Positive values indicate accumulation (buying activity), while negative values indicate distribution (selling activity).\\n\\n**Notes.** Source data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.FlowsNetCompanies?a=BTC)\n","operationId":"treasuries.FlowsNetCompanies","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"s","in":"query","required":false,"description":"since, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"u","in":"query","required":false,"description":"until, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Net Flows (Governments)

> \*\*Definition.\*\* Treasury Net Flows (Governments) is the daily position change for government entities with crypto investments. The series displays individual government flows, supporting monitoring of accumulation and distribution patterns by specific governments.\n\n\*\*Technical.\*\* Flows are not derived by directly tracking wallets, but rather are aggregated from publicly available reports.\n\n\*\*Interpretation.\*\* Positive values indicate accumulation (buying activity), while negative values indicate distribution (selling activity).\n\n\*\*Notes.\*\* Source data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.FlowsNetGovernments?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/flows_net_governments":{"get":{"summary":"Treasury Net Flows (Governments)","description":"**Definition.** Treasury Net Flows (Governments) is the daily position change for government entities with crypto investments. The series displays individual government flows, supporting monitoring of accumulation and distribution patterns by specific governments.\\n\\n**Technical.** Flows are not derived by directly tracking wallets, but rather are aggregated from publicly available reports.\\n\\n**Interpretation.** Positive values indicate accumulation (buying activity), while negative values indicate distribution (selling activity).\\n\\n**Notes.** Source data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.FlowsNetGovernments?a=BTC)\n","operationId":"treasuries.FlowsNetGovernments","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"s","in":"query","required":false,"description":"since, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"u","in":"query","required":false,"description":"until, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Net Realized P\&L (Companies)

> \*\*Definition.\*\* Treasury Net Realized Profit/Loss (Companies) is the realized profit or loss in USD from selling activity by institutional holders, market makers, and corporate entities with crypto investments, reported per individual company. The \&#x60;other\&#x60; category aggregates non-whitelisted entities.\n\n\*\*Technical.\*\* Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\n\n\*\*Interpretation.\*\* Positive values indicate profitable sells, negative values indicate sells at a loss.\n\n\*\*Notes.\*\* Source data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.NetRealizedProfitLossCompanies?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/net_realized_profit_loss_companies":{"get":{"summary":"Treasury Net Realized P&L (Companies)","description":"**Definition.** Treasury Net Realized Profit/Loss (Companies) is the realized profit or loss in USD from selling activity by institutional holders, market makers, and corporate entities with crypto investments, reported per individual company. The &#x60;other&#x60; category aggregates non-whitelisted entities.\\n\\n**Technical.** Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\\n\\n**Interpretation.** Positive values indicate profitable sells, negative values indicate sells at a loss.\\n\\n**Notes.** Source data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.NetRealizedProfitLossCompanies?a=BTC)\n","operationId":"treasuries.NetRealizedProfitLossCompanies","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Net Realized P\&L (Governments)

> \*\*Definition.\*\* Treasury Net Realized Profit/Loss (Governments) is the realized profit or loss in USD for government entities with crypto investments. The series displays individual government realized gains and losses from selling activity.\n\n\*\*Technical.\*\* Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\n\n\*\*Interpretation.\*\* Positive values indicate profitable sells, while negative values indicate selling at a loss.\n\n\*\*Notes.\*\* Source data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.NetRealizedProfitLossGovernments?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/net_realized_profit_loss_governments":{"get":{"summary":"Treasury Net Realized P&L (Governments)","description":"**Definition.** Treasury Net Realized Profit/Loss (Governments) is the realized profit or loss in USD for government entities with crypto investments. The series displays individual government realized gains and losses from selling activity.\\n\\n**Technical.** Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\\n\\n**Interpretation.** Positive values indicate profitable sells, while negative values indicate selling at a loss.\\n\\n**Notes.** Source data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.NetRealizedProfitLossGovernments?a=BTC)\n","operationId":"treasuries.NetRealizedProfitLossGovernments","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Net Unrealized P\&L (Companies)

> \*\*Definition.\*\* Treasury Net Unrealized Profit/Loss (Companies) is the paper gain or loss of current holdings in USD for institutional holders, market makers, and corporate entities with crypto investments. The series displays individual company unrealized gains and losses, supporting tracking of which companies are in profit or underwater on their positions. The \\"other\\" category includes non-whitelisted entities.\n\n\*\*Technical.\*\* Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\n\n\*\*Notes.\*\* Source data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.NetUnrealizedProfitLossCompanies?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/net_unrealized_profit_loss_companies":{"get":{"summary":"Treasury Net Unrealized P&L (Companies)","description":"**Definition.** Treasury Net Unrealized Profit/Loss (Companies) is the paper gain or loss of current holdings in USD for institutional holders, market makers, and corporate entities with crypto investments. The series displays individual company unrealized gains and losses, supporting tracking of which companies are in profit or underwater on their positions. The \\\"other\\\" category includes non-whitelisted entities.\\n\\n**Technical.** Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\\n\\n**Notes.** Source data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.NetUnrealizedProfitLossCompanies?a=BTC)\n","operationId":"treasuries.NetUnrealizedProfitLossCompanies","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Net Unrealized P\&L (Governments)

> \*\*Definition.\*\* Treasury Net Unrealized Profit/Loss (Governments) is the paper gain or loss of current holdings in USD for government entities with crypto investments. The series displays individual government unrealized gains and losses, supporting tracking of which governments are in profit or underwater on their positions.\n\n\*\*Technical.\*\* Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\n\n\*\*Notes.\*\* Source data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.NetUnrealizedProfitLossGovernments?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/net_unrealized_profit_loss_governments":{"get":{"summary":"Treasury Net Unrealized P&L (Governments)","description":"**Definition.** Treasury Net Unrealized Profit/Loss (Governments) is the paper gain or loss of current holdings in USD for government entities with crypto investments. The series displays individual government unrealized gains and losses, supporting tracking of which governments are in profit or underwater on their positions.\\n\\n**Technical.** Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\\n\\n**Notes.** Source data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.NetUnrealizedProfitLossGovernments?a=BTC)\n","operationId":"treasuries.NetUnrealizedProfitLossGovernments","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Price (Companies)

> \*\*Definition.\*\* Daily closing stock price of publicly listed companies that hold the selected crypto asset on their balance sheet (Digital Asset Treasury companies). One series per ticker.\n\n\*\*Interpretation.\*\* Tracks the equity price of each treasury company, useful to follow how the market values firms with significant crypto holdings and to compare them against the underlying asset. The price is already in USD, so it is directly comparable across tickers and over time.\n\n\*\*Technical.\*\* Daily close price per company stock symbol from the US equity (OPRA) feed, denominated in USD. Stocks trade on weekdays only, so no datapoint is produced on weekends or market holidays.\
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.PriceCompanies?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/price_companies":{"get":{"summary":"Treasury Price (Companies)","description":"**Definition.** Daily closing stock price of publicly listed companies that hold the selected crypto asset on their balance sheet (Digital Asset Treasury companies). One series per ticker.\\n\\n**Interpretation.** Tracks the equity price of each treasury company, useful to follow how the market values firms with significant crypto holdings and to compare them against the underlying asset. The price is already in USD, so it is directly comparable across tickers and over time.\\n\\n**Technical.** Daily close price per company stock symbol from the US equity (OPRA) feed, denominated in USD. Stocks trade on weekdays only, so no datapoint is produced on weekends or market holidays.\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.PriceCompanies?a=BTC)\n","operationId":"treasuries.PriceCompanies","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"s","in":"query","required":false,"description":"since, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"u","in":"query","required":false,"description":"until, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Profit Ratio (Companies)

> \*\*Definition.\*\* Treasury Profit Ratio (Companies) measures the profit or loss on holdings for institutional holders, market makers, and corporate entities with crypto investments. The series displays individual company profitability, supporting tracking of which companies are in profit or loss on their positions. The \\"other\\" category includes non-whitelisted entities.\n\n\*\*Technical.\*\* Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\n\n\*\*Interpretation.\*\* Positive values indicate profit, while negative values indicate unrealized losses.\n\n\*\*Notes.\*\* Source data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.ProfitRatioCompanies?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/profit_ratio_companies":{"get":{"summary":"Treasury Profit Ratio (Companies)","description":"**Definition.** Treasury Profit Ratio (Companies) measures the profit or loss on holdings for institutional holders, market makers, and corporate entities with crypto investments. The series displays individual company profitability, supporting tracking of which companies are in profit or loss on their positions. The \\\"other\\\" category includes non-whitelisted entities.\\n\\n**Technical.** Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\\n\\n**Interpretation.** Positive values indicate profit, while negative values indicate unrealized losses.\\n\\n**Notes.** Source data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.ProfitRatioCompanies?a=BTC)\n","operationId":"treasuries.ProfitRatioCompanies","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Profit Ratio (Governments)

> \*\*Definition.\*\* Treasury Profit Ratio (Governments) measures the profit or loss on holdings for government entities with crypto investments. The series displays individual government profitability, supporting tracking of which governments are in profit or loss on their positions.\n\n\*\*Technical.\*\* Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\n\n\*\*Interpretation.\*\* Positive values indicate profit, while negative values indicate unrealized losses.\n\n\*\*Notes.\*\* Source data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.ProfitRatioGovernments?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/profit_ratio_governments":{"get":{"summary":"Treasury Profit Ratio (Governments)","description":"**Definition.** Treasury Profit Ratio (Governments) measures the profit or loss on holdings for government entities with crypto investments. The series displays individual government profitability, supporting tracking of which governments are in profit or loss on their positions.\\n\\n**Technical.** Because the exact trading conditions such as prices are usually unknown, the metric should be considered an estimation only.\\n\\n**Interpretation.** Positive values indicate profit, while negative values indicate unrealized losses.\\n\\n**Notes.** Source data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.ProfitRatioGovernments?a=BTC)\n","operationId":"treasuries.ProfitRatioGovernments","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Relative Balances (Companies)

> \*\*Definition.\*\* Treasury Relative Balances (Companies) is the holdings of institutional holders, market makers, and corporate entities with crypto investments, expressed as a proportion of the asset\&#x27;s total supply. The series displays individual company holdings as a share of total supply, supporting tracking of corporate market concentration. The \\"other\\" category includes non-whitelisted entities.\n\n\*\*Technical.\*\* Holdings are not derived by directly tracking wallets, but rather are aggregated from publicly available reports.\n\n\*\*Notes.\*\* Source data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.BalanceRelativeCompanies?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/balance_relative_companies":{"get":{"summary":"Treasury Relative Balances (Companies)","description":"**Definition.** Treasury Relative Balances (Companies) is the holdings of institutional holders, market makers, and corporate entities with crypto investments, expressed as a proportion of the asset&#x27;s total supply. The series displays individual company holdings as a share of total supply, supporting tracking of corporate market concentration. The \\\"other\\\" category includes non-whitelisted entities.\\n\\n**Technical.** Holdings are not derived by directly tracking wallets, but rather are aggregated from publicly available reports.\\n\\n**Notes.** Source data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.BalanceRelativeCompanies?a=BTC)\n","operationId":"treasuries.BalanceRelativeCompanies","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Relative Balances (Governments)

> \*\*Definition.\*\* Treasury Relative Balances (Governments) is the holdings of government entities with crypto investments, expressed as a proportion of the asset\&#x27;s total supply. The series displays individual government holdings as a share of total supply, supporting tracking of government market concentration.\n\n\*\*Technical.\*\* Holdings are not derived by directly tracking wallets, but rather are aggregated from publicly available reports.\n\n\*\*Notes.\*\* Source data provided by \[CoinGecko]\(<https://www.coingecko.com/en/api).\n\\>
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.BalanceRelativeGovernments?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/balance_relative_governments":{"get":{"summary":"Treasury Relative Balances (Governments)","description":"**Definition.** Treasury Relative Balances (Governments) is the holdings of government entities with crypto investments, expressed as a proportion of the asset&#x27;s total supply. The series displays individual government holdings as a share of total supply, supporting tracking of government market concentration.\\n\\n**Technical.** Holdings are not derived by directly tracking wallets, but rather are aggregated from publicly available reports.\\n\\n**Notes.** Source data provided by [CoinGecko](https://www.coingecko.com/en/api).\\n\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.BalanceRelativeGovernments?a=BTC)\n","operationId":"treasuries.BalanceRelativeGovernments","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Total Trading Volume (Companies)

> \*\*Definition.\*\* Daily aggregate trading volume across all publicly listed Digital Asset Treasury (DAT) companies that hold the selected crypto asset on their balance sheet, reported as total shares traded (native) and the equivalent USD value.\n\n\*\*Interpretation.\*\* Measures overall equity market activity in the DAT sector for a given asset. Use to track sector-wide liquidity trends, compare against individual company volumes, or contextualize market interest in treasury-company equities.\
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.VolumeTotalCompanies?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/volume_total_companies":{"get":{"summary":"Treasury Total Trading Volume (Companies)","description":"**Definition.** Daily aggregate trading volume across all publicly listed Digital Asset Treasury (DAT) companies that hold the selected crypto asset on their balance sheet, reported as total shares traded (native) and the equivalent USD value.\\n\\n**Interpretation.** Measures overall equity market activity in the DAT sector for a given asset. Use to track sector-wide liquidity trends, compare against individual company volumes, or contextualize market interest in treasury-company equities.\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.VolumeTotalCompanies?a=BTC)\n","operationId":"treasuries.VolumeTotalCompanies","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"s","in":"query","required":false,"description":"since, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"u","in":"query","required":false,"description":"until, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"c","in":"query","required":false,"description":"currency - NATIVE, USD","schema":{"type":"string"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```

## Treasury Trading Volume (Companies)

> \*\*Definition.\*\* Daily trading volume of publicly listed companies that hold the selected crypto asset on their balance sheet (Digital Asset Treasury companies). One series per ticker.\n\n\*\*Interpretation.\*\* A measure of liquidity and trading activity in each treasury-company stock. Available both as the number of shares traded (native) and as the equivalent USD value, so volume can be compared in unit or dollar terms across tickers.\n\n\*\*Technical.\*\* Daily share volume per company stock symbol from the US equity (OPRA) feed. The USD series is the share volume multiplied by that day\&#x27;s closing price. Stocks trade on weekdays only, so no datapoint is produced on weekends or market holidays.\
> \
> \[View in Studio]\(<https://studio.glassnode.com/charts/treasuries.VolumeCompanies?a=BTC>)<br>

```json
{"openapi":"3.0.3","info":{"title":"Glassnode API - treasuries","version":"1.0.0"},"servers":[{"url":"https://api.glassnode.com","description":"Production API server"}],"security":[{"ApiKeyAuth":[]}],"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"query","name":"api_key","description":"Your Glassnode API key"}},"schemas":{"TimeSeriesResponse":{"type":"array","items":{"$ref":"#/components/schemas/TimeSeriesDataPoint"}},"TimeSeriesDataPoint":{"type":"object","properties":{"t":{"type":"integer","format":"int64","description":"Unix timestamp"},"v":{"oneOf":[{"type":"number"},{"type":"object"},{"type":"array"}],"description":"Metric value (can be number, object, or array depending on the metric)"},"o":{"type":"object","description":"Object containing multiple metric values (when applicable)","additionalProperties":true}}},"ErrorResponse":{"type":"object","properties":{"error":{"type":"string"}}}}},"paths":{"/v1/metrics/treasuries/volume_companies":{"get":{"summary":"Treasury Trading Volume (Companies)","description":"**Definition.** Daily trading volume of publicly listed companies that hold the selected crypto asset on their balance sheet (Digital Asset Treasury companies). One series per ticker.\\n\\n**Interpretation.** A measure of liquidity and trading activity in each treasury-company stock. Available both as the number of shares traded (native) and as the equivalent USD value, so volume can be compared in unit or dollar terms across tickers.\\n\\n**Technical.** Daily share volume per company stock symbol from the US equity (OPRA) feed. The USD series is the share volume multiplied by that day&#x27;s closing price. Stocks trade on weekdays only, so no datapoint is produced on weekends or market holidays.\n\n[View in Studio](https://studio.glassnode.com/charts/treasuries.VolumeCompanies?a=BTC)\n","operationId":"treasuries.VolumeCompanies","parameters":[{"name":"a","in":"query","required":true,"description":"asset id - (see metadata (metadata/metric) page for more details)}","schema":{"type":"string"},"style":"form","explode":false},{"name":"s","in":"query","required":false,"description":"since, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"u","in":"query","required":false,"description":"until, unix timestamp","schema":{"type":"integer"},"style":"form","explode":false},{"name":"i","in":"query","required":false,"description":"frequency interval - 24h","schema":{"type":"string"},"style":"form","explode":false},{"name":"f","in":"query","required":false,"description":"format - csv, json","schema":{"type":"string","enum":["csv","json"],"default":"json"},"style":"form","explode":false},{"name":"c","in":"query","required":false,"description":"currency - NATIVE, USD","schema":{"type":"string"},"style":"form","explode":false},{"name":"timestamp_format","in":"query","required":false,"description":"timestamp format - unix or humanized (RFC 3339)","schema":{"type":"string","enum":["unix","humanized"],"default":"unix"},"style":"form","explode":false}],"responses":{"200":{"description":"Successful response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TimeSeriesResponse"}}}},"400":{"description":"Bad Request - Invalid parameters or unsupported asset","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"401":{"description":"Unauthorized - Invalid or missing API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Too Many Requests - Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.glassnode.com/basic-api/endpoints/treasuries.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
