US Treasury Yield Curve and Auctions Scraper
Pricing
from $11.63 / 1,000 results
US Treasury Yield Curve and Auctions Scraper
Get the US Treasury yield curve with spreads and inversion flags, T-bill rates, auction results with bidder demand statistics, national debt to the penny, average interest rates and exchange rates. Daily history back to 1990. Export to CSV or Excel.
Get the US Treasury yield curve, T-bill rates, auction results, national debt, average interest rates and exchange rates in clean rows you can export to CSV or Excel. Daily yield curve history goes back to 1990 and auctions go back to 1979. The data comes straight from the US Treasury and is public domain.
The Treasury publishes these numbers, but spread over several pages and files with different date formats, different column names and no calculations. This Actor puts them together and adds the figures analysts normally work out by hand: spreads in basis points, inversion flags, how long the curve has been inverted, changes over one day to one year, breakeven inflation, and for every auction how strong the demand was compared with the last auctions of the same security.
What can you do with this Treasury data scraper?
- Download the full daily yield curve from 1 month to 30 years with one row per trading day.
- Check whether the 2s10s or 3m10y spread is inverted today, and how many days in a row it has been inverted.
- Compare today's curve with one week, one month, three months and one year ago, one row per maturity.
- See the 10 year yield change over 1 day, 1 week, 1 month, 3 months and 1 year in basis points.
- Get breakeven inflation for 5, 7, 10, 20 and 30 years from nominal and real yields.
- Pull every 10-year note auction with bid to cover, dealer, direct and indirect bidder shares and the tail.
- Build an auction calendar with the offering size of the bills, notes and bonds coming up.
- Track the national debt to the penny with daily, weekly, monthly and yearly changes.
- Look up the average interest rate the Treasury pays on bills, notes, bonds and inflation protected securities.
- Get the official Treasury exchange rates used for federal reporting, by country and quarter.
Seven ways to collect data
| Mode | One row is | Best for |
|---|---|---|
| Daily yield curve | one trading day | recession signals, backtests, charts |
| Curve change over time | one maturity | how the curve moved this week or this year |
| T-bill rates | one trading day | cash yields, money market models |
| Treasury auctions | one auction | demand analysis, issuance calendars |
| National debt to the penny | one day | debt trackers, news graphics |
| Average interest rates | one debt class and month | cost of the debt, interest budgets |
| Exchange rates | one currency and quarter | reporting rates, currency research |
What data do you get for the yield curve?
- Date and weekday.
- Yields for 1, 1.5, 2, 3, 4 and 6 months and 1, 2, 3, 5, 7, 10, 20 and 30 years, as numbers.
- Seven spreads in basis points: 2s10s, 3m10y, 5s30s, 2s30s, 3m2y, 1y10y and 10y20y.
- Inversion flags for 2s10s and 3m10y, the 2s10s inversion streak in days and the number of inverted maturity pairs.
- A curve shape label: normal, flat, steep, partiallyInverted or inverted.
- Change in basis points over 1 day, 1 week, 1 month, 3 months and 1 year for the 2, 10 and 30 year yields.
- The 52 week high, low and percentile of the 10 year yield.
- Real yields and breakeven inflation for 5, 7, 10, 20 and 30 years.
What data do you get for every auction?
- CUSIP, security category (Bill, Note, Bond, TIPS, FRN or CMB), term, auction date, announcement date, issue date and maturity date.
- Coupon rate, reopening flag, original term, series, payment frequency and whether the security is callable or strippable.
- Offering amount, total tendered, total accepted, competitive and non-competitive amounts.
- Accepted and tendered amounts for primary dealers, direct bidders and indirect bidders, plus the Fed's SOMA add-on.
- Bid to cover ratio, awarded to tendered percentage and the share taken by dealers, direct and indirect bidders.
- High, median and low yield or discount rate, price per 100 and the allocation at the high.
- The change in yield and in bid to cover against the previous auction of the same security, and against the average of the previous four.
- For inflation protected securities, the index ratio and reference CPI on the issue date.
- Upcoming auctions show the planned offering size and the days until the sale.
Input example
Latest 30 days of the yield curve with real yields:
{"mode": "yieldCurve","lastDays": 30,"includeRealYields": true,"sortOrder": "newestFirst"}
All 10-year and 30-year note and bond auctions in 2025:
{"mode": "auctions","dateFrom": "2025-01-01","dateTo": "2025-12-31","securityTerms": ["10-Year", "30-Year"]}
Output example
A real yield curve row:
{"date": "2026-10-23","weekday": "Friday","yield2y": 4.69,"yield10y": 5,"yield30y": 5.33,"spread2s10sBps": 31,"spread3m10yBps": 78,"inverted2s10s": false,"inversion2s10sStreakDays": 0,"curveShape": "normal","change10y1mBps": -11,"percentile10y52w": 91.2,"breakevenInflation10y": 2.34}
A real auction row:
{"cusip": "91282CRF0","securityTerm": "9-Year 10-Month","auctionDate": "2026-10-07","offeringAmount": 39000000000,"bidToCoverRatio": 2.77,"highYield": 5.3,"indirectSharePct": 80.3,"dealerSharePct": 2.5,"awardedToTenderedPct": 36.63}
How much does it cost?
You pay for each row returned, and the price per row drops with higher Apify subscription plans. A full year of daily yield curve data is about 250 rows. Free accounts can test the Actor with up to 10 rows per run. There is a small start fee per run.
Frequently asked questions
How far back does the data go? The yield curve starts in 1990 for most maturities, real yields in 2003, bill rates in 2002 and auctions in 1979. The national debt series starts in 1993, average interest rates in 2001 and exchange rates in 2001.
When is the latest yield curve published? The Treasury posts the closing curve after the market closes on each business day, usually in the early evening US Eastern time. Holidays and weekends have no row.
Why does an auction show resultsPending? Results are added a few days after the sale. Choose upcoming auctions to see announced and pending sales, or completed auctions for finished ones.
What does the tail mean in the auction rows? The field highMinusMedianYieldBps shows the gap between the highest accepted yield and the median yield, in basis points. A larger gap means weaker demand at the end of the order book.
Are the numbers adjusted? No. Yields are par yields in percent. Amounts are in US dollars. Missing values are returned as null, never as text.
Can I schedule it? Yes. Run it daily with lastDays set to 5 and send the output to your sheet, database or alert system.
Limits
The Actor reads the figures that the Treasury publishes and cannot show intraday yields or secondary market prices. Auction results appear after the sale, not during it. Exchange rates are published quarterly. The data is public domain and published by the US Department of the Treasury.