# LastLook Data – FRED Series Last 365 Days

> LastLook Data – FRED Series Last 365 Days is a paid API for AI agents from api.lastlookdata.com, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Returns the last 365 days of daily data for a supported FRED economic series (rates, CPI, GDP, energy, housing, etc.)

## Facts

- Endpoint: GET https://api.lastlookdata.com/api/series/365
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-lastlookdata-com-4bc1dfd4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6pWMnRsm8mTTKuc6aIgGU

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-4bc1dfd4
```

Example prompt: Can you pull the last 365 days of the 10-year Treasury yield (DGS10) from FRED so I can see the full year trend?

## When to prefer this

Use this endpoint when you need a full year (365 days) of historical data for a supported FRED economic series — ideal for trend analysis, charting, backtesting, or computing year-over-year changes. Prefer the /api/series/30 or /api/series/90 endpoints when you only need recent data and want to minimize cost. Use the /api/current endpoint when only the latest single value is needed. Use /api/date when you need a point-in-time value on a specific past date.

## Known failure modes

- Missing or invalid 'id' query parameter returns an error — must be one of the 24 supported FRED series IDs
- Unsupported series ID not in the allowed enum returns a validation error
- Payment not provided or rejected causes a 402 Payment Required response
- Series with lower publication frequency (e.g. GDP, MSPUS) may return fewer than 365 actual data points since those are released quarterly or monthly
- Network timeout or upstream FRED data unavailability may cause 5xx errors

## How this service works

LastLook Data — last 365 days of any supported FRED series.

## Output

A time series of daily data points for the requested FRED series covering the last 365 days, including dates and corresponding values for indicators such as DGS10, FEDFUNDS, CPIAUCSL, UNRATE, MORTGAGE30US, GDP, DCOILWTICO, SOFR, and others.

## Example request

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

## 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-4bc1dfd4/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)
