# Fathom Macroeconomic Data API

> Fathom Macroeconomic Data API is a paid API for AI agents from frederalfathom.vercel.app, paid per call via x402, $0.35/call, status unknown (last checked 2026-11-02).

Fetches the latest value of any FRED economic time series by series ID, covering 816,000+ macroeconomic indicators

## Facts

- Endpoint: POST https://frederalfathom.vercel.app/api/latest?utm_source=zero.xyz
- Price: $0.35/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fathom-macroeconomic-data-api-abdc5c79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GJVKCDDpxWwZn5iwTzHSW

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-abdc5c79 -d '<json body>'
```

Example prompt: What's the latest US unemployment rate? Pull it from the FRED series UNRATE and give me the most recent value.

## When to prefer this

Use this endpoint when you need the single most recent value from any of FRED's 816,000+ macroeconomic time series — GDP, unemployment, inflation, interest rates, housing, trade, and more — without building a FRED API integration yourself. It is ideal for quick spot-checks of current economic conditions rather than full historical series retrieval.

## Known failure modes

- Invalid or nonexistent FRED series ID returns an error or empty result
- Network timeout if FRED upstream is slow
- Missing required seriesId field returns a validation error
- Series with no recent observations may return an empty latest object
- Payment failure via x402 protocol blocks the request

## 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 for the requested FRED series, including the series ID, the latest observation object (with date and value), and the data source attribution string.

## 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-abdc5c79/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from frederalfathom.vercel.app](https://www.zero.xyz/host/frederalfathom.vercel.app/llms.txt)
