get_quote_estimate
Get mortgage rate estimates
Get live mortgage rate estimates for any US location without collecting the borrower's name, email, or phone number. Rates are Safe Rate's non-binding estimates (never quotes; a lender's actual quote may differ), and include an estimate ID the borrower can use to track rate changes.
Parameterspurposelocationloan_typeoccupancycredit_rangeproperty_typepurchase_pricedown_payment_percent
track_quote_estimate
Track a rate estimate
Check a previously created Safe Rate rate estimate by its estimate ID. Returns the original scenario, how rates have moved since the estimate was created, and current rates for the same scenario. No account or contact information required.
Parametersestimate_idrequired
assess_property_context
Assess a property's hazards and insurance
Assess hazard exposure and insurance conditions for a US location: FEMA National Risk Index score, flood-zone coverage and whether flood insurance is likely to be required for a mortgage, wildfire and earthquake exposure, and local insurance-market conditions. Describes the area, not a specific property.
Parameterslocationrequiredproperty_value
get_market_context
Get local housing market context
Get local housing-market context for a US location: median home value with its national percentile, median rent, recent price appreciation, and historical mortgage activity from HMDA filings. Use this to answer whether a price or a market is typical.
Parameterslocationrequired
find_lenders_in_market
Find top lenders in a market
List the lenders Safe Rate publishes rankings for in a metro area or a whole state, sliced by loan type OR by institution type. Rankings are derived from public federal HMDA filings; placement cannot be purchased. This is a starting list, not a recommendation for a specific borrower.
Parameterslimitlocationrequiredloan_typeinstitution_type
research_lender
Research a mortgage lender
Look up any US mortgage lender by name or NMLS ID: origination volume, approval and pull-through rates, product mix and geographic footprint, from federal HMDA data.
Parameterslenderrequiredgeography
search
Search Safe Rate pages
Search Safe Rate's published pages: local mortgage-rate indexes by geography, lender profiles, lender rankings by market (optionally by loan type or institution type), and the ranking methodology. Returns document ids for those pages. These are published reference pages, not priced scenarios: they do not estimate a rate for a specific borrower.
Parameterslimitqueryrequired
fetch
Read a Safe Rate page
Fetch one Safe Rate published page by its document id. Returns plain text carrying its own as-of date, canonical URL, data license, and citation notice. Rate index pages are indicative and refreshed daily; they are not a quote for a specific borrower.
Parametersidrequired
get_treasury_curve
Get the Treasury yield curve
Get the U.S. Treasury yield curve for a single day: the fitted zero-coupon (spot) curve and, on request, the par curve, money-market curve, TIPS real curve, breakeven inflation, the prior trading day for day-over-day moves, and per-CUSIP yields. Omit the date for the most recent published day, which is what you want on a weekend or holiday. Treasury yields are not mortgage rates.
Parametersdateincludequeue_kind
get_treasury_rate_history
Get Treasury rate history
Get a history of U.S. Treasury yields between two dates: the nominal zero curve, the short-end money-market curve, or the TIPS real curve, one row per trading day. Use this for 'how have rates moved' questions. Coverage starts 2008-09-02. Keep ranges tight — a decade is thousands of rows.
Parameterstorequiredfromrequiredcurve
get_treasury_security
Look up a Treasury security
Look up one Treasury security by CUSIP: its terms, price history, and analytics including duration, convexity, DV01 and key-rate durations, plus TIPS and floating-rate analytics where they apply, and the amount outstanding. Takes a CUSIP, not a description such as 'the current 10-year'.
Parameterscusiprequiredsummarizeoutstanding_on
list_treasury_securities
List Treasury securities
List Treasury securities as at a date: which security is on-the-run for each tenor (this is how to resolve 'the current 10-year' to a CUSIP), the full outstanding and priced universe, or just the priced CUSIPs. Omit the date for the most recent day with prices.
Parametersdatebasisinclude
price_treasury_security
Price a Treasury security
Convert between price and yield for a Treasury bill, note or bond. Supply exactly one side — a price or a yield (a discount rate for a bill) — and the other is returned, with accrued interest, dirty price and the investment rate as applicable. For a note or bond, a CUSIP looks the terms up instead of restating them.
Parameterscusipfrequencyinstrumentrequiredtrade_dateclean_pricematurity_dateyield_percentcoupon_rate_percentdiscount_rate_percent
value_savings_bond
Value a savings bond
Value a U.S. Series I or Series EE savings bond: what it is worth now, how it got there, and what the holder would actually receive. Bonds under five years old forfeit three months of interest on redemption, and bonds under twelve months cannot be redeemed at all, so the amount received can be less than the accrued value. The purchase date is the bond's issue date.
Parametersseriesrequiredpurchasedrequiredvalued_ondenomination
get_savings_bond_rates
Get savings bond rates
Get current and historical U.S. savings bond rates — the Series I composite, its fixed and inflation components, and Series EE rates by issue cohort — and optionally how many bonds the public holds and how many are being sold. An I bond's headline rate applies for six months only; the fixed component is the part that lasts.
Parametersoninclude
get_treasury_index
Get a Treasury index
Get Safe Rate's Treasury total-return indices — by maturity bucket, plus bills, TIPS, floating-rate and aggregate. Call with no code to list every index with its current level and discover the codes. These are TOTAL RETURN levels, not yields: a rising level usually means yields fell. Constructed by Safe Rate, not an official Treasury statistic.
Parametersoncodesinceincludeconstituents_on
get_treasury_debt
Get the federal debt statement
Get the U.S. federal debt from the monthly Treasury statement: debt held by the public, total public debt outstanding, and its composition, plus the STRIPS float on request. These two headline figures differ by trillions: debt held by the public excludes intragovernmental trust-fund holdings.
Parametersoninclude_strips
get_my_application
Read my Universal Application
Requires the shopper's Safe Rate sign-in (scope poppy:read). Read the shopper's own Safe Rate Universal Application, the one application they build to share with the lenders they choose (building it is not applying for a loan): their loan scenario (price, down payment, ZIP, occupancy and so on), how far along it is, and its status. Identity details such as a Social Security number are never returned.
Takes no parameters.
get_my_quotes
Read my lender quotes
Requires the shopper's Safe Rate sign-in (scope poppy:read). List the quote requests the shopper sent to lenders and the offers that came back (rate, APR, points, product). Offers from Safe Rate Mortgage stay hidden until the shopper accepts the affiliated business disclosure on saferate.com.
Takes no parameters.
start_my_application
Start my Universal Application
Requires the shopper's Safe Rate sign-in (scope poppy:write). Start building the shopper's Universal Application from a loan scenario. If they already have one, nothing changes and it is returned. Holds no personal information: no name, SSN or date of birth.
ParametersziprequiredtimelineusdaAreaoccupancyrequiredcreditBandhoaMonthlyloanAmountusdaIncomedownPaymentloanPurposerequiredpropertyTypenumberOfUnits+5 more
update_my_application
Update my Universal Application
Requires the shopper's Safe Rate sign-in (scope poppy:write). Change answers in the loan scenario of the shopper's Universal Application. Send only the fields that change: everything else keeps its saved value, and nothing is saved if the result would be invalid. Cannot share the application or record an SSN — those are the shopper's own click on saferate.com.
ParametersziptimelineusdaAreaoccupancycreditBandhoaMonthlyloanAmountusdaIncomedownPaymentloanPurposepropertyTypenumberOfUnits+6 more
get_share_link
Get the link to share my application
Requires the shopper's Safe Rate sign-in (scope poppy:read). Does NOT share anything: sharing an application with a lender always takes the shopper's own click on saferate.com. Returns the link where the shopper reviews and shares it themselves.
Parameterslender