# FRED Economic Data via AgentToll

> FRED Economic Data via AgentToll is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-15).

Fetches Federal Reserve Economic Data (FRED) series and observations for macroeconomic indicators like GDP, unemployment, and interest rates

## Facts

- Endpoint: POST https://agenttoll.dev/paid/finance/fred
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fred-economic-data-via-agenttoll-c860a0d2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kKe78wSnuAqwtvKpY6cMj

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 fred-economic-data-via-agenttoll-c860a0d2 -d '<json body>'
```

Example prompt: Can you pull the latest 20 observations for the 10-year Treasury yield from FRED — the series ID is DGS10?

## When to prefer this

Choose this endpoint when you need programmatic, pay-per-call access to FRED economic data without managing a FRED API key, especially within an AI agent workflow that already uses x402/USDC micropayments. Ideal for one-off lookups of specific macroeconomic series without a subscription commitment.

## Known failure modes

- Invalid or unknown series_id returns an error or empty result
- Limit out of range (not between 5-100) may return a validation error
- FRED API upstream outage causes failure
- Payment failure in USDC/x402 blocks the request
- Missing series_id may return a default or list of available series

## How this service works

108+ receipt-backed x402 work products for AI agents. Clear prices, spend caps, buyer metadata, and structured results over Base USDC.

## Output

Returns a JSON object containing FRED series metadata and/or observation data — typically including data points with dates and values for the requested economic indicator series, up to the specified limit of observations.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "integer",
   "description": "optional int 5-100"
  },
  "series_id": {
   "type": "string",
   "description": "optional e.g. GDP, UNRATE, DGS10"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fred-economic-data-via-agenttoll-c860a0d2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.dev](https://www.zero.xyz/host/agenttoll.dev/llms.txt)
