To use the Singapore 10-year government bond yield in a dashboard or risk model, you need more than a number: you need its observation date, units, maturity and a reliable way to retrieve it. This guide explains the Bonds-API reference for Singapore, how to work with curves and spreads, and an important discrepancy to resolve before shipping an integration.
What the Singapore 10-year yield represents
A sovereign bond is debt issued by a government. Its yield is the return implied by its market price and cash flows under the relevant yield convention; it is not the same thing as the bond’s coupon. The 10-year point gives analysts a long-term reference for comparing financing conditions, tracking rate moves and assessing fixed-income exposure.
A yield reported as 4.52 is expressed in percent per year, not as a decimal fraction. A move from 4.25 to 4.52 is 0.27 percentage points, or 27 basis points: one percentage point equals 100 basis points. These figures appear in the Singapore reference examples and are illustrative, not a claim about the current market.
The Bonds-API reference uses the country code SG and the maturity label 10Y. A maturity label identifies a point on the sovereign curve; it is not, by itself, a unique identifier for a particular bond issue. Check the data methodology before treating a yield as the yield of a specific security.
There is a material coverage conflict in the supplied documentation: the endpoint reference describes Singapore requests and responses, while the published live sample says Singapore is not in the catalog and demonstrates a US yield instead. Verify current Singapore coverage and the response schema before relying on either description in production. The US sample below is useful for inspecting that published response format; it is not Singapore data.
Inspect the published request and response
The published sample requests the latest US 10-year yield. It uses a query-string API key, whereas the endpoint reference specifies the X-API-Key header only. Confirm the supported authentication method before implementation; avoid exposing credentials in URLs, which can be retained in logs and browser history.
curl -s "https://bonds-api.com/api/v1/latest?countries=US&maturities=10Y&api_key=YOUR_API_KEY"
The published response is reproduced below. Its values and US_10Y key belong to the US example, not to the Singapore 10-year point.
{
"success": true,
"date": "2026-11-30",
"rates": {
"US_10Y": 4.934
},
"dates": {
"US_10Y": "2026-11-30"
},
"currencies": {
"US_10Y": "USD"
},
"sources": {
"US_10Y": "worldgovbonds"
},
"updated_at": {
"US_10Y": "2026-11-30T00:01:42+00:00"
},
"changes": {
"US_10Y": {
"previous_close": 4.94,
"daily": {
"date": "2026-11-27",
"bps": -0.6,
"pct": -0.12
},
"weekly": {
"date": "2026-11-23",
"bps": 1.4,
"pct": 0.28
},
"monthly": {
"date": "2026-10-30",
"bps": -0.6,
"pct": -0.12
},
"annual": {
"date": "2025-11-28",
"bps": 91.4,
"pct": 22.74
}
}
},
"meta": {
"request_id": "075bdd06-d708-49e8-ab99-510a08089dc4",
"timestamp": "2026-11-30T00:05:59+00:00"
}
}
In this response, success indicates the request outcome and rates contains the yield in percent. The corresponding entries in dates, currencies, sources and updated_at describe the observation date, currency, source and update time for that key. The date is a calendar date; the timestamp’s +00:00 offset means UTC.
The changes object supplies a previous close and comparisons over several periods. For each comparison, bps is a basis-point change and pct is a percentage change; neither should be confused with the yield itself. meta.timestamp is response metadata, while meta.request_id can help identify a request during troubleshooting.
The following Python example reads the same published response. It intentionally retains the sample URL and parameters, so it demonstrates the US result rather than querying Singapore.
import requests
url = "https://bonds-api.com/api/v1/latest?countries=US&maturities=10Y&api_key=YOUR_API_KEY"
response = requests.get(url, timeout=30)
response.raise_for_status()
payload = response.json()
if not payload.get("success"):
raise RuntimeError(payload.get("error", "Request failed"))
key = "US_10Y"
print("Yield percent:", payload["rates"][key])
print("Observation date:", payload["dates"][key])
print("Currency:", payload["currencies"][key])
print("Updated at:", payload["updated_at"][key])
Do not simply replace the response key and assume that Singapore is available. In addition to the coverage conflict, the endpoint reference describes a different latest-response shape: yields nested under data by country and maturity, with yield, date and source fields. Verify the actual contract before writing a parser or storing observations.
Use the Singapore endpoint reference
The reference describes seven GET endpoints under https://bonds-api.com/api/v1/. It specifies authentication through the X-API-Key request header. The descriptions below explain the reference contract, subject to the coverage and schema checks above.
Latest yields and a multi-maturity curve
/latest requires countries, a comma-separated list of ISO2 country codes. The optional maturities parameter accepts comma-separated labels such as 2Y,10Y; omitting it requests all available maturities. For Singapore, the reference places each result under data, then SG, then its maturity label.
Each referenced maturity object has a yield in percent, a date in year-month-day form and a source. Check the dates independently before plotting a curve: a response containing several points does not necessarily establish that every point was observed on the same day. Treat absent maturities as missing data, not as zero yields.
The dedicated /curve endpoint requires country and optionally accepts date; without a date, the reference says it defaults to the latest available day with data. Its curve object maps maturity labels to yields, and its top-level date identifies the curve date. The labels 1M, 3M, 6M, 1Y, 2Y, 5Y, 10Y and 30Y in the reference span short to long maturities.
Order those labels by term, not alphabetically, before plotting. The response also includes inverted, a Boolean indicator; the reference does not specify the exact rule used to calculate it. If a trading or research workflow needs a particular inversion definition, calculate and label that measure separately from the available yields.
Historical observations and time series
/historical requires country, maturity and date. Its reference response returns those identifiers alongside yield, source and success. This endpoint is useful when a portfolio report needs the Singapore 10-year observation for a specific reporting date.
/timeseries requires country, maturity, start and end, with the end date no earlier than the start date. The reference response identifies the country and maturity and returns a series of objects containing date and yield. Use those dates as observation dates rather than assuming consecutive calendar-day observations.
For research, retain the actual dates returned alongside the yields. Before calculating returns, changes or rolling statistics, decide whether your analysis uses only observed business days or applies an explicit missing-date convention. A filled-forward value is a modelled convenience, not a new market observation.
Benchmark spread
/spread requires country and benchmark, both ISO2 codes. maturity is optional and defaults to 10Y. The reference response includes country_yield, benchmark_yield and spread_bps, as well as the requested country, benchmark and maturity.
The spread is the country yield minus the benchmark yield, expressed in basis points. A positive value means the Singapore yield is higher than the selected benchmark in that calculation; a negative value means it is lower. For a portfolio risk tool, record the benchmark and maturity with the spread so that a change in configuration is not mistaken for a market move.
Intraday snapshots and period fluctuation
/intraday requires country, maturity and date. The reference describes a snapshots array with yield, fetched_at and source for each entry, plus count and meta.timezone. A timestamp ending in Z is UTC; convert it for display only after retaining the original timestamp.
Snapshots show the times at which values were fetched, not necessarily every market tick. The reference does not specify a fixed intraday cadence, so a dashboard should display the latest available snapshot time rather than promise a refresh interval.
/fluctuation requires comma-separated countries, a maturity, start and end. Its reference response groups results by country under data and provides start_yield, end_yield, change, min and max. The yield change is in percentage points; multiply it by 100 to express the difference in basis points. Check how period boundaries are handled before comparing this summary with your own series calculation.
Build a dependable data pipeline
Business days and market holidays matter for all date-based requests. A requested calendar date may have no observation, and a latest value can be older than the day on which your application asks for it. Display the observation date with the yield and choose an explicit policy for non-trading days rather than silently labelling an earlier value as current.
The reference does not specify a universal update frequency. Cache by request and preserve the returned observation date and, where available, update or fetch timestamp. Set a refresh policy appropriate to the application, but distinguish cache age from market-data age: a freshly fetched response can still contain an older observation.
For a curve, cache the country and requested date or maturity set with the results. Before calculating a 10-year versus 2-year slope, confirm both points exist and that their dates are suitable for the comparison. For a historical series, store individual observations by their returned dates so later corrections can be reconciled rather than hidden by a filled calendar.
Handle errors separately from missing observations. The reference describes success=false with an error message, including HTTP 401 for missing or invalid authentication, 403 for quota issues, 404 for unavailable country, maturity or date combinations, 422 for invalid parameters, 429 for rate limiting and 500 for a server error. Surface configuration and authentication failures to operators; use controlled retries for transient failures without turning an error into a yield value.
Pagination is not specified for these endpoint responses. Do not assume page parameters or silently truncate results; validate the returned series and consult the current Bonds-API documentation if the requested range is large. The same diligence applies to a dashboard, economic research dataset or fixed-income analytics job: record the source and retrieval context with the data.
The MCP link provides another Bonds-API entry point. Confirm the applicable interface and Singapore coverage before connecting it to an analytical workflow.
FAQ
Can I retrieve the Singapore 10-year yield?
The endpoint reference describes SG and 10Y, but the published live-sample note says Singapore is not in the catalog. Verify current coverage before building a production dependency; the US sample above is not a substitute for a Singapore observation.
Are yields returned in basis points?
The referenced yield fields are percentages. spread_bps and the published sample’s bps change fields are already in basis points; a yield difference in percentage points must be multiplied by 100 to convert it.
What happens on a holiday?
There may be no observation for the requested date. Check the returned date or handle a no-data response, and make any carry-forward convention visible to users.
How often should I refresh a dashboard?
The reference does not promise a fixed update interval. Choose a cache policy for your use case and display the observation or snapshot time so readers can assess freshness.
To begin evaluating the integration, Register for an API key, then confirm Singapore coverage, authentication and the current response schema before deploying.