# Fathom Macroeconomic Data API (FRED-powered)

> Fathom Macroeconomic Data API (FRED-powered) is a paid API for AI agents from fredthom.vercel.app, paid per call via x402, $0.4/call, status unknown (last checked 2026-09-15).

Retrieves macroeconomic time series data from the FRED database by series ID, returning metadata and values for indicators like GDP, inflation, and unemployment.

## Facts

- Endpoint: POST https://fredthom.vercel.app/api/series
- Price: $0.4/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fathom-macroeconomic-data-api-fred-powered-7bcb6b8d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NW149RDN5MOUIMa27i1hO

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-fred-powered-7bcb6b8d -d '<json body>'
```

Example prompt: Pull the FRED series for US GDP (series ID: GDP) so I can see the latest macroeconomic data and metadata.

## When to prefer this

Use this endpoint when you need structured macroeconomic time series data from FRED's 816,000+ series — especially for US economic indicators like GDP, UNRATE, CPI, or interest rates — without building your own FRED integration. Prefer this over direct FRED API calls when operating in an agent context with x402 micropayment support.

## Known failure modes

- Invalid or unknown FRED series ID returns an error or empty result
- Missing required seriesId field causes a 400-level validation error
- FRED upstream unavailability causes a 503 or timeout
- Payment of 0.4 USDC required per call; unpaid requests are rejected with 402

## 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 FRED series ID, source attribution, and an info object with time series metadata and data points for the requested economic indicator.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "seriesId"
 ],
 "properties": {
  "seriesId": {
   "type": "string",
   "description": "FRED series ID (e.g. GDP, UNRATE)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "source"
 ],
 "properties": {
  "info": {
   "type": "object"
  },
  "source": {
   "type": "string"
  },
  "seriesId": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fathom-macroeconomic-data-api-fred-powered-7bcb6b8d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fredthom.vercel.app](https://www.zero.xyz/host/fredthom.vercel.app/llms.txt)
