# Fathom Macroeconomic Data API — Latest Value

> Fathom Macroeconomic Data API — Latest Value is a paid API for AI agents from fathom-opal.vercel.app, paid per call via x402, $0.04/call, status unknown (last checked 2026-09-14).

Returns the most recent data point for any FRED economic time series given a series ID

## Facts

- Endpoint: POST https://fathom-opal.vercel.app/api/latest
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fathom-macroeconomic-data-api-latest-value-16521d0e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HrsP4mXLAyNJF1PzllK9R

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 fathom-macroeconomic-data-api-latest-value-16521d0e -d '<json body>'
```

Example prompt: What's the latest US unemployment rate? Use the FRED series ID UNRATE to pull the most recent data point.

## When to prefer this

Choose this endpoint when you need the single most recent value for any of FRED's 816,000+ economic time series — especially useful for real-time economic indicators like GDP, CPI, unemployment, interest rates, or money supply. Prefer this over direct FRED API access when you want a simple, low-friction paid endpoint without managing FRED API keys. Best for spot lookups rather than historical time series retrieval.

## Known failure modes

- Invalid or unknown FRED series ID returns an error or empty result
- Series exists but has no recent data points
- Network timeout on the Vercel deployment
- Payment of 0.04 USDC not completed results in 402 error
- Series ID provided in wrong format (case-sensitive)

## How this service works

Free macroeconomic data API powered by FRED. 816,000+ economic time series. GDP, inflation, unemployment, interest rates, and more.

## Output

Returns a JSON object containing the latest data point (value and date) for the requested FRED series, the series ID echoed back, and a source attribution string indicating the data comes from FRED.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "seriesId"
 ],
 "properties": {
  "seriesId": {
   "type": "string",
   "description": "FRED series ID"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "source"
 ],
 "properties": {
  "latest": {
   "type": "object"
  },
  "source": {
   "type": "string"
  },
  "series_id": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fathom-macroeconomic-data-api-latest-value-16521d0e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fathom-opal.vercel.app](https://www.zero.xyz/host/fathom-opal.vercel.app/llms.txt)
