# Fathom Macroeconomic Data Search API

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

Search 816,000+ FRED-powered economic time series by keyword to discover macroeconomic data on GDP, inflation, unemployment, interest rates, and more

## Facts

- Endpoint: POST https://fathom-opal.vercel.app/api/search
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fathom-macroeconomic-data-search-api-c3aeaa64
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_mSzjKhpL5ccnAp0nOgpyS

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-search-api-c3aeaa64 -d '<json body>'
```

Example prompt: Search the FRED-powered Fathom macroeconomic database for time series related to 'inflation rate' and return the top 5 results so I can see what economic series are available.

## When to prefer this

Choose this endpoint when you need to discover and identify specific economic time series from the FRED database by keyword — ideal for finding series identifiers before fetching actual data, building economic dashboards, or researching which macroeconomic indicators are available for a given topic. Prefer it over direct FRED API access when you want a simple search interface with pay-per-call pricing and no API key management.

## Known failure modes

- Missing required 'query' field returns a validation error
- Very broad or ambiguous queries may return unrelated series
- Rate limiting or payment failure (x402) may block access
- Query returning zero results if search terms are too specific or misspelled
- Vercel cold-start may add latency on first call

## 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 original query string, a count of matched series, the data source attribution ('FRED'), and an array of matching economic time series objects — each containing series metadata such as identifier, title, frequency, units, and description.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "limit": {
   "type": "string",
   "description": "Max results (default: 10)"
  },
  "query": {
   "type": "string",
   "description": "Search keywords (e.g. 'inflation rate', 'housing starts')"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "source"
 ],
 "properties": {
  "count": {
   "type": "number"
  },
  "query": {
   "type": "string"
  },
  "series": {
   "type": "array",
   "items": {
    "type": "object"
   }
  },
  "source": {
   "type": "string"
  }
 }
}
```

## More

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