Australia Yield Curve

Australia Yield Curve

Building an Australian yield curve requires consistent maturity labels, observation dates and units—not just a collection of rates. This guide shows how to request and interpret the documented Bonds API responses, calculate spreads and handle missing trading days, while identifying an important availability and authentication discrepancy to resolve before deploying.

What an Australian yield curve represents

Australian sovereign bonds are government debt instruments. Their yields indicate the return implied by their market prices, subject to assumptions about holding period and payments. A yield curve plots yields against maturities, making it easier to compare short- and long-term borrowing conditions.

Illustration: Australia Yield Curve

For an application, each curve point needs a maturity, a yield and an observation date. The documented Australian examples use the country code AU and maturity labels such as 2Y and 10Y. The reference also illustrates shorter tenors, including 1M, and longer tenors such as 30Y; availability must be checked for the requested date.

Availability caveat: The endpoint reference provides Australian request and response examples, but the supplied live sample identifies Australia as absent from the published catalog. Treat the Australian responses below as reference examples, not verified live observations, and confirm availability before building an application that depends on them. The live sample uses a US 10-year yield solely to demonstrate the supplied live response format.

Request and interpret the live sample

The supplied live request uses GET /api/v1/latest, selecting a country and maturity. It places the key in the query string, while the endpoint reference specifies the X-API-Key header only. These authentication instructions conflict; verify the accepted method before deployment. Query-string credentials can appear in URL logs, so avoid logging the complete request URL.

curl -s "https://bonds-api.com/api/v1/latest?countries=US&maturities=10Y&api_key=YOUR_API_KEY"

The corresponding supplied live response is:

{
"success": true,
"date": "2026-12-04",
"rates": {
"US_10Y": 5.015
},
"dates": {
"US_10Y": "2026-12-04"
},
"currencies": {
"US_10Y": "USD"
},
"sources": {
"US_10Y": "worldgovbonds"
},
"updated_at": {
"US_10Y": "2026-12-04T22:01:24+00:00"
},
"changes": {
"US_10Y": {
"previous_close": 5.08,
"daily": {
"date": "2026-12-03",
"bps": -6.5,
"pct": -1.28
},
"weekly": {
"date": "2026-11-27",
"bps": 7.5,
"pct": 1.52
},
"monthly": {
"date": "2026-11-04",
"bps": 11.5,
"pct": 2.35
},
"annual": {
"date": "2025-12-04",
"bps": 90.5,
"pct": 22.02
}
}
},
"meta": {
"request_id": "0d83b951-25fc-4e69-a154-89d52d7fef36",
"timestamp": "2026-12-05T00:05:21+00:00"
}
}

rates contains the yield in percentage units: 5.015 means 5.015%, not a decimal rate of 5.015. dates identifies the observation date for the symbol; updated_at is its timestamp, with +00:00 indicating UTC. The top-level date is a calendar date, while meta.timestamp is a timestamp for the response.

currencies and sources give the currency and source associated with the symbol. In changes, previous_close is a yield, while each period supplies a comparison date, a change in basis points under bps, and a percentage change under pct. One percentage point equals 100 basis points; a basis-point change is not the same measure as a relative percentage change.

The following Python example calls the same endpoint with the same parameters. It reads the key from an environment variable, checks the HTTP response and extracts the fields needed to display the observation. It follows the supplied live request’s query-string authentication, so resolve the conflict above before using it in production.

import os
import requests

response = requests.get(
"https://bonds-api.com/api/v1/latest",
params={
"countries": "US",
"maturities": "10Y",
"api_key": os.environ["YOUR_API_KEY"],
},
timeout=15,
)
response.raise_for_status()
payload = response.json()

if not payload["success"]:
raise RuntimeError(payload.get("error", "Request failed"))

symbol = "US_10Y"
print("Yield (%):", payload["rates"][symbol])
print("Observation date:", payload["dates"][symbol])
print("Updated:", payload["updated_at"][symbol])
print("Currency:", payload["currencies"][symbol])

Build and compare Australian curve points

Latest yields for selected maturities

The reference describes GET /api/v1/latest with required comma-separated countries and optional comma-separated maturities. Omitting maturities requests all available maturities. This documented Australian request uses header authentication:

curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/latest?countries=AU&maturities=2Y,10Y"

The reference response uses a different shape from the live sample:

{
"success": true,
"data": {
"AU": {
"2Y": { "yield": 4.25, "date": "2026-12-05", "source": "official" },
"10Y": { "yield": 4.52, "date": "2026-12-05", "source": "official" }
}
}
}

Here, data is keyed first by country and then by maturity. Each point has a percentage yield, an observation date and a source. The differing live and reference shapes mean a client should validate the actual response before selecting a parser; neither shape should be silently assumed to represent the other.

To construct a curve from several returned maturities, extract each available point, associate it with its maturity and sort by tenor rather than alphabetically. Compare observation dates before plotting: a curve assembled from different dates can look like a market move when it is actually a freshness mismatch. In the illustrative response, the 10-year minus 2-year difference is 27 basis points: (4.52 - 4.25) × 100.

Full curve and benchmark spread

The reference also describes GET /api/v1/curve, requiring country and accepting an optional date in YYYY-MM-DD format. When the date is omitted, the documented behavior is to use the latest available day with data.

curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/curve?country=AU"
{
"success": true,
"country": "AU",
"date": "2026-12-05",
"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
}
}

curve maps maturity labels to percentage yields, and date identifies the curve’s day. inverted is the API’s curve classification; the reference does not specify which maturities or rule determine it. If a risk report needs a particular inversion definition, calculate that spread explicitly and label the chosen tenors instead of assuming the flag uses them.

For a cross-country comparison, the documented GET /api/v1/spread takes country and benchmark, with optional maturity defaulting to 10Y. This example compares Australia with a US benchmark at the same maturity:

curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/spread?country=AU&benchmark=US&maturity=10Y"
{
"success": true,
"country": "AU",
"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. A spread is useful for fixed-income analytics, but it is not itself a currency-hedged return. Also check observation timing when comparing markets: a maturity match alone does not establish that two yields were observed simultaneously.

Research historical changes

Single dates and time series

For a point-in-time lookup, the reference specifies GET /api/v1/historical with required country, maturity and date. The date uses YYYY-MM-DD, not a timestamp.

curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/historical?country=AU&maturity=10Y&date=2025-06-15"
{
"success": true,
"country": "AU",
"maturity": "10Y",
"date": "2025-06-15",
"yield": 4.38,
"source": "official"
}

The response identifies the requested country and maturity, plus the date, percentage yield and source. For a requested date without data, the documented error is a 404; the reference does not promise an automatic substitution with the preceding business day. If an analysis needs previous-business-day alignment, implement and label that policy in the application.

For a range, GET /api/v1/timeseries requires country, maturity, start and end, with end on or after start. Each entry in series contains an observation date and a percentage yield.

curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/timeseries?country=AU&maturity=10Y&start=2025-12-05&end=2026-12-05"
{
"success": true,
"country": "AU",
"maturity": "10Y",
"series": [
{ "date": "2025-01-02", "yield": 4.21 },
{ "date": "2025-01-03", "yield": 4.19 },
{ "date": "2025-01-06", "yield": 4.23 }
]
}

The reference’s series dates do not fall within its example request’s range. Treat that response as an illustration of the field structure, not as the result of that particular range. In production, validate returned dates against the requested interval before calculating returns, changes or rolling statistics.

Weekends, Australian market holidays and other unavailable observations can produce gaps. Do not fill those gaps with zero yields. For economic research, retain the original observation dates and document any forward-filling or calendar alignment applied later.

Period change, minimum and maximum

The documented GET /api/v1/fluctuation summarizes a period using required countries, maturity, start and end. It accepts comma-separated country codes; this example stays focused on Australia.

curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/fluctuation?countries=AU&maturity=10Y&start=2025-12-05&end=2026-12-05"
{
"success": true,
"maturity": "10Y",
"start": "2025-12-05",
"end": "2026-12-05",
"data": {
"AU": {
"start_yield": 4.21,
"end_yield": 4.52,
"change": 0.31,
"min": 3.87,
"max": 4.76
}
}
}

start_yield, end_yield, min and max are percentage yields. In this example, change is 0.31 percentage points, equivalent to 31 basis points. The summary is useful for a dashboard or portfolio-risk overview, but use the series when an analysis needs the individual observations behind the range.

Intraday data and integration safeguards

The reference describes GET /api/v1/intraday with required country, maturity and date. It returns snapshots rather than a single daily observation.

curl -H "X-API-Key: YOUR_API_KEY" \
"https://bonds-api.com/api/v1/intraday?country=AU&maturity=10Y&date=2026-12-05"
{
"success": true,
"country": "AU",
"maturity": "10Y",
"date": "2026-12-05",
"snapshots": [
{ "yield": 4.51, "fetched_at": "2026-12-05T09:30:00Z", "source": "market" },
{ "yield": 4.53, "fetched_at": "2026-12-05T12:00:00Z", "source": "market" },
{ "yield": 4.52, "fetched_at": "2026-12-05T15: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 denotes UTC, consistent with meta.timezone; convert for display only after parsing the timestamp with its timezone. count reports the number of snapshots in the example.

The reference does not specify a fixed update frequency. Do not assume every maturity updates simultaneously or that a daily value is refreshed at a particular hour. Show observation dates and timestamps where available, and let the dashboard distinguish an older observation from a current one.

Cache responses according to the application’s freshness needs rather than an assumed publication schedule. Key a cache by endpoint and all relevant request parameters, including country, maturity and date range; retain the observation date alongside the cached value. Historical and intraday results still need a refresh policy if corrections are relevant to the analysis.

Handle documented errors explicitly: 401 indicates a missing or invalid key, 403 an account quota issue, 404 no data for the requested combination, 422 an invalid parameter, 429 a rate limit and 500 a server error. The documented error body has success set to false and an error message. Avoid retrying invalid credentials or parameters unchanged; use bounded retries for transient failures where appropriate.

No pagination parameters are specified in the reference. Design around the responses actually returned, rather than adding undocumented pagination fields. Before connecting production analytics, verify Australian coverage, the accepted authentication method and the live response schema against MCP and the Bonds API documentation.

FAQ

Can I request several Australian maturities together?

The reference documents comma-separated maturities on /latest, and /curve for a country’s full available curve. Confirm Australian catalog availability before relying on either request.

How do I convert a yield difference to basis points?

Subtract yields expressed in percentage units and multiply the result by 100. Preserve the sign and label the order of subtraction so readers can tell which yield is higher.

What should happen on a holiday or weekend?

Expect that data may be unavailable and handle a 404 or a gap without inserting a zero. If your application uses the previous available observation, disclose that choice and retain its actual date.

Which date should a chart display?

Display the observation date associated with each yield. For intraday views, also display the snapshot timestamp and timezone; a response-generation timestamp is not necessarily the observation time.

To start testing the documented integration, Register for an API key, then verify coverage and authentication before wiring the feed into an Australian curve dashboard or research workflow.

Start building with bond data today

Get your API key and access sovereign bond yields across 60+ countries. 7-day free trial, no credit card required.