# Darkly Energized – Swiss National Bank Total Assets (USD)

> Darkly Energized – Swiss National Bank Total Assets (USD) is a paid API for AI agents from darklyenergized.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-29).

Returns a time series of Swiss National Bank total assets converted to USD, with optional date filtering and statistical summaries.

## Facts

- Endpoint: GET https://darklyenergized.com/api/v1/x402/series/cb_usd_chcbbs?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/darkly-energized-swiss-national-bank-total-assets-usd-cd151c37
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_h-ZtXZzSFIuEmqx0515ie

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability darkly-energized-swiss-national-bank-total-assets-usd-cd151c37
```

Example prompt: Pull me the Swiss National Bank total assets time series in USD from January 2020 to December 2023, up to 1000 data points.

## When to prefer this

Choose this endpoint when you specifically need Swiss National Bank balance sheet data in USD-denominated terms, with flexible date range filtering and pagination. It is the right choice for macroeconomic research, global liquidity tracking, or building dashboards that compare central bank balance sheets across countries. Prefer it over generic financial data APIs when you need consistent USD conversion and freshness metadata for the SNB specifically.

## Known failure modes

- Invalid date format (non-YYYY-MM-DD) returns validation error
- 'from' date after 'to' date returns empty or error response
- Limit exceeding 10000 is rejected
- Requesting dates before the series start returns empty data array
- Payment failure or missing x402 payment header returns 402 Payment Required
- Series temporarily unavailable or data stale may return isStale: true in freshness metadata

## How this service works

Swiss National Bank Total Assets (USD) ($0.05): Swiss National Bank total assets converted to USD.

## Output

Returns a JSON object containing the series ID, name, description, category, frequency, unit, and an array of {time, value} data points in USD. Also includes metadata such as total count, data range covered, freshness status (isStale, lastObservation, frequency), and optional pagination cursor. When summary mode is enabled, returns statistical aggregates instead of raw data points.

## Request schema (JSON Schema)

```json
{
 "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",
     "properties": {
      "to": {
       "type": "string",
       "format": "date",
       "description": "End date (YYYY-MM-DD)"
      },
      "from": {
       "type": "string",
       "format": "date",
       "description": "Start date (YYYY-MM-DD)"
      },
      "after": {
       "type": "string",
       "format": "date",
       "description": "Return points after this date (meta.pagination.cursor)"
      },
      "limit": {
       "type": "integer",
       "default": 500,
       "maximum": 10000,
       "minimum": 1,
       "description": "Most data points to return, oldest first"
      },
      "summary": {
       "type": "boolean",
       "default": false,
       "description": "Return a statistical summary instead of the data points"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "oneOf": [
      {
       "type": "object",
       "required": [
        "data",
        "meta"
       ],
       "properties": {
        "data": {
         "type": "object",
         "required": [
          "id",
          "name",
          "description",
          "category",
          "frequency",
          "data"
         ],
         "properties": {
          "id": {
           "type": "string"
          },
          "data": {
           "type": "array",
           "items": {
            "type": "object",
            "required": [
             "time",
             "value"
            ],
            "properties": {
             "time": {
              "type": "string",
              "format": "date",
              "example": "2026-02-14"
             },
             "value": {
              "type": [
               "number",
               "null"
              ],
              "example": 1.23,
              "description": "Null where the series has no value on that date (for example while a computed series warms up)."
             }
            }
           }
          
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/darkly-energized-swiss-national-bank-total-assets-usd-cd151c37/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from darklyenergized.com](https://www.zero.xyz/host/darklyenergized.com/llms.txt)
