# Fathom — Macroeconomic Data API (Latest Value)

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

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

## Facts

- Endpoint: POST https://fredthom.vercel.app/api/latest
- Price: $0.35/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-b6900fe5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GPOrZhNC2XYEcg7OUkCsJ

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

Example prompt: What's the latest value for the FRED series UNRATE — I need the most recent US unemployment rate figure.

## When to prefer this

Use this endpoint when you need only the single most recent observation for a FRED economic series, rather than a full historical time series. Ideal for quick lookups of current economic indicators like GDP, CPI, unemployment, or interest rates by their FRED series ID.

## Known failure modes

- Invalid or nonexistent FRED series ID returns an error or empty result
- Missing required seriesId field causes a 400-level error
- FRED upstream outage may cause delayed or failed responses
- Series with no recent data may return an empty latest object
- Payment not completed (x402) results in 402 Payment Required before data is returned

## 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 with the most recent observation for the specified FRED series, including the latest data point object, the series ID, and a 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-latest-value-b6900fe5/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)
