# Forest Markets – U.S. Treasury Daily Par Yield Curve Rates

> Forest Markets – U.S. Treasury Daily Par Yield Curve Rates is a paid API for AI agents from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-10).

Returns the latest official U.S. Treasury Daily Treasury Par Yield Curve Rates snapshot across all standard maturities (1 month to 30 years), with missing tenors reported as null and no interpolation or forecasting.

## Facts

- Endpoint: POST https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/treasury/yield-curve?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forest-markets-u-s-treasury-daily-par-yield-curve-rates-a499e609
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5JOszJWRZfQ3YhPzn2CS5

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 forest-markets-u-s-treasury-daily-par-yield-curve-rates-a499e609 -d '<json body>'
```

Example prompt: Pull the latest U.S. Treasury par yield curve snapshot — I need today's official rates across all maturities from 1 month to 30 years, with any missing tenors shown as null.

## When to prefer this

Choose this endpoint when you need a clean, normalized, single official daily U.S. Treasury par yield curve observation with all standard maturities in one call, and you do not want interpolation, forecasting, or secondary-market data. Ideal for financial agents that need official risk-free benchmark rates for valuation, discounting, or yield curve shape analysis without building their own Treasury data pipeline.

## Known failure modes

- Treasury has not published data for the current day (weekend/holiday) — most recent prior business day rate returned or null tenors
- Missing tenors for certain maturities on a given day returned as null rather than error
- Payment not processed — HTTP 402 returned requiring x402 USDC payment before data is served
- Network or upstream Treasury data source unavailable — service may return error or stale data

## How this service works

Return the latest published U.S. Treasury Daily Treasury Par Yield Curve Rates snapshot across standard maturities from 1 month through 30 years. Forest normalizes one coherent official daily observation, reports missing Treasury tenors as null, and performs no forecast, interpolation, trading signal or secondary-market inference. Base mainnet USDC

## Output

A JSON object containing the record date, unit (percent), a curve object with yield values (or null) for each standard maturity (1m, 1.5m, 2m, 3m, 4m, 6m, 1y, 2y, 3y, 5y, 7y, 10y, 20y, 30y), source and source dataset identifiers, freshness metadata, source month, and request count.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "capability",
      "version",
      "data",
      "meta"
     ],
     "properties": {
      "ok": {
       "const": true,
       "description": "Public ok value used to scope this lookup."
      },
      "data": {
       "type": "object",
       "required": [
        "record_date",
        "unit",
        "curve",
        "source",
        "source_dataset",
        "freshness",
        "source_month",
        "request_count"
       ],
       "properties": {
        "unit": {
         "const": "percent",
         "description": "Public unit value used to scope this lookup."
        },
        "curve": {
         "type": "object",
         "required": [
          "1m",
          "1_5m",
          "2m",
          "3m",
          "4m",
          "6m",
          "1y",
          "2y",
          "3y",
          "5y",
          "7y",
          "10y",
          "20y",
          "30y"
         ],
         "properties": {
          "1m": {
           "type": [
            "number",
            "null"
           ],
           "description": "Public 1m value used to scope this lookup."
          },
          "1y": {
           "type": [
            "number",
            "null"
           ],
           "description": "Public 1m value used to scope this lookup."
          },
          "2m": {
           "type": [
            "number",
            "null"
           ],
           "description": "Public 1m value used to scope this lookup."
          },
          "2y": {
           "type": [
            "number",
            "null"
           ],
           "description": "Public 1m value used to sco
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forest-markets-u-s-treasury-daily-par-yield-curve-rates-a499e609/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run](https://www.zero.xyz/host/http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/llms.txt)
