US Treasury Yield Curve & Debt Scraper
Pricing
$1.00 / 1,000 result items
US Treasury Yield Curve & Debt Scraper
Returns one row per business day with the full US Treasury par yield curve (1 month to 30 years), the Debt to the Penny totals for the same date, the latest average interest rate paid on bills, notes, bonds, TIPS and FRNs, and the 2s10s and 3m10y spreads. No API key.
Pricing
$1.00 / 1,000 result items
Rating
0.0
(0)
Developer
Thrifty Kiwi
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
13 days ago
Last modified
Categories
Features
Share
US Treasury Yield Curve & Debt Scraper pulls structured data from US Treasury (Treasury.gov and FiscalData) and returns it as a clean dataset you can export as JSON, CSV or Excel. It merges Treasury.gov's daily yield curve XML with the FiscalData Debt to the Penny and average interest rate APIs, joining them by date and adding the 2s10s and 3m10y spreads plus a curve shape label.
No API key, no login. Click Start and it works with the prefilled input.
What does US Treasury Yield Curve & Debt Scraper do?
It queries US Treasury (Treasury.gov and FiscalData) and returns one row per record, with only the fields that matter. Runs on the Apify platform, so you get an API endpoint, scheduling, monitoring and integrations (Zapier, Make, Google Sheets, webhooks) without maintaining any infrastructure.
Why use it?
- US Treasury (Treasury.gov and FiscalData) data without the plumbing: no proxy setup, no pagination code, no scraping maintenance.
- Schedule it to monitor changes daily or weekly and trigger alerts on new records.
- Feed it straight into a spreadsheet, database, or an AI agent via the Apify API or MCP server.
- Runs in seconds and returns a typed dataset that is ready for analysis.
How to use it
- Click Try for free / Start.
- Leave the default input to see a sample run, or type your own values (see Input below).
- Press Start and wait a few seconds.
- Open the Output tab and download as JSON, CSV, Excel or HTML.
Input
| Field | Type | Default | Description |
|---|---|---|---|
year | integer | 2026 | Calendar year of the daily par yield curve to download (1990 to today). |
includeDebt | boolean | true | Also join Debt to the Penny totals for each date and the latest published average interest rates. |
maxResults | integer | 30 | Maximum number of dated curve rows, newest first. |
Example input:
{"year": 2026,"includeDebt": true,"maxResults": 5}
Output
One item per record. Sample:
{"record_date": "2026-10-14","tenor_1m": 4.11,"tenor_3m": 4.28,"tenor_6m": 4.37,"tenor_1y": 4.53,"tenor_2y": 4.82}
You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.
Data fields
| Field | Type | Meaning |
|---|---|---|
record_date | string | Date |
tenor_1m | number | 1M |
tenor_3m | number | 3M |
tenor_6m | number | 6M |
tenor_1y | number | 1Y |
tenor_2y | number | 2Y |
tenor_3y | number | 3Y |
tenor_5y | number | 5Y |
tenor_7y | number | 7Y |
tenor_10y | number | 10Y |
tenor_20y | number | 20Y |
tenor_30y | number | 30Y |
spread_2s10s | number | 2s10s Spread |
spread_3m10y | number | 3m10y Spread |
curve_shape | string | Curve Shape |
total_public_debt_usd | number | Total Public Debt (USD) |
debt_held_by_public_usd | number | Debt Held by Public (USD) |
intragov_holdings_usd | number | Intragovernmental Holdings (USD) |
debt_as_of_date | string | Debt As Of |
avg_rate_bills_pct | number | Avg Rate - Bills % |
avg_rate_notes_pct | number | Avg Rate - Notes % |
avg_rate_bonds_pct | number | Avg Rate - Bonds % |
avg_rate_tips_pct | number | Avg Rate - TIPS % |
avg_rate_frn_pct | number | Avg Rate - FRN % |
avg_rate_all_interest_bearing_pct | number | Avg Rate - All Interest-bearing % |
source_errors | string | Source Errors |
source_url | string | Treasury Page |
retrieved_at | string | Retrieved At |
How much does it cost to run?
This Actor uses pay-per-event pricing: you pay per result item pushed to the dataset, and nothing for an empty run. Each run is a few seconds of compute, so typical costs are fractions of a cent per run, and the Apify free tier covers plenty of testing.
Tips and advanced options
- Raise
maxResultsfor a bigger pull; the Actor pages through the source for you. - Schedule it (e.g. every morning) and combine with a webhook to get only the new records.
- Add the Actor to an AI agent through the Apify MCP server for natural-language queries.
FAQ, disclaimers and support
- Is this legal? It uses publicly available data from US Treasury (Treasury.gov and FiscalData). You are responsible for how you use the data and for complying with the source's terms.
- It returned nothing? Set Year to any year from 1990 to today; the Treasury publishes the curve year by year and the current year is the default. Debt to the Penny is published one business day after the curve, so the debt totals carry forward from the latest published date (see debt_as_of_date).
- Something broken? Open an issue on the Actor's Issues tab. Data sources change and get fixed quickly.
- Need a custom variant (extra fields, a different source, a scheduled report)? Get in touch through the Issues tab.