US Treasury Yield Compare
Compare published US Treasury yields across four maturities and see the 10-year minus 2-year spread.
Use one or two dates as YYYY-MM-DD, or latest. Based on Federal Reserve Board H.15 via FRED. Rates are published observations, not quotes for individual securities.