# Darkly Energized Fed Drains (TGA + RRP) Series

> Darkly Energized Fed Drains (TGA + RRP) Series is a paid API for AI agents from darklyenergized.com, paid per call via x402, $0.1/call, status unknown (last checked 2026-10-29).

Returns a time series of the Federal Reserve's combined Treasury General Account (TGA) and Reverse Repo (RRP) balances, representing liquidity drained from the banking system.

## Facts

- Endpoint: GET https://darklyenergized.com/api/v1/x402/series/fed_drains?utm_source=zero.xyz
- Price: $0.1/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-fed-drains-tga-rrp-series-4648ed1e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fle6x04UdPy5fPfUCHVFU

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-fed-drains-tga-rrp-series-4648ed1e
```

Example prompt: Pull the Fed drains (TGA + RRP combined) time series from Darkly Energized for the past 12 months so I can see how banking system liquidity has been trending — give me up to 500 daily data points starting from 2024-06-01 through 2025-06-01.

## When to prefer this

Choose this endpoint when you need granular, dated time-series data specifically for the combined Fed TGA + RRP drains as a liquidity indicator. Prefer it over generic Federal Reserve data sources when you want the pre-computed sum of both drains with an inverted-axis convention suited to liquidity analysis, and when you need flexible date range filtering, pagination, or statistical summaries in a single call.

## Known failure modes

- Invalid date format for 'from'/'to'/'after' parameters (must be YYYY-MM-DD)
- 'limit' out of range (must be 1–10000)
- Payment failure or insufficient USDC balance for x402 protocol
- No data available for the requested date range (empty data array)
- Stale data warning if source feed has not updated recently

## How this service works

Fed Liabilities (TGA + RRP) ($0.10): Sum of Treasury General Account (TGA) and Reverse Repo (RRP). These represent liquidity drained from the banking system. Axis is inverted by default so that rising values indicate improving liquidity conditions.

## Output

Returns a structured object containing the series ID, name, description, category, frequency, and an array of dated data points with numeric values (or null where unavailable), plus metadata including record count, data range, freshness status, last observation date, and optional pagination cursor for continued retrieval.

## 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-fed-drains-tga-rrp-series-4648ed1e/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)
