Historical Turkey Bond Yields

Historical Turkey Bond Yields

Historical Turkey bond yields are useful only when you can distinguish an observation’s maturity and date from the time it was retrieved. This guide shows how to request and interpret sovereign yield data, build a dated curve, and handle non-trading days and missing observations in a fixed-income application.

Start with coverage and units

A sovereign bond is debt issued by a government. Its yield is a rate of return associated with the bond’s price and cash flows; analysts track yields across maturities to study financing conditions, changes in interest-rate expectations, and portfolio exposure.

Illustration: Historical Turkey Bond Yields

There is an important coverage distinction in the supplied material. The Turkey endpoint examples below are published reference examples, but the live catalog sample identifies Turkey as unavailable. Treat those examples as illustrations of request and response structure, not as confirmation that a Turkey observation is available. Verify coverage before building a production pipeline around TR.

Yields in the examples are expressed in percent. A yield of 4.52 means 4.52%, not 0.0452%. One percentage point equals 100 basis points, so the difference between 4.52 and 4.25 is 27 basis points. Keep yields and basis-point spreads distinct in storage and display.

The available maturity labels in the reference include 1M, 3M, 6M, 1Y, 2Y, 5Y, 10Y, and 30Y. Coverage can differ by country and date; a maturity label is not a guarantee that a particular historical observation exists.

Make a request and read the response

The following live sample requests the latest available US 10-year yield. It is included because the supplied live catalog sample does not establish Turkey coverage; it should not be interpreted as a Turkey yield.

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

The live sample uses an api_key query parameter, while the endpoint reference specifies authentication through the X-API-Key header only. Confirm the supported authentication method before deploying: query strings can appear in logs and browser history, so do not publish a URL containing a real key.

The supplied response is:

{
"success": true,
"date": "2026-11-24",
"rates": {
"US_10Y": 4.941
},
"dates": {
"US_10Y": "2026-11-24"
},
"currencies": {
"US_10Y": "USD"
},
"meta": {
"request_id": "72261784-ea95-4eec-9bba-ef70c58a19d4",
"timestamp": "2026-11-24T00:04:06+00:00"
}
}

success indicates whether the request succeeded. The rates object contains the yield, while dates supplies its observation date and currencies identifies the currency associated with that series. Here USD describes the US example; do not use it to infer the currency of a Turkey series.

meta.timestamp is a timestamp with an explicit UTC offset, whereas the dates are calendar dates without a time of day. Preserve the observation date separately from the response timestamp. meta.request_id can help identify a response when investigating a problem.

This Python example calls the same sample endpoint and reads its documented fields. Set an environment variable named YOUR_API_KEY before running it, and apply the authentication caveat above.

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=30,
)
response.raise_for_status()
payload = response.json()

if not payload.get("success"):
raise ValueError(payload.get("error", "Request was not successful"))

symbol = "US_10Y"
yield_percent = payload["rates"][symbol]
observation_date = payload["dates"][symbol]
currency = payload["currencies"][symbol]
retrieved_at = payload["meta"]["timestamp"]

print(symbol, yield_percent, observation_date, currency, retrieved_at)

The endpoint reference also shows a different latest-response structure, with data nested by country and maturity. Check the actual response contract for your integration rather than assuming that the live sample’s rates shape and the reference’s data shape are interchangeable.

Retrieve historical observations

The reference describes GET /api/v1/historical for one country, one maturity, and one date. Its required parameters are country, maturity, and date, with the date formatted as Y-m-d. The documented Turkey example uses TR and 10Y.

The reference response below illustrates the fields; it is not evidence that this Turkey observation is currently available:

{
"success": true,
"country": "TR",
"maturity": "10Y",
"date": "2025-06-15",
"yield": 4.38,
"source": "official"
}

Use country and maturity to identify the requested series, date as the observation date, and yield as the percentage value. Preserve source as provenance rather than treating it as part of the numeric yield. The example date is a Sunday, so it should not be taken as proof that all non-trading-day requests return observations.

For a range, GET /api/v1/timeseries requires country, maturity, start, and end; the end date must be on or after the start date. Its documented response identifies the country and maturity and returns a series array whose entries contain date and yield. Use this endpoint for historical charts, yield changes, and research datasets when the requested series is available.

Do not assume every calendar date in a requested range will appear. Weekends, market holidays, and other data gaps can produce an irregular sequence. Store the dates returned, and decide explicitly whether an analysis should leave gaps, use the previous observation, or exclude affected periods. Forward-filling without marking the carried value can make a stale yield look like a new market observation.

Build a Turkey yield curve and calculate spreads

The reference documents two ways to obtain multiple maturity points. GET /api/v1/latest requires comma-separated countries and optionally accepts comma-separated maturities; omitting maturities requests all available points. For a Turkey curve, the reference’s two-maturity selection is countries=TR and maturities=2Y,10Y.

Alternatively, GET /api/v1/curve requires country and accepts an optional date. Without a date, it defaults to the latest available day with data. Its response includes country, date, inverted, and a curve object mapping maturity labels to percentage yields.

For a chart, order points by maturity rather than alphabetically: months precede years, and shorter tenors precede longer ones. Use the returned observation date to label the curve, and compare points from the same date where possible. If the latest endpoint returns different dates for different maturities, flag the mismatch instead of silently presenting the result as a single-date curve.

The inverted field is a supplied curve-level indicator. Inspect the individual maturity yields as well: a curve can have local rises and falls, and the reference does not define the exact test used to set that flag. Missing maturities should remain missing rather than being interpolated without a clearly stated analytical method.

For a cross-country comparison, GET /api/v1/spread requires country and benchmark; maturity is optional and defaults to 10Y. The response fields include country_yield, benchmark_yield, and spread_bps. A basis-point spread is calculated as the difference between the two percentage yields multiplied by 100.

A Turkey-versus-benchmark spread is not a pure credit-risk measure. Currency, inflation expectations, liquidity, and differences in the underlying instruments can all matter. Check the maturity and the dates behind the comparison before using a spread in a risk report.

Handle intraday data, changes, and operational limits

GET /api/v1/intraday requires country, maturity, and date. Its reference response shows snapshots with a yield, a fetch timestamp, and a source:

{
"success": true,
"country": "TR",
"maturity": "10Y",
"date": "2026-11-24",
"snapshots": [
{ "yield": 4.51, "fetched_at": "2026-11-24T09:30:00Z", "source": "market" },
{ "yield": 4.53, "fetched_at": "2026-11-24T12:00:00Z", "source": "market" },
{ "yield": 4.52, "fetched_at": "2026-11-24T15:30:00Z", "source": "market" }
],
"count": 3,
"meta": { "timezone": "UTC" }
}

Each fetched_at value is an instant in UTC; the trailing Z denotes UTC. count is the number of snapshots in this example, and meta.timezone states the timezone. The timestamps show when the snapshots were fetched, not necessarily when an underlying trade occurred. The reference does not promise a fixed update interval, so do not infer one from the spacing in this example.

For a period summary, GET /api/v1/fluctuation takes comma-separated countries, a maturity, and start and end dates. The Turkey reference response is:

{
"success": true,
"maturity": "10Y",
"start": "2025-11-24",
"end": "2026-11-24",
"data": {
"TR": {
"start_yield": 4.21,
"end_yield": 4.52,
"change": 0.31,
"min": 3.87,
"max": 4.76
}
}
}

start_yield and end_yield are endpoint values, change is their difference in percentage points, and min and max summarize the period. In this reference example, 0.31 percentage points is 31 basis points. Retain the requested period alongside the response; do not assume that every day in it has an observation.

Cache historical results by endpoint and all relevant request parameters, including country, maturity, and date range. Cache latest and intraday responses for a shorter period suited to the application’s tolerance for stale data, and display the observation date or fetch time to users. Since no fixed publication cadence is specified, validate freshness against the returned dates rather than a presumed schedule.

The common error shape contains success=false and an error message. The reference lists 401 for missing or invalid credentials, 403 for account quota exhaustion, 404 for unavailable data, 422 for invalid parameters, 429 for rate limiting, and 500 for a server error. Surface missing data separately from zero yield, and use bounded retries for transient failures rather than repeatedly retrying invalid requests.

For financial dashboards, these checks prevent stale points from looking current. Portfolio risk tools can convert yield changes to basis points consistently, while economic research pipelines should retain source and observation dates for reproducibility. The reference does not specify pagination behavior; verify it before assuming a long historical range can be consumed in a particular way.

FAQ

Can I request a Turkey yield for a specific date?

The endpoint reference describes that request using historical, country, maturity, and date. The supplied live catalog information does not confirm Turkey availability, so verify coverage and handle a 404 as missing data.

Does a date without a timestamp mean midnight UTC?

No. Treat a Y-m-d date as an observation date. An intraday fetched_at timestamp or a response meta.timestamp is a separate time value with its own timezone information.

Can I build a historical curve with several maturities?

The reference’s curve endpoint accepts a country and optional date. Check the returned maturity points and date, and avoid filling missing tenors unless your application explicitly labels its interpolation method.

How should I authenticate?

The endpoint reference specifies the X-API-Key header, but the supplied live sample uses a query parameter. Resolve that discrepancy with Bonds-API before production use, and keep keys out of shared logs and source code.

To obtain an API key and verify the data available for your application, Register. For an additional integration option, see MCP.

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.

Related posts

All posts →