{
  "x402Version": 2,
  "id": 33968,
  "slug": "33968",
  "resource": "https://http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run/treasury/yield-curve",
  "description": "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",
  "type": "http",
  "serviceName": "Forest Markets",
  "resourceType": "AI Inference",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xf9c2a7255E7C51D7BF38331DcFC23Ba881cF61Ba",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "3000",
      "amountUsd": 0.003,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "additionalProperties": false,
        "properties": {
          "capability": {
            "const": "treasury.yield-curve",
            "description": "Public capability value used to scope this lookup."
          },
          "data": {
            "additionalProperties": false,
            "description": "Public data value used to scope this lookup.",
            "properties": {
              "curve": {
                "additionalProperties": false,
                "description": "Public curve value used to scope this lookup.",
                "properties": {
                  "10y": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "1_5m": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "1m": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "1y": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "20y": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "2m": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "2y": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "30y": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "3m": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "3y": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "4m": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "5y": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "6m": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  },
                  "7y": {
                    "description": "Public 1m value used to scope this lookup.",
                    "type": [
                      "number",
                      "null"
                    ]
                  }
                },
                "required": [
                  "1m",
                  "1_5m",
                  "2m",
                  "3m",
                  "4m",
                  "6m",
                  "1y",
                  "2y",
                  "3y",
                  "5y",
                  "7y",
                  "10y",
                  "20y",
                  "30y"
                ],
                "type": "object"
              },
              "freshness": {
                "const": "latest_published_daily_observation",
                "description": "Public freshness value used to scope this lookup."
              },
              "record_date": {
                "description": "Public record date value used to scope this lookup.",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "type": "string"
              },
              "request_count": {
                "description": "Public request count value used to scope this lookup.",
                "maximum": 2,
                "minimum": 1,
                "type": "integer"
              },
              "source": {
                "const": "U.S. Department of the Treasury",
                "description": "Public source value used to scope this lookup."
              },
              "source_dataset": {
                "const": "daily_treasury_yield_curve",
                "description": "Public source dataset value used to scope this lookup."
              },
              "source_month": {
                "description": "Public source month value used to scope this lookup.",
                "pattern": "^\\d{6}$",
                "type": "string"
              },
              "unit": {
                "const": "percent",
                "description": "Public unit value used to scope this lookup."
              }
            },
            "required": [
              "record_date",
              "unit",
              "curve",
              "source",
              "source_dataset",
              "freshness",
              "source_month",
              "request_count"
            ],
            "type": "object"
          },
          "meta": {
            "additionalProperties": false,
            "description": "Public meta value used to scope this lookup.",
            "properties": {
              "cache": {
                "description": "Public cache value used to scope this lookup.",
                "enum": [
                  "hit",
                  "miss",
                  "bypass"
                ]
              },
              "checked_at": {
                "description": "Public checked at value used to scope this lookup.",
                "type": "string"
              },
              "duration_ms": {
                "description": "Public duration ms value used to scope this lookup.",
                "minimum": 0,
                "type": "integer"
              },
              "provider": {
                "description": "Public provider value used to scope this lookup.",
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [
              "provider",
              "checked_at",
              "cache",
              "duration_ms"
            ],
            "type": "object"
          },
          "ok": {
            "const": true,
            "description": "Public ok value used to scope this lookup."
          },
          "version": {
            "const": "1",
            "description": "Package version whose public metadata should be checked."
          }
        },
        "required": [
          "ok",
          "capability",
          "version",
          "data",
          "meta"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {},
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "capability": "treasury.yield-curve",
            "data": {
              "curve": {
                "10y": 1,
                "1_5m": 1,
                "1m": 1,
                "1y": 1,
                "20y": 1,
                "2m": 1,
                "2y": 1,
                "30y": 1,
                "3m": 1,
                "3y": 1,
                "4m": 1,
                "5y": 1,
                "6m": 1,
                "7y": 1
              },
              "freshness": "latest_published_daily_observation",
              "record_date": "2026-01-01",
              "request_count": 1,
              "source": "U.S. Department of the Treasury",
              "source_dataset": "daily_treasury_yield_curve",
              "source_month": "202601",
              "unit": "percent"
            },
            "meta": {
              "cache": "miss",
              "checked_at": "2026-01-01T00:00:00.000Z",
              "duration_ms": 0,
              "provider": "us-treasury"
            },
            "ok": true,
            "version": "1"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {},
                "required": [],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "capability": {
                    "const": "treasury.yield-curve",
                    "description": "Public capability value used to scope this lookup."
                  },
                  "data": {
                    "additionalProperties": false,
                    "description": "Public data value used to scope this lookup.",
                    "properties": {
                      "curve": {
                        "additionalProperties": false,
                        "description": "Public curve value used to scope this lookup.",
                        "properties": {
                          "10y": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "1_5m": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "1m": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "1y": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "20y": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "2m": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "2y": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "30y": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "3m": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "3y": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "4m": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "5y": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "6m": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          },
                          "7y": {
                            "description": "Public 1m value used to scope this lookup.",
                            "type": [
                              "number",
                              "null"
                            ]
                          }
                        },
                        "required": [
                          "1m",
                          "1_5m",
                          "2m",
                          "3m",
                          "4m",
                          "6m",
                          "1y",
                          "2y",
                          "3y",
                          "5y",
                          "7y",
                          "10y",
                          "20y",
                          "30y"
                        ],
                        "type": "object"
                      },
                      "freshness": {
                        "const": "latest_published_daily_observation",
                        "description": "Public freshness value used to scope this lookup."
                      },
                      "record_date": {
                        "description": "Public record date value used to scope this lookup.",
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                        "type": "string"
                      },
                      "request_count": {
                        "description": "Public request count value used to scope this lookup.",
                        "maximum": 2,
                        "minimum": 1,
                        "type": "integer"
                      },
                      "source": {
                        "const": "U.S. Department of the Treasury",
                        "description": "Public source value used to scope this lookup."
                      },
                      "source_dataset": {
                        "const": "daily_treasury_yield_curve",
                        "description": "Public source dataset value used to scope this lookup."
                      },
                      "source_month": {
                        "description": "Public source month value used to scope this lookup.",
                        "pattern": "^\\d{6}$",
                        "type": "string"
                      },
                      "unit": {
                        "const": "percent",
                        "description": "Public unit value used to scope this lookup."
                      }
                    },
                    "required": [
                      "record_date",
                      "unit",
                      "curve",
                      "source",
                      "source_dataset",
                      "freshness",
                      "source_month",
                      "request_count"
                    ],
                    "type": "object"
                  },
                  "meta": {
                    "additionalProperties": false,
                    "description": "Public meta value used to scope this lookup.",
                    "properties": {
                      "cache": {
                        "description": "Public cache value used to scope this lookup.",
                        "enum": [
                          "hit",
                          "miss",
                          "bypass"
                        ]
                      },
                      "checked_at": {
                        "description": "Public checked at value used to scope this lookup.",
                        "type": "string"
                      },
                      "duration_ms": {
                        "description": "Public duration ms value used to scope this lookup.",
                        "minimum": 0,
                        "type": "integer"
                      },
                      "provider": {
                        "description": "Public provider value used to scope this lookup.",
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "provider",
                      "checked_at",
                      "cache",
                      "duration_ms"
                    ],
                    "type": "object"
                  },
                  "ok": {
                    "const": true,
                    "description": "Public ok value used to scope this lookup."
                  },
                  "version": {
                    "const": "1",
                    "description": "Package version whose public metadata should be checked."
                  }
                },
                "required": [
                  "ok",
                  "capability",
                  "version",
                  "data",
                  "meta"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "treasury",
    "us-treasury",
    "yield-curve",
    "bond-yields",
    "government-bonds",
    "bazaar"
  ],
  "sourceHost": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
  "lastUpdated": "2026-10-09T19:48:00.957Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-09T19:48:00.527Z"
  },
  "metadata": {
    "serviceName": "Forest Markets",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {},
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "capability": "treasury.yield-curve",
              "data": {
                "curve": {
                  "10y": 1,
                  "1_5m": 1,
                  "1m": 1,
                  "1y": 1,
                  "20y": 1,
                  "2m": 1,
                  "2y": 1,
                  "30y": 1,
                  "3m": 1,
                  "3y": 1,
                  "4m": 1,
                  "5y": 1,
                  "6m": 1,
                  "7y": 1
                },
                "freshness": "latest_published_daily_observation",
                "record_date": "2026-01-01",
                "request_count": 1,
                "source": "U.S. Department of the Treasury",
                "source_dataset": "daily_treasury_yield_curve",
                "source_month": "202601",
                "unit": "percent"
              },
              "meta": {
                "cache": "miss",
                "checked_at": "2026-01-01T00:00:00.000Z",
                "duration_ms": 0,
                "provider": "us-treasury"
              },
              "ok": true,
              "version": "1"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {},
                  "required": [],
                  "type": "object"
                },
                "bodyType": {
                  "enum": [
                    "json",
                    "form-data",
                    "text"
                  ],
                  "type": "string"
                },
                "method": {
                  "enum": [
                    "POST"
                  ],
                  "type": "string"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method",
                "bodyType",
                "body"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "additionalProperties": false,
                  "properties": {
                    "capability": {
                      "const": "treasury.yield-curve",
                      "description": "Public capability value used to scope this lookup."
                    },
                    "data": {
                      "additionalProperties": false,
                      "description": "Public data value used to scope this lookup.",
                      "properties": {
                        "curve": {
                          "additionalProperties": false,
                          "description": "Public curve value used to scope this lookup.",
                          "properties": {
                            "10y": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "1_5m": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "1m": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "1y": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "20y": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "2m": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "2y": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "30y": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "3m": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "3y": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "4m": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "5y": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "6m": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            },
                            "7y": {
                              "description": "Public 1m value used to scope this lookup.",
                              "type": [
                                "number",
                                "null"
                              ]
                            }
                          },
                          "required": [
                            "1m",
                            "1_5m",
                            "2m",
                            "3m",
                            "4m",
                            "6m",
                            "1y",
                            "2y",
                            "3y",
                            "5y",
                            "7y",
                            "10y",
                            "20y",
                            "30y"
                          ],
                          "type": "object"
                        },
                        "freshness": {
                          "const": "latest_published_daily_observation",
                          "description": "Public freshness value used to scope this lookup."
                        },
                        "record_date": {
                          "description": "Public record date value used to scope this lookup.",
                          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                          "type": "string"
                        },
                        "request_count": {
                          "description": "Public request count value used to scope this lookup.",
                          "maximum": 2,
                          "minimum": 1,
                          "type": "integer"
                        },
                        "source": {
                          "const": "U.S. Department of the Treasury",
                          "description": "Public source value used to scope this lookup."
                        },
                        "source_dataset": {
                          "const": "daily_treasury_yield_curve",
                          "description": "Public source dataset value used to scope this lookup."
                        },
                        "source_month": {
                          "description": "Public source month value used to scope this lookup.",
                          "pattern": "^\\d{6}$",
                          "type": "string"
                        },
                        "unit": {
                          "const": "percent",
                          "description": "Public unit value used to scope this lookup."
                        }
                      },
                      "required": [
                        "record_date",
                        "unit",
                        "curve",
                        "source",
                        "source_dataset",
                        "freshness",
                        "source_month",
                        "request_count"
                      ],
                      "type": "object"
                    },
                    "meta": {
                      "additionalProperties": false,
                      "description": "Public meta value used to scope this lookup.",
                      "properties": {
                        "cache": {
                          "description": "Public cache value used to scope this lookup.",
                          "enum": [
                            "hit",
                            "miss",
                            "bypass"
                          ]
                        },
                        "checked_at": {
                          "description": "Public checked at value used to scope this lookup.",
                          "type": "string"
                        },
                        "duration_ms": {
                          "description": "Public duration ms value used to scope this lookup.",
                          "minimum": 0,
                          "type": "integer"
                        },
                        "provider": {
                          "description": "Public provider value used to scope this lookup.",
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [
                        "provider",
                        "checked_at",
                        "cache",
                        "duration_ms"
                      ],
                      "type": "object"
                    },
                    "ok": {
                      "const": true,
                      "description": "Public ok value used to scope this lookup."
                    },
                    "version": {
                      "const": "1",
                      "description": "Package version whose public metadata should be checked."
                    }
                  },
                  "required": [
                    "ok",
                    "capability",
                    "version",
                    "data",
                    "meta"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
    "manifest_name": "http--forest-gas-station-mainnet--lcjl27p8lmjs.code.run",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "capability": null,
      "data": {
        "curve": {
          "10y": 0,
          "1_5m": 0,
          "1m": 0,
          "1y": 0,
          "20y": 0,
          "2m": 0,
          "2y": 0,
          "30y": 0,
          "3m": 0,
          "3y": 0,
          "4m": 0,
          "5y": 0,
          "6m": 0,
          "7y": 0
        },
        "freshness": null,
        "record_date": "string",
        "request_count": 0,
        "source": null,
        "source_dataset": null,
        "source_month": "string",
        "unit": null
      },
      "meta": {
        "cache": "hit",
        "checked_at": "string",
        "duration_ms": 0,
        "provider": "string"
      },
      "ok": null,
      "version": null
    },
    "type": "string"
  }
}