Api Endpoint

api.financialdatasets.ai … /macro/yield-curve

Daily US Treasury par yield curve history: one object per business day with one key per tenor from 1 month to 30 years, in percent, newest first. Paginated with next_page_url. Use when an agent needs the yield curve over time, one tenor as a series or a spread such as 10-year minus 2-year. Non-Professional use; Professional use needs a plan at financialdatasets.ai.

Open interactive test console

Offering

Provider
api.financialdatasets.ai
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.financialdatasets.ai/macro/yield-curve
MIME type
application/json
First seen
2026-11-01T15:19:23.207Z
Last seen
Tags
Macro, economy, yield-curve, treasury-yields, bonds

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0xC45E70793C01C6Ae4336dd5a5503baC958d32403"
  }
]

Observed health

Status
Healthy
Latest latency
548 ms
Average latency
286 ms
HTTP status
402
Last checked
Reachability
100% over 9 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "start_date": {
          "type": "string",
          "description": "The first date to return, inclusive, in YYYY-MM-DD format."
        },
        "end_date": {
          "type": "string",
          "description": "The last date to return, inclusive, in YYYY-MM-DD format."
        },
        "cursor": {
          "type": "string",
          "description": "Opaque pagination cursor from a previous response's next_page_url."
        }
      },
      "required": []
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object"
    }
  },
  "required": [
    "type"
  ]
}