# LastLook Data — Last 30 Days of FRED Series

> LastLook Data — Last 30 Days of FRED Series is a paid API for AI agents from api.lastlookdata.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-11).

Returns the last 30 days of daily observations for a specified FRED economic series (mortgage rates, Fed funds, Treasury yields, CPI, energy prices, etc.)

## Facts

- Endpoint: GET https://api.lastlookdata.com/api/series/30?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-lastlookdata-com-0057d812
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eVV98nUToSsxa-Cnoaq9O

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 api-lastlookdata-com-0057d812
```

Example prompt: Pull the last 30 days of the 30-year mortgage rate (MORTGAGE30US) from FRED so I can see how rates have been trending this month.

## When to prefer this

Use this endpoint when you need a recent trend window (30 days) for a specific FRED series — ideal for charting rate movements, detecting short-term trends, or comparing recent economic conditions. Prefer over the /api/current endpoint when a single latest value is insufficient and you need the full recent history. Use /api/series/90 instead if you need a longer lookback window.

## Known failure modes

- Invalid or unsupported series ID returns an error — only the enumerated series IDs (DGS30, DGS10, MORTGAGE30US, FEDFUNDS, EFFR, IORB, CPIAUCSL, etc.) are accepted
- Payment failure (402) if x402 payment of $0.05 USDC is not provided
- FRED data lag — some series may not have today's value if not yet published by FRED
- Network timeout or server error (5xx) for transient failures

## How this service works

LastLook Data — last 30 days of any FRED series. Use for mortgage rates, Fed funds, IORB, EFFR, Treasury yields, CPI, energy prices, and more.

## Output

An array of dated observations for the requested FRED series covering the last 30 days, including values for each available trading/reporting day. Fields typically include date and value for the specified series.

## Example request

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

## 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": {
       "enum": [
        "DGS30",
        "DGS10",
        "DGS5",
        "DGS2",
        "DGS1MO",
        "MORTGAGE30US",
        "MORTGAGE15US",
        "MSPUS",
        "HOUST",
        "FEDFUNDS",
        "SOFR",
        "DPRIME",
        "DTB3",
        "IORB",
        "EFFR",
        "CPIAUCSL",
        "CPILFESL",
        "UNRATE",
        "GDP",
        "SAHMREALTIME",
        "DCOILWTICO",
        "DCOILBRENTEU",
        "GASREGCOVW",
        "DHHNGSP"
       ],
       "type": "string",
       "description": "FRED series ID"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-lastlookdata-com-0057d812/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.lastlookdata.com](https://www.zero.xyz/host/api.lastlookdata.com/llms.txt)
