# FRED Latest Value Lookup

> FRED Latest Value Lookup is a paid API for AI agents from fred-x402.vercel.app, paid per call via x402, $0.002/call, status down (last checked 2026-10-13).

Returns the most recent observation value, date, units, and frequency for any FRED economic data series, identified by series ID or plain-English name.

## Facts

- Endpoint: GET https://fred-x402.vercel.app/fred/latest?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fred-x402-vercel-app-cd4131c6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-SXMXzGz-6_KIJF499FsG

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-x402-vercel-app-cd4131c6
```

Example prompt: What's the latest unemployment rate from FRED? Use series ID UNRATE and tell me the value, date, and units.

## When to prefer this

Use this endpoint when you need the single most recent data point for a specific FRED economic series and do not need historical data. Ideal for real-time dashboards, quick macro checks, or answering point-in-time economic questions. Prefer this over the historical endpoint when only the current value matters, and over the search endpoint when you already know the series ID or a common name like 'inflation' or 'unemployment'.

## Known failure modes

- Unknown or misspelled series ID returns an error or empty result
- Plain-English name resolution may not map correctly to obscure series
- FRED API rate limits or outages cause upstream failures
- Series with no recent data returns stale or missing latest_value
- Payment not processed results in 402 response before data is returned

## How this service works

Latest value for any FRED economic series. Accepts series ID (e.g. CPIAUCSL) or plain-English name (e.g. 'inflation', 'unemployment', 'fed rate'). Returns value, units, date, frequency.

## Output

Returns a JSON object with the series ID, full title, latest numeric value, the date of that observation, units (e.g. '%', 'Billions of Dollars'), reporting frequency (e.g. 'M' for monthly), seasonal adjustment status, last updated timestamp, and descriptive notes about the series.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "id": "CPIAUCSL"
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "FRED series ID (e.g. CPIAUCSL) or name (e.g. 'inflation', 'unemployment rate', 'fed funds rate')"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "id": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "units": {
       "type": "string"
      },
      "latest_date": {
       "type": "string"
      },
      "latest_value": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fred-x402-vercel-app-cd4131c6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fred-x402.vercel.app](https://www.zero.xyz/host/fred-x402.vercel.app/llms.txt)
