HomeWho it's forGovernment bond yields for discount rates
Discount rate inputs from official yields
dino.markets serves official government bond yield curves for 9 countries and areas, with inflation for 36 countries on the same key. You can read the yield at the maturity you need, on today's date or a past valuation date, and subtract inflation to get a real rate. dino.markets gives you the inputs, and the choice of discount rate stays with your own method.
A prompt to start with
Connect dino.markets to Claude or ChatGPT with one line, then paste this:
Use dino.markets. Get the latest US government bond yield curve and US inflation. Give me the 10 year yield, the 10 year yield minus inflation, and the date each number comes from.Three steps to your first call
Sign up, create a key, then call the API from any language that can send an HTTP request.
- Pick the country. Yield curves are available for USA, GBR, DEU, CAN and JPN.
- Ask for the maturity. Add maturity=10y to get one point of the curve, on the latest date or on your valuation date.
- Add inflation. Pull the country's inflation to build a real rate or to check a long-term assumption.
// Data > Get Data > Blank Query > Advanced Editor. Choose Anonymous when asked
let
Key = "dino_live_...",
Source = Json.Document(Web.Contents("https://api.dino.markets/v1/economics/USA/yield-curve",
[Headers = [Authorization = "Bearer " & Key],
Query = [maturity = "10y"]])),
Rows = Table.FromRecords(Source[yields])
in
RowsWhat you get
Official yield curves
Government bond yields for the US, UK, Germany, Canada and Japan, with the maturities you choose. The kind of curve differs by country, and each response names it in curve_type.
Valuation date or history
Ask for one date, such as a year end, or a range of dates.
Inflation on the same key
Inflation for 36 countries, to turn a nominal yield into a real one.
Skip the glue code
Most of the work in a data feature is wiring sources together and keeping them fresh.
| Task | Do it yourself | dino.markets |
|---|---|---|
| Risk-free rate | Copy a yield from a central bank page at each valuation date | Ask for the maturity on the date you need |
| Past dates | Dig through archive files for each year end | Add date=YYYY-MM-DD to the same call |
| Inflation | A second source in a different format | The same key, the same response shape |
| Cost | A terminal seat for a few inputs a year | Free up to 3,000 requests a month, paid plans from $29 a month |
The calls you'll make
Each request counts once against your plan.
| Call | Counts as |
|---|---|
| Yield curve on a dateGET /v1/economics/{country}/yield-curve | 1 request |
| Yield curve historyGET /v1/economics/{country}/yield-curve/history | 1 request |
| Latest inflationGET /v1/economics/{country}/inflation | 1 request |
| Inflation historyGET /v1/economics/{country}/inflation/observations | 1 request |
Discount rates, answered
Does this give me the discount rate?
No. It gives you inputs: the government yield for the maturity you pick, and inflation. A risk premium, a beta and the choice of rate are your own judgement, set by your methodology.
Which countries have a yield curve?
United States, United Kingdom, Germany, Japan, Canada, Sweden, Norway, Australia, Euro area. Inflation is available for 36 countries.
Can I get the yield on a past valuation date?
Yes. Add date=YYYY-MM-DD for one day's curve, or use the history call for a range. How far back you can go depends on your plan: 12 months on Free, 5 years on Starter and Basic, and full history on Pro.
Is the curve the same kind in every country?
No. The US curve is par yields, the UK and Canada give zero-coupon yields, Germany gives spot yields and Japan gives constant-maturity yields. Each response names its kind in curve_type, so check it matches your method.
How many requests does it use?
Each call is one request. A 10 year yield and a year of inflation is two requests, a small part of the 3,000 on the Free plan.
Keep reading
Next steps
Start with a free key
3,000 requests a month, no card needed.