What a response looks like
{"count": 5, "items": [{ "10Y": 4.86, "1M": 4.02, "1Y": 4.33, "2M": 4.15, "2Y": 4.51, "3M": 4.19, "3Y": 4.59, "4M": 4.19, "5Y": 4.64, "6M": 4.23, … ]}| 10Y | 1M | 1Y | 2M | 2Y | 3M |
|---|---|---|---|---|---|
| 4.86 | 4.02 | 4.33 | 4.15 | 4.51 | 4.19 |
| 4.84 | 4.03 | 4.28 | 4.15 | 4.46 | 4.17 |
| 4.9 | 4.01 | 4.39 | 4.15 | 4.58 | 4.21 |
| 4.95 | 4.03 | 4.4 | 4.15 | 4.61 | 4.21 |
| 4.91 | 4.05 | 4.38 | 4.16 | 4.59 | 4.21 |
Real rows returned by this API on 2026-11-09 for the request shown.
What it returns
Official daily interest rate data from the U.S. Department of the Treasury.
Request
POST https://api.pushbuild.com/us-treasury-yield-curve/run with a JSON body. Send your key in the X-API-Key header.
| Field | Type | Description |
|---|---|---|
dataset | string: parYieldCurve, realYieldCurve, billRates, longTermRates, realLongTermRate | Which Treasury daily rate table to return. Default: "parYieldCurve". |
dateFrom | string | YYYY-MM-DD. Defaults to 30 days before dateTo. |
dateTo | string | YYYY-MM-DD. Defaults to today. |
latestOnly | boolean | Only the most recent published business day. Default: false. |
tenors | list of strings | Only these tenors, e.g. 3M, 2Y, 10Y, 30Y (bill rates: 13W_discount, 13W_coupon). Empty = all. |
format | string: wide, long | Row layout. Default: "wide". |
maxItems | integer | Maximum items to return (1-500). Default: 100. |
Example
curl -X POST https://api.pushbuild.com/us-treasury-yield-curve/run \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"maxItems": 20}'
Response
{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}
Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.
Pricing
Pay only for results returned: $0.16 per 1,000 rows. No charge for errors or empty searches.
| Rows | Cost |
|---|---|
| 1,000 | $0.16 |
| 10,000 | $1.60 |
| 100,000 | $16.00 |
| 1,000,000 | $160.00 |
| 6,249 a month | Free ($1 monthly credit) |
Use it from Claude, ChatGPT or Cursor
This API is also an MCP server: https://api.pushbuild.com/mcp/us-treasury-yield-curve. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.
Tell us what you need built.
Questions about this API, higher volumes, or a data source you need that we don't cover yet.
hello@pushbuild.comNew APIs and data, twice a month
New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.
Want this data inside your own app or CRM? API integrations and data sync