Philippines 10 Year Bond Yield

Philippines 10 Year Bond Yield

You need a reliable way to pull the Philippines 10-year government bond yield into your models, dashboards, or risk tools. By the end of this guide, you will query the latest PH 10Y yield, build a Philippines yield curve, compute PH–US spreads, analyze historical and intraday movements, and operationalize this data in your application using the Bonds API.

What we will cover

This article focuses on the Philippines (ISO2: PH) 10-year bond. We will:

Illustration: Philippines 10 Year Bond Yield
  • Fetch the latest PH 10Y yield and read it correctly (percentage units and date fields).
  • Retrieve a full Philippines yield curve and construct multi-maturity analytics.
  • Pull historical and intraday PH 10Y yields for backtesting, monitoring, and alerting.
  • Measure spreads vs. a benchmark (e.g., US Treasuries) in basis points.
  • Calculate fluctuations over a time window (change, min, max).
  • Handle business days, holidays, caching, and update frequency.

All examples use the Bonds API base URL https://bonds-api.com/api/v1/ and GET requests with an X-API-Key header. You can learn more and request access at bonds-api.com and explore models at MCP. When ready, you can Register to get your API key.

Data semantics: yields, dates, timezones and calendars

Yields are expressed in percentage points (for example, 4.52 means 4.52%). Spreads are expressed in basis points (1 bp = 0.01%). Dates in daily endpoints use YYYY-MM-DD. Intraday snapshots include a fetched_at timestamp in ISO 8601 with timezone (UTC) to facilitate ordering and windowing.

Government bond markets are typically open on business days and closed on weekends and country-specific holidays. For the Philippines, expect no updates on PH public holidays; the latest available date is returned when querying curves without an explicit date. The API returns data only for days where a yield was sourced and verified.

Update frequency: daily endpoints refresh after official sources publish new rates; intraday snapshots provide multiple points during the market day. Implement caching: short TTL (e.g., 30–60 seconds) for intraday and slightly longer (5–15 minutes) for daily latest/curve endpoints, while historical queries can cache indefinitely since they are immutable.

Endpoint 1: Latest — current yields for the Philippines

Use this endpoint to fetch the most recent yields for one or more maturities. For the PH 10Y specifically, you can request 10Y alone or combine with other tenors (e.g., 2Y) to support quick curve construction on a dashboard.

cURL: latest PH 2Y and 10Y

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

Python (requests)

import requests

resp = requests.get(
"https://bonds-api.com/api/v1/latest",
headers={"X-API-Key": "YOUR_API_KEY"},
params={"countries": "PH", "maturities": "2Y,10Y"}
)
data = resp.json()
# Access PH 10Y yield:
ph_10y = data["data"]["PH"]["10Y"]["yield"]
ph_10y_date = data["data"]["PH"]["10Y"]["date"]
print("PH 10Y yield:", ph_10y, "on", ph_10y_date)

JavaScript (fetch)

const url = "https://bonds-api.com/api/v1/latest?countries=PH&maturities=2Y,10Y";
fetch(url, { headers: { "X-API-Key": "YOUR_API_KEY" } })
.then(r => r.json())
.then(json => {
const y = json.data.PH["10Y"].yield; // percentage, e.g., 4.52
const d = json.data.PH["10Y"].date; // YYYY-MM-DD
console.log("PH 10Y:", y, "as of", d);
});

PHP (file_get_contents)

<?php
$context = stream_context_create([
"http" => [
"method" => "GET",
"header" => "X-API-Key: YOUR_API_KEY\r\n"
]
]);
$url = "https://bonds-api.com/api/v1/latest?countries=PH&maturities=2Y,10Y";
$json = file_get_contents($url, false, $context);
$data = json_decode($json, true);
$ph10y = $data["data"]["PH"]["10Y"]["yield"];
$ph10yDate = $data["data"]["PH"]["10Y"]["date"];
echo "PH 10Y: $ph10y on $ph10yDate\n";

JSON response (fields explained)

{
    "success": true,
    "date": "2026-11-03",
    "rates": {
        "US_10Y": 4.909
    },
    "dates": {
        "US_10Y": "2026-11-03"
    },
    "currencies": {
        "US_10Y": "USD"
    },
    "meta": {
        "request_id": "e3ef55b8-1fc0-44a3-bf64-db7e81b29c14",
        "timestamp": "2026-11-03T00:04:05+00:00"
    }
}

Fields you’ll use: data.PH.10Y.yield is a percentage (4.52 = 4.52%). The date is the valuation date in YYYY-MM-DD. source indicates provenance (e.g., official). For multiple maturities, read each tenor by its key (2Y, 10Y, etc.).

Endpoint 2: Historical — yield on a specific date

Use this to get the PH 10Y yield on a given calendar date. If the date is a weekend or holiday, expect a 404 if no official value exists for that date.

cURL

Python

import requests

params = {"country": "PH", "maturity": "10Y", "date": "2025-06-15"}
r = requests.get("https://bonds-api.com/api/v1/historical",
headers={"X-API-Key": "YOUR_API_KEY"},
params=params)
j = r.json()
if j.get("success", True):
print(j["yield"], j["date"])

JavaScript

const params = new URLSearchParams({ country: "PH", maturity: "10Y", date: "2025-06-15" });
fetch("https://bonds-api.com/api/v1/historical?" + params, {
headers: { "X-API-Key": "YOUR_API_KEY" }
}).then(r => r.json()).then(j => {
console.log("PH 10Y on", j.date, "=", j.yield);
});

PHP

<?php
$params = http_build_query(["country" => "PH", "maturity" => "10Y", "date" => "2025-06-15"]);
$opts = ["http" => ["method" => "GET", "header" => "X-API-Key: YOUR_API_KEY\r\n"]];
$ctx = stream_context_create($opts);
$json = file_get_contents("https://bonds-api.com/api/v1/historical?$params", false, $ctx);
echo $json;

JSON response

Yield is in percent; date is the queried day. You can use this for point-in-time valuations or to validate historical model inputs.

Endpoint 3: Time series — PH 10Y between two dates

Pull a continuous series for backtests or charting. The series includes business days where data exists; weekends and holidays are omitted.

cURL

Python

import requests

params = {
"country": "PH",
"maturity": "10Y",
"start": "2025-11-03",
"end": "2026-11-03",
}
r = requests.get("https://bonds-api.com/api/v1/timeseries",
headers={"X-API-Key": "YOUR_API_KEY"},
params=params)
series = r.json()["series"]
# series is ordered by date ascending; each point has {"date": "YYYY-MM-DD", "yield": float}

JavaScript

const qs = new URLSearchParams({
country: "PH", maturity: "10Y", start: "2025-11-03", end: "2026-11-03"
});
fetch("https://bonds-api.com/api/v1/timeseries?" + qs.toString(), {
headers: { "X-API-Key": "YOUR_API_KEY" }
}).then(r => r.json()).then(j => {
j.series.forEach(pt => {
// pt.date in YYYY-MM-DD, pt.yield in percent
});
});

PHP

<?php
$params = http_build_query([
"country" => "PH",
"maturity" => "10Y",
"start" => "2025-11-03",
"end" => "2026-11-03"
]);
$ctx = stream_context_create(["http" => ["method" => "GET", "header" => "X-API-Key: YOUR_API_KEY\r\n"]]);
echo file_get_contents("https://bonds-api.com/api/v1/timeseries?$params", false, $ctx);

JSON response

Use series to compute moving averages, drawdowns, or realized volatility. Since yields are percentages, do not treat them as decimal fractions unless your internal functions expect decimals (e.g., divide by 100 if required by your model).

Endpoint 4: Spread — Philippines vs benchmark (e.g., US 10Y)

Compute the PH 10Y spread vs. a benchmark such as the US 10Y. This returns the spread in basis points along with both country and benchmark yields.

cURL

Python

import requests

q = {"country": "PH", "benchmark": "US", "maturity": "10Y"}
j = requests.get("https://bonds-api.com/api/v1/spread",
headers={"X-API-Key": "YOUR_API_KEY"},
params=q).json()
spread_bps = j["spread_bps"] # integer or float basis points
print("PH-UST 10Y spread:", spread_bps, "bps")

JavaScript

const params = new URLSearchParams({ country: "PH", benchmark: "US", maturity: "10Y" });
fetch("https://bonds-api.com/api/v1/spread?" + params, {
headers: { "X-API-Key": "YOUR_API_KEY" }
}).then(r => r.json()).then(j => {
console.log(`Spread: ${j.spread_bps} bps; PH: ${j.country_yield}%, US: ${j.benchmark_yield}%`);
});

PHP

<?php
$params = http_build_query(["country" => "PH", "benchmark" => "US", "maturity" => "10Y"]);
$ctx = stream_context_create(["http" => ["method" => "GET", "header" => "X-API-Key: YOUR_API_KEY\r\n"]]);
echo file_get_contents("https://bonds-api.com/api/v1/spread?$params", false, $ctx);

JSON response

spread_bps is the PH minus US 10Y yield in basis points. For example, 215 means PH 10Y is 2.15% above the US 10Y.

Endpoint 5: Curve — full Philippines yield curve

Grab the entire PH curve in one call. This is helpful for curve fitting, bootstrapping discount factors, or curve shape diagnostics.

cURL

Python

import requests

j = requests.get("https://bonds-api.com/api/v1/curve",
headers={"X-API-Key": "YOUR_API_KEY"},
params={"country": "PH"}).json()
date = j["date"]
curve = j["curve"] # dict of tenor->yield (percent)
print("Curve date:", date, "10Y:", curve.get("10Y"))

JavaScript

fetch("https://bonds-api.com/api/v1/curve?country=PH", {
headers: { "X-API-Key": "YOUR_API_KEY" }
}).then(r => r.json()).then(j => {
const ten = j.curve["10Y"];
console.log("PH curve date:", j.date, "10Y:", ten);
});

PHP

<?php
$url = "https://bonds-api.com/api/v1/curve?country=PH";
$ctx = stream_context_create(["http" => ["method" => "GET", "header" => "X-API-Key: YOUR_API_KEY\r\n"]]);
$json = file_get_contents($url, false, $ctx);
echo $json;

JSON response

inverted is a boolean flag that indicates whether short-term yields exceed long-term yields. Each curve value is a yield in percent. The date is the curve’s valuation day (YYYY-MM-DD). Below is a snapshot of the tenors returned:

MaturityYield (%)
1M5.31
3M5.27
6M5.18
1Y4.98
2Y4.25
5Y4.39
10Y4.52
30Y4.71

Endpoint 6: Intraday — snapshots for PH 10Y

For monitoring and alerting, use intraday to sample yields at multiple times within the trading day. Timestamps are in UTC.

cURL

Python

import requests
from datetime import datetime

params = {"country": "PH", "maturity": "10Y", "date": "2026-11-03"}
j = requests.get("https://bonds-api.com/api/v1/intraday",
headers={"X-API-Key": "YOUR_API_KEY"},
params=params).json()
for snap in j["snapshots"]:
ts = datetime.fromisoformat(snap["fetched_at"].replace("Z","+00:00"))
print(ts, snap["yield"])

JavaScript

const qs = new URLSearchParams({ country: "PH", maturity: "10Y", date: "2026-11-03" });
fetch("https://bonds-api.com/api/v1/intraday?" + qs, { headers: { "X-API-Key": "YOUR_API_KEY" }})
.then(r => r.json())
.then(j => {
j.snapshots.forEach(s => console.log(s.fetched_at, s.yield));
});

PHP

<?php
$params = http_build_query(["country" => "PH", "maturity" => "10Y", "date" => "2026-11-03"]);
$ctx = stream_context_create(["http" => ["method" => "GET", "header" => "X-API-Key: YOUR_API_KEY\r\n"]]);
$json = file_get_contents("https://bonds-api.com/api/v1/intraday?$params", false, $ctx);
echo $json;

JSON response

snapshots is an array of yield points, each with fetched_at (UTC ISO 8601) and source. Use count to confirm completeness of your window and meta.timezone for display logic.

Endpoint 7: Fluctuation — change, min, and max for PH 10Y

Summarize movement over a time window. Great for daily recaps, weekly reports, or VaR inputs.

cURL

Python

import requests

params = {"countries": "PH", "maturity": "10Y", "start": "2025-11-03", "end": "2026-11-03"}
j = requests.get("https://bonds-api.com/api/v1/fluctuation",
headers={"X-API-Key": "YOUR_API_KEY"},
params=params).json()
ph = j["data"]["PH"]
print("Δ:", ph["change"], "Start:", ph["start_yield"], "End:", ph["end_yield"], "Min:", ph["min"], "Max:", ph["max"])

JavaScript

const params = new URLSearchParams({
countries: "PH", maturity: "10Y", start: "2025-11-03", end: "2026-11-03"
});
fetch("https://bonds-api.com/api/v1/fluctuation?" + params, {
headers: { "X-API-Key": "YOUR_API_KEY" }
}).then(r => r.json()).then(j => {
const s = j.data.PH;
console.log(`Change ${s.change} (Start ${s.start_yield}, End ${s.end_yield}); Range [${s.min}, ${s.max}]`);
});

PHP

<?php
$params = http_build_query([
"countries" => "PH", "maturity" => "10Y", "start" => "2025-11-03", "end" => "2026-11-03"
]);
$ctx = stream_context_create(["http" => ["method" => "GET", "header" => "X-API-Key: YOUR_API_KEY\r\n"]]);
echo file_get_contents("https://bonds-api.com/api/v1/fluctuation?$params", false, $ctx);

JSON response

All values are percentages except the date fields. change is end_yield - start_yield in percent points.

Error handling and operational tips

Bonds API returns a structured error payload: success=false and an error message. Common statuses:

  • 401: Missing or invalid X-API-Key — verify header name and key.
  • 403: Quota exceeded — implement backoff and alerting.
  • 404: No data for requested combination — check date, country (PH), and maturity (“10Y”).
  • 422: Invalid parameter — fix date format (YYYY-MM-DD) or ISO2 code.
  • 429: Rate limit — backoff and cache responses.
  • 500: Server error — retry with jitter.

Recommended patterns:

  • Cache daily data with moderate TTL; cache historical indefinitely.
  • Normalize yields consistently across endpoints (all in percentages).
  • Guard against missing days (weekends/holidays) in time series; forward-fill only if your model allows it.
  • Log source fields (“official”, “market”) for auditability.

Building a Philippines yield curve for analytics

To construct a PH curve for analytics or pricing:

  • Option A: Use /curve for the full set of tenors at once, including longer maturities like 30Y.
  • Option B: Use /latest with multiple maturities (e.g., 1Y, 2Y, 5Y, 10Y, 30Y) if you want to limit to specific points.

Once you have the tenors and yields, interpolate as needed (e.g., cubic spline) and convert to discount factors or forward rates. Always document the date of the curve and whether inverted is true for downstream risk logic.

Use cases for PH 10Y data

  • Fixed-income dashboards: display latest PH 10Y yield and curve positioning.
  • Portfolio risk: compute DV01 approximations from curve shifts or run historical VaR rolling windows via /timeseries.
  • Economic research: compare PH vs. US 10Y spreads via /spread to assess relative monetary stance or risk appetite.
  • Alerting: intraday threshold alerts when PH 10Y moves beyond a basis-point threshold using /intraday snapshots.

You can discover more capabilities at bonds-api.com and test model integrations at MCP.

Official sample blocks

The following official sample blocks illustrate a latest request and response schema. Copy them exactly as shown when referencing the example:

Practical notes: business days, holidays, and caching

  • Business days: PH bond data populates on market days; weekends and PH public holidays do not produce new values.
  • Refresh cadence: latest and curve update after official sources publish. Intraday provides multiple snapshots; build alerting around fetched_at times.
  • Caching: for intraday, use very short TTL to avoid rate limiting. For latest/curve, 5–15 minutes is typical. Historical and fixed windows (/timeseries, /fluctuation for past dates) can be cached for long periods.
  • Timezones: dates are local valuation dates, while intraday timestamps are UTC for global consistency.

Reading and validating responses

  • Yields are percentages. If your library expects decimals, divide by 100 before compounding or discounting.
  • Spread endpoints return spread_bps, country_yield, and benchmark_yield — all you need to render a spread tile.
  • /curve includes inverted to quickly detect curve inversions without manual checks.
  • When combining endpoints (e.g., comparing /latest 10Y with an intraday point), ensure you align on date and timestamp semantics.

Troubleshooting common issues

  • Missing data for a date: verify it’s a business day and that the maturity exists for PH.
  • Rate-limit or quota events: add caching layers and exponential backoff with jitter; consider batching queries (e.g., multiple maturities via /latest).
  • Timezone confusion: use fetched_at from /intraday (UTC) for ordering; use date from daily endpoints for valuation labeling.

Developer FAQ

Q1: What unit are yields and spreads in?
A1: Yields are in percentage points (e.g., 4.52 = 4.52%). Spreads from /spread are in basis points (e.g., 215 = 2.15%).

Q2: How should I handle weekends and PH market holidays?
A2: Expect no new daily values on those days. For time series, missing days are omitted. If your model requires daily grids, forward-fill or interpolate cautiously according to your risk policy.

Q3: What timezone should I use for intraday processing?
A3: Intraday fetched_at timestamps are in UTC. Use them for sequencing and to coordinate alerts across regions.

Q4: Can I build a curve using /latest instead of /curve?
A4: Yes. Request multiple maturities in one call (e.g., maturities=1Y,2Y,5Y,10Y,30Y). For full coverage in one response, /curve is usually simpler.

Q5: What errors should I anticipate in production?
A5: Handle 401 (auth), 403 (quota), 404 (no data), 422 (invalid params), 429 (rate limit), and 500 (transient). Log the error field and retry idempotently where appropriate.

Build your Philippines 10-year bond yield integration now. Explore the documentation and models at bonds-api.com and the MCP. When you’re ready to ship, Register to get your API key and plug PH 10Y yields into your stack.

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.