# Fathom Macroeconomic Data API — Latest Value

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

Retrieves the latest value for any FRED economic time series (GDP, inflation, unemployment, interest rates, etc.) by series ID

## Facts

- Endpoint: POST https://fathoms.vercel.app/api/latest
- Price: $0.04/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-latest-value-22e2c0f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IhYZwvRbNfRCKhMl_KLjY

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

Example prompt: Pull the latest value for the FRED series UNRATE so I can see the current US unemployment rate.

## When to prefer this

Choose this endpoint when you need the single most recent data point for any FRED macroeconomic series quickly and cheaply. It is ideal for agents that need a real-time snapshot of a specific economic indicator (GDP, CPI, unemployment, interest rates) without retrieving a full historical time series. Prefer this over general web search when you need a precise, authoritative FRED data value with a known series ID.

## Known failure modes

- Invalid or unknown FRED series ID returns an error or empty result
- Series ID that has been discontinued or renamed may return stale or no data
- Network timeouts from the upstream FRED API can cause failures
- Rate limiting or payment failures may prevent access
- Series with infrequent updates may return a value that appears outdated

## 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, along with the series ID 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-22e2c0f9/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)
