Historical Austria bond yields are useful only if your application can identify the maturity, observation date and units behind each value. This guide shows how to retrieve Austrian yields, assemble time series and curves, calculate spreads, and handle non-trading days and stale data using Bonds API.
Austria yield data and API basics
A sovereign bond is debt issued by a government. Its yield summarizes the return implied by its price and cash flows; as bond prices move, yields generally move in the opposite direction. Analysts compare yields across maturities to study the shape of the curve and across issuers to study relative risk and market expectations.
Bonds API identifies Austria with the ISO2 country code AT. Its documented coverage spans maturities from one month to 50 years, although availability depends on the country, maturity and date. A maturity such as 10Y identifies a curve tenor; it is not necessarily a permanent identifier for one individual bond.
The base URL is https://bonds-api.com/api/v1/. Requests use GET and authenticate with the X-API-Key header. Replace YOUR_API_KEY in the examples with your own key, and keep it out of browser-side code and application logs.
Yields in the examples are annualized percentages: a value of 4.52 means 4.52%, not 0.0452%. One percentage point equals 100 basis points, so a difference of 0.31 percentage points is 31 basis points. The responses below are documented examples, not claims about current Austrian market levels.
Retrieve the latest yield and historical observations
Latest yields
Use /latest for the most recent available values. The required countries parameter accepts comma-separated ISO2 codes; optional maturities accepts comma-separated tenors. Omit maturities to request all available maturities.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/latest?countries=AT&maturities=2Y,10Y"
{
"success": true,
"data": {
"AT": {
"2Y": { "yield": 4.25, "date": "2026-11-28", "source": "official" },
"10Y": { "yield": 4.52, "date": "2026-11-28", "source": "official" }
}
}
}
success indicates whether the request succeeded. Under data, the country and maturity keys identify each observation; yield is the percentage value, date is its calendar date in YYYY-MM-DD format, and source identifies the source category. Read the date for each maturity rather than assuming every returned point is equally fresh.
One historical date
Use /historical when a calculation needs a particular date and tenor. Its required parameters are singular: country, maturity and date.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/historical?country=AT&maturity=10Y&date=2025-06-15"
{
"success": true,
"country": "AT",
"maturity": "10Y",
"date": "2025-06-15",
"yield": 4.38,
"source": "official"
}
The response repeats the country, maturity and date alongside the percentage yield and source. The example date falls on a Sunday; treat it as an illustration of the response format, not a guarantee that a live request for a non-trading day will return an observation. A missing country, maturity and date combination can return HTTP 404.
A time series
Use /timeseries for repeated observations of one maturity over a date range. Supply country, maturity, start and end; the end date must not precede the start date.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/timeseries?country=AT&maturity=10Y&start=2025-11-28&end=2026-11-28"
The documented response format is shown below. Its example observations use dates outside the range in the request above, so do not treat this particular array as the result of that request.
{
"success": true,
"country": "AT",
"maturity": "10Y",
"series": [
{ "date": "2025-01-02", "yield": 4.21 },
{ "date": "2025-01-03", "yield": 4.19 },
{ "date": "2025-01-06", "yield": 4.23 }
]
}
Each series element contains an observation date and percentage yield. Store the observations with both country and maturity so that a later join cannot confuse different tenors. For economic research, preserve missing dates rather than silently interpreting them as unchanged yields.
Build Austria curves and calculate spreads
Full curve
/curve takes a required country and an optional date. When the date is omitted, the endpoint defaults to the latest available day with data. It is useful for a dashboard that needs all available curve points together.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/curve?country=AT"
{
"success": true,
"country": "AT",
"date": "2026-11-28",
"inverted": false,
"curve": {
"1M": 5.31, "3M": 5.27, "6M": 5.18,
"1Y": 4.98, "2Y": 4.25, "5Y": 4.39,
"10Y": 4.52, "30Y": 4.71
}
}
The curve object maps each available maturity to a percentage yield; date identifies the curve date. inverted is the API’s inversion indicator. The reference does not specify the tenor comparison behind that flag, so calculate any particular slope your application needs from the relevant returned points rather than assuming the flag represents every possible pair.
You can also build a selected curve from a single /latest request for several maturities, as in the 2Y and 10Y example. Check the date and presence of each point before plotting: a mixed-date curve may be useful for display but should not automatically be treated as a same-day observation. Sort tenors by actual term, not alphabetically.
Benchmark spread
/spread compares Austria with a benchmark country. Supply country and benchmark; maturity is optional and defaults to 10Y. The example uses the documented US benchmark while keeping Austria as the country being analyzed.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/spread?country=AT&benchmark=US&maturity=10Y"
{
"success": true,
"country": "AT",
"benchmark": "US",
"maturity": "10Y",
"spread_bps": 215,
"country_yield": 4.52,
"benchmark_yield": 2.37
}
country_yield and benchmark_yield are percentages; spread_bps is their difference in basis points. Here, 4.52 minus 2.37 equals 2.15 percentage points, or 215 basis points. The response has no observation-date field, so do not infer a historical date or alignment rule from it when storing the spread.
Intraday snapshots and period changes
Intraday observations
For snapshots within a specified day, call /intraday with country, maturity and date. This is appropriate for a monitoring tool that needs to distinguish observations taken during the day.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/intraday?country=AT&maturity=10Y&date=2026-11-28"
{
"success": true,
"country": "AT",
"maturity": "10Y",
"date": "2026-11-28",
"snapshots": [
{ "yield": 4.51, "fetched_at": "2026-11-28T09:30:00Z", "source": "market" },
{ "yield": 4.53, "fetched_at": "2026-11-28T12:00:00Z", "source": "market" },
{ "yield": 4.52, "fetched_at": "2026-11-28T15:30:00Z", "source": "market" }
],
"count": 3,
"meta": { "timezone": "UTC" }
}
Each snapshot has a percentage yield, a source and a fetched_at timestamp. The trailing Z means UTC, consistent with meta.timezone; it is a fetch timestamp, not necessarily the exact time of a trade. count reports the number of snapshots in the example. Snapshot spacing does not establish a guaranteed update frequency.
Change over a period
/fluctuation summarizes a maturity over a requested range. It requires comma-separated countries, plus maturity, start and end.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/fluctuation?countries=AT&maturity=10Y&start=2025-11-28&end=2026-11-28"
{
"success": true,
"maturity": "10Y",
"start": "2025-11-28",
"end": "2026-11-28",
"data": {
"AT": {
"start_yield": 4.21,
"end_yield": 4.52,
"change": 0.31,
"min": 3.87,
"max": 4.76
}
}
}
For Austria, start_yield, end_yield, min and max are percentage yields. The example’s change is 0.31 percentage points, equivalent to 31 basis points. Use the summary for a risk dashboard, and retrieve the time series when the calculation needs individual observations or its own missing-data policy.
Integration, data quality and operations
The following Python example calls the same latest-yield endpoint as the first curl request. It checks both HTTP status and the documented success flag, then reads each returned maturity without assuming that both requested points exist.
import os
import requests
response = requests.get(
"https://bonds-api.com/api/v1/latest",
headers={"X-API-Key": os.environ["BONDS_API_KEY"]},
params={"countries": "AT", "maturities": "2Y,10Y"},
timeout=30,
)
response.raise_for_status()
payload = response.json()
if not payload.get("success"):
raise RuntimeError(payload.get("error", "API request failed"))
for maturity, observation in payload.get("data", {}).get("AT", {}).items():
print(
maturity,
observation["yield"],
observation["date"],
observation["source"],
)
Set BONDS_API_KEY in the server environment before running the code. For historical analysis, adapt the same GET pattern to /timeseries and iterate over series; retain the response’s country and maturity with every stored row.
Business days and market holidays matter when joining yields to portfolio valuations or economic indicators. A calendar date can have no observation, and the latest available date can precede the day on which your job runs. Decide explicitly whether a report should leave a gap or carry forward a previous observation, and label carried-forward values so they cannot be mistaken for new market data.
The reference does not specify a fixed publication cadence or a guaranteed refresh interval. Cache latest yields briefly according to your application’s freshness tolerance, retain the observation date and source with the cached value, and refresh rather than assuming a calendar-day rollover produces new data. Historical data can generally use a longer cache, but allow for corrections and refresh it when your analysis requires a new verification.
Cache keys should distinguish endpoint and all relevant request parameters, including country, maturity and date range. Do not put the API key in the cache key or URL. The supplied reference does not document pagination, so integrations should not assume a page parameter or a particular pagination scheme.
Handle documented failures deliberately: HTTP 401 indicates a missing or invalid key; 403 indicates an account quota issue; 404 indicates no data for the requested combination; 422 indicates an invalid parameter; 429 indicates rate limiting; and 500 indicates a server error. Error responses use success: false and an error message. Retry transient failures with backoff, but correct invalid requests and credentials rather than repeatedly sending them unchanged.
For tools that use the model context protocol, see MCP. The same analytical checks still apply: verify maturity, observation date and units before using a result in a portfolio or research calculation.
FAQ
How do I get a historical Austrian yield curve?
Call /curve with country=AT and the desired date. Check which maturities are present before comparing the curve with another date.
Can I request several Austrian maturities together?
Yes. /latest accepts a comma-separated maturities list. Check each returned point’s date before using the points as a curve.
Does a missing date mean the yield was unchanged?
No. Weekends, holidays and unavailable data can produce gaps. Carrying a value forward is an analytical choice, not an observed yield for the missing date.
How do I convert a yield change to basis points?
Subtract the two percentage yields and multiply the result by 100. Keep percentage-point changes distinct from relative percentage changes.
To integrate Austrian yield data into your application, Register for a Bonds API key and start with the latest or historical request that matches your analysis.