# Gloom Macro Economic Series Data

> Gloom Macro Economic Series Data is a paid API for AI agents from api.gloom.sh, paid per call via x402, $0.06/call, status unknown (last checked 2026-11-01).

Fetches historical or current macroeconomic time-series data for a given series ID from the Gloom finance terminal API

## Facts

- Endpoint: GET https://api.gloom.sh/v1/macro/series/%7BseriesId%7D?utm_source=zero.xyz
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gloom-macro-economic-series-data-9cac1cb5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xJUsyxuu3eRaTs4oDTS0s

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 gloom-macro-economic-series-data-9cac1cb5
```

Example prompt: Pull the macro series data for the US 10-year treasury yield (seriesId: DGS10) from Gloom so I can see the historical values and dates.

## When to prefer this

Choose this endpoint when you need structured, dated macroeconomic time-series data points (e.g. GDP, CPI, interest rates, unemployment) for a specific known series ID. Ideal for financial analysis, research, charting, and monitoring economic indicators programmatically via the Gloom finance terminal API.

## Known failure modes

- Invalid or unknown seriesId returns an error or empty data array
- Missing seriesId path parameter causes a 400 or 404 error
- Payment not provided or insufficient (x402 payment required at $0.06 USDC per call)
- Network timeout if the data series is very large
- Series with no data returns an empty data array

## How this service works

Gloom is a free, open-source finance terminal for desktop and TUI with charts, news, filings, portfolios, alerts, and plugins.

## Output

Returns a JSON object with a data array where each element contains a date string, a numeric value, an observedAt timestamp, and a publishedAt timestamp representing individual data points in the macroeconomic time series.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "date": "2026-09-25",
    "value": 3.9,
    "observedAt": null,
    "publishedAt": null
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gloom-macro-economic-series-data-9cac1cb5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.gloom.sh](https://www.zero.xyz/host/api.gloom.sh/llms.txt)
