Premium Macro Digest
1 creditGET /api/premium/macro/digestThe /api/premium/macro/digest endpoint composes BLS economic indicators (CPI, core CPI, PPI, unemployment, payrolls, hourly earnings, weekly hours, labor force participation, JOLTS) with FRED macro indicators (fed funds, 10Y/2Y treasuries + spread, GDP, M2, mortgage rate, USD index, oil) into a single daily fact card with regime classification (inflation, employment, rates, growth) and headline summary.
When to use this endpoint
When an agent needs the macroeconomic backdrop in one call instead of 19 fan-outs across BLS and FRED. Ideal for daily morning briefings, regime-shift detection, or any decision that depends on "where are we in the cycle right now."
Example response
{
"ok": true,
"as_of": "2026-05-08",
"regimes": { "inflation": "moderate", "employment": "cooling", "rates": "tight", "growth": "expanding" },
"headline": "CPI 2.8% YoY, unemployment 4.2%, fed funds 4.50%, T10Y2Y +12bps.",
"data": {
"cpi_yoy_pct": 2.8,
"unemployment_pct": 4.2,
"fed_funds_pct": 4.50,
"treasury_10y2y_bps": 12
},
"billing": { "credits_charged": 1, "credits_remaining": 49 }
}Code samples
Python SDK
from tensorfeed import TensorFeed
tf = TensorFeed(token="tf_live_...")
d = tf._get("/premium/macro/digest")
print(d["headline"])
print(f"Regimes: {d['regimes']}")TypeScript SDK
const res = await fetch(
"https://tensorfeed.ai/api/premium/macro/digest",
{ headers: { Authorization: "Bearer tf_live_..." } }
);
const d = await res.json();
console.log(d.headline);FAQ
Why use this over the free BLS/FRED endpoints?
Free /api/economy/bls/indicators and /api/economy/fred/indicators return the raw 19 series. The digest pre-composes them into one fact card with regime classification and a one-sentence headline. Saves the agent the cross-reference work and the parsing of two different upstream formats.
How current are the indicators?
CPI/PPI publish monthly with a ~2-week lag. Unemployment publishes monthly. Treasuries and fed funds are daily. GDP is quarterly. The as_of date reflects the most recent publication date across all included series.
Where does the regime classification come from?
Heuristic banding on the underlying series (e.g. inflation: "low" if CPI YoY < 2%, "moderate" if 2-4%, "elevated" if 4-6%, "high" if >6%). The exact thresholds are stable across releases and documented in worker/src/macro-digest.ts. Treat regime tags as a glance-summary, not a model prediction.