# LastLook Data — Current 30-Year US Treasury Yield (DGS30)

> LastLook Data — Current 30-Year US Treasury Yield (DGS30) is a paid API for AI agents from api.lastlookdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns the most recent 30-year US Treasury constant maturity yield (DGS30) from FRED.

## Facts

- Endpoint: GET https://api.lastlookdata.com/api/treasury/current
- Price: $0.01/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-b3f5770a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_maeAOvOVqFqxxUwvk2CK-

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-b3f5770a
```

Example prompt: What is the current 30-year US Treasury yield? I need the latest DGS30 value from FRED.

## When to prefer this

Choose this endpoint when you specifically need the current 30-year US Treasury yield (DGS30) and want a direct, no-parameter GET call. It is an alias for /api/current?id=DGS30 and is ideal when the long bond rate is the exact metric needed, rather than a different maturity or a historical time series.

## Known failure modes

- FRED data not yet updated for the current day — returns most recently available observation
- Payment failure (402) if x402 micropayment is not properly handled — no data returned
- Network or upstream FRED API unavailability — service may return 5xx error
- Invalid or missing request headers for x402 payment flow — returns 402 with payment details

## How this service works

LastLook Data — current 30-year US Treasury yield (DGS30). Alias for /api/current?id=DGS30.

## Output

Returns the most recent value of the DGS30 series — the 30-year US Treasury constant maturity yield — including the yield percentage and the date of the observation.

## Example request

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

## 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",
     "properties": {}
    }
   },
   "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-b3f5770a/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)
