# Fathom Macroeconomic Data API (FRED-powered)

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

Retrieves macroeconomic time series data from FRED (Federal Reserve Economic Data) by series ID, covering GDP, inflation, unemployment, interest rates, and 816,000+ other economic indicators.

## Facts

- Endpoint: POST https://fathoms.vercel.app/api/series
- Price: $0.06/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-e78a6c95
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ihPOxPuPqNAq0PXlOtO3X

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

Example prompt: Can you pull the US unemployment rate time series from FRED — the series ID is UNRATE?

## When to prefer this

Use this endpoint when you need programmatic, pay-per-call access to FRED macroeconomic data without setting up a FRED API key, or when operating in an x402 payment-enabled agent environment. Prefer this over direct FRED API calls when you want a simple POST interface with crypto micropayments and no API key management.

## Known failure modes

- Invalid or unknown FRED series ID returns an error or empty response
- Network/service unavailability from the Vercel deployment
- Payment failure if USDC balance is insufficient for the $0.06 per-call fee
- Missing required seriesId field in request body causes validation error

## 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 an object containing the FRED series data, including a source attribution string, the series ID echoed back, and an info object with the 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-e78a6c95/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fathoms.vercel.app](https://www.zero.xyz/host/fathoms.vercel.app/llms.txt)
