{"uid":"cap_fle6x04UdPy5fPfUCHVFU","slug":"darkly-energized-fed-drains-tga-rrp-series-4648ed1e","name":"Darkly Energized Fed Drains (TGA + RRP) Series","description":"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.","url":"https://darklyenergized.com/api/v1/x402/series/fed_drains?utm_source=zero.xyz","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","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)."}}}},"name":{"type":"string"},"unit":{"type":"string"},"category":{"type":"string"},"frequency":{"type":"string"},"description":{"type":"string"}}},"meta":{"type":"object","required":["timestamp"],"properties":{"count":{"type":"integer"},"dataRange":{"type":"object","properties":{"to":{"type":"string","format":"date"},"from":{"type":"string","format":"date"}}},"freshness":{"type":"object","properties":{"isStale":{"type":"boolean"},"frequency":{"type":"string"},"lastObservation":{"type":"string","format":"date"}}},"timestamp":{"type":"string","format":"date-time"},"pagination":{"type":"object","properties":{"total":{"type":"integer"},"cursor":{"type":"string"},"hasMore":{"type":"boolean"}}}}}}},{"type":"object","required":["data","meta"],"properties":{"data":{"type":"object","required":["id","name","description","summary","interpretation"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"unit":{"type":"string"},"summary":{"type":"object","required":["latest","changes","range","count","dateRange"],"properties":{"count":{"type":"integer"},"range":{"type":"object","properties":{"avg":{"type":["number","null"]},"max":{"type":["number","null"]},"min":{"type":["number","null"]}}},"latest":{"type":"object","properties":{"time":{"type":"string","format":"date"},"value":{"type":["number","null"]}}},"changes":{"type":"object","example":{"1M":-3.1,"1W":5.2,"1Y":15.3,"3M":12.4,"6M":-8.7},"description":"Percent changes for standard periods; null where the series has too little data for that period","additionalProperties":{"type":["number","null"]}},"dateRange":{"type":"object","properties":{"to":{"type":"string","format":"date"},"from":{"type":"string","format":"date"}}}}},"category":{"type":"string"},"frequency":{"type":"string"},"description":{"type":"string"},"interpretation":{"type":"string","example":"Federal Reserve Total Assets is at 6.78T, up 0.3% this week. All Federal Reserve Banks: Total Assets."}}},"meta":{"type":"object","required":["timestamp"],"properties":{"count":{"type":"integer"},"dataRange":{"type":"object","properties":{"to":{"type":"string","format":"date"},"from":{"type":"string","format":"date"}}},"freshness":{"type":"object","properties":{"isStale":{"type":"boolean"},"frequency":{"type":"string"},"lastObservation":{"type":"string","format":"date"}}},"timestamp":{"type":"string","format":"date-time"},"pagination":{"type":"object","properties":{"total":{"type":"integer"},"cursor":{"type":"string"},"hasMore":{"type":"boolean"}}}}}}}]}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0muqCOqpORpaSlcmINR6j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Macro liquidity dashboard data feed","prompt":"Fetch the Fed TGA and RRP combined drains series from 2023-01-01 to 2024-12-31 so I can plot banking system liquidity conditions over the past two years on my dashboard."},{"title":"Pre-trade liquidity conditions check","prompt":"Before I place my risk trades today, pull the latest Fed drains data — TGA plus RRP — for the last 90 days and tell me if liquidity is improving or tightening."},{"title":"Statistical summary of Fed drain regime","prompt":"Give me a statistical summary of the Fed drains series from 2022-01-01 to 2023-12-31 so I can understand the range and average of liquidity drained during the quantitative tightening cycle."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T07:05:36.317Z","isFirstParty":false,"canonicalSlug":"darkly-energized-fed-drains-tga-rrp-series-4648ed1e"}