Egypt 10 Year Bond Yield

Egypt 10 Year Bond Yield

You need a reliable, machine-readable source for the Egypt 10-year government bond yield that you can plug directly into research notebooks, dashboards, or production trading and risk systems. By the end of this guide, you will query, parse, and operationalize Egypt’s 10Y yield (and related maturities) using the Bonds API, covering current values, historical dates, time series, intraday snapshots, spreads versus benchmarks, and the full Egypt yield curve.

What you’ll build with Bonds API for Egypt 10Y

The Bonds API serves sovereign bond yields as JSON over HTTPS with an API key in the request header. Egypt (ISO2: EG) is included, and the 10Y tenor is available across all core endpoints. You will learn to:

Illustration: Egypt 10 Year Bond Yield
  • Fetch the latest Egypt 10Y yield, optionally alongside nearby maturities.
  • Retrieve a historical 10Y yield for a specific calendar date.
  • Download a date-bounded time series for charting and model inputs.
  • Get intraday snapshots to monitor market moves within the day.
  • Compute the 10Y spread versus a benchmark (e.g., US 10Y) in basis points.
  • Pull the Egypt yield curve (multiple tenors) for curve analytics.
  • Measure fluctuations (change, min, max) over any date range.

All endpoints are GET and live under https://bonds-api.com/api/v1/. Authentication uses the X-API-Key header. For product information and documentation, visit bonds-api.com and explore the MCP. When you’re ready to build, Register for an API key.

Data model, units, and timestamps

All yields are expressed as percentages (e.g., 4.52 means 4.52%). Spreads are expressed in basis points (bps), where 1 basis point = 0.01%. Dates are formatted as YYYY-MM-DD. Intraday snapshots include an ISO 8601 UTC timestamp field (fetched_at) to sequence updates within the trading day. Responses also include metadata fields such as source and timezone where applicable.

Latest Egypt yields (including the 10Y)

Use the /latest endpoint to get the most current yields for Egypt. You can request a specific set of maturities with the maturities parameter or omit it to get all available tenors for the country.

Endpoint

GET /api/v1/latest

  • Required: countries (ISO2 comma-separated)
  • Optional: maturities (comma-separated, e.g., 2Y,10Y)

cURL request

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

Official JSON response example

{
    "success": true,
    "date": "2026-11-02",
    "rates": {
        "US_10Y": 4.929
    },
    "dates": {
        "US_10Y": "2026-11-02"
    },
    "currencies": {
        "US_10Y": "USD"
    },
    "meta": {
        "request_id": "ba2c343e-d69a-4013-9e3d-5fe062547d92",
        "timestamp": "2026-11-02T01:05:43+00:00"
    }
}

How to read it:

  • yield: the percentage yield for the tenor (e.g., 4.52 = 4.52%).
  • date: market date for the rate (YYYY-MM-DD).
  • source: origin of the data, e.g., “official”.

Python (requests)

import requests

resp = requests.get(
'https://bonds-api.com/api/v1/latest',
headers={'X-API-Key': 'YOUR_API_KEY'},
params={'countries': 'EG', 'maturities': '2Y,10Y'}
)
data = resp.json()
eg_10y = data['data']['EG']['10Y']['yield']
eg_10y_date = data['data']['EG']['10Y']['date']
print('EG 10Y:', eg_10y, 'on', eg_10y_date)

JavaScript (fetch)

const url = new URL('https://bonds-api.com/api/v1/latest');
url.searchParams.set('countries', 'EG');
url.searchParams.set('maturities', '2Y,10Y');

fetch(url, { headers: { 'X-API-Key': 'YOUR_API_KEY' } })
.then(r => r.json())
.then(json => {
const eg10y = json.data.EG['10Y'].yield;
const eg10yDate = json.data.EG['10Y'].date;
console.log('EG 10Y:', eg10y, 'on', eg10yDate);
});

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=EG&maturities=2Y,10Y';
$json = file_get_contents($url, false, $context);
$data = json_decode($json, true);
$eg10y = $data['data']['EG']['10Y']['yield'];
$eg10yDate = $data['data']['EG']['10Y']['date'];
echo "EG 10Y: $eg10y on $eg10yDate\n";

Point-in-time (historical) Egypt 10Y yield

Use /historical to fetch the Egypt 10Y yield for an exact calendar date (business days will have data; non-business days typically won’t).

Endpoint

GET /api/v1/historical

  • Required: country (ISO2), maturity (e.g., 10Y), date (YYYY-MM-DD)

cURL request

Official JSON response example

How to read it:

  • yield: the Egypt 10Y yield as a percentage on the requested date.
  • date: the requested day; if the market was closed, you may receive a 404 (see errors below).

Python (requests)

import requests

resp = requests.get(
'https://bonds-api.com/api/v1/historical',
headers={'X-API-Key': 'YOUR_API_KEY'},
params={'country': 'EG', 'maturity': '10Y', 'date': '2025-06-15'}
)
data = resp.json()
print('EG 10Y on', data['date'], '=', data['yield'])

JavaScript (fetch)

const params = new URLSearchParams({
country: 'EG',
maturity: '10Y',
date: '2025-06-15'
});

fetch('https://bonds-api.com/api/v1/historical?' + params.toString(), {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
})
.then(r => r.json())
.then(json => {
console.log(`EG 10Y on ${json.date} = ${json.yield}%`);
});

PHP (file_get_contents)

<?php
$q = http_build_query([
'country' => 'EG',
'maturity' => '10Y',
'date' => '2025-06-15'
]);
$opts = ['http' => ['method' => 'GET', 'header' => "X-API-Key: YOUR_API_KEY\r\n"]];
$context = stream_context_create($opts);
$json = file_get_contents('https://bonds-api.com/api/v1/historical?' . $q, false, $context);
$data = json_decode($json, true);
echo "EG 10Y on {$data['date']} = {$data['yield']}%\n";

Time series for Egypt 10Y

Use /timeseries to retrieve Egypt 10Y yields between two dates (inclusive). This is ideal for plotting lines, computing moving averages, and building factor models.

Endpoint

GET /api/v1/timeseries

  • Required: country (ISO2), maturity, start (YYYY-MM-DD), end (YYYY-MM-DD)

cURL request

Official JSON response example

How to read it:

  • series: an ordered list of daily observations, each with date and yield (percentage).

Python (requests)

import requests

params = {
'country': 'EG',
'maturity': '10Y',
'start': '2025-11-02',
'end': '2026-11-02'
}
resp = requests.get('https://bonds-api.com/api/v1/timeseries',
headers={'X-API-Key': 'YOUR_API_KEY'},
params=params)
data = resp.json()
series = data['series']
print('Observations:', len(series))
print('First point:', series[0])

JavaScript (fetch)

const url = new URL('https://bonds-api.com/api/v1/timeseries');
url.searchParams.set('country', 'EG');
url.searchParams.set('maturity', '10Y');
url.searchParams.set('start', '2025-11-02');
url.searchParams.set('end', '2026-11-02');

fetch(url, { headers: { 'X-API-Key': 'YOUR_API_KEY' } })
.then(r => r.json())
.then(json => {
console.log('Sample:', json.series.slice(0, 3));
});

PHP (file_get_contents)

<?php
$params = http_build_query([
'country' => 'EG',
'maturity' => '10Y',
'start' => '2025-11-02',
'end' => '2026-11-02'
]);
$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/timeseries?' . $params, false, $ctx);
$data = json_decode($json, true);
echo "Count: " . count($data['series']) . PHP_EOL;

Spread versus benchmark (Egypt 10Y vs US 10Y)

The /spread endpoint returns country vs benchmark spread in basis points for a given maturity. This is commonly used for relative value, cross-country risk premia, and hedging ratios.

Endpoint

GET /api/v1/spread

  • Required: country (ISO2), benchmark (ISO2)
  • Optional: maturity (defaults to 10Y)

cURL request

Official JSON response example

How to read it:

  • spread_bps: the Egypt 10Y yield minus the US 10Y yield, in basis points.
  • country_yield and benchmark_yield: both in percentage terms.

Python (requests)

import requests

resp = requests.get(
'https://bonds-api.com/api/v1/spread',
headers={'X-API-Key': 'YOUR_API_KEY'},
params={'country': 'EG', 'benchmark': 'US', 'maturity': '10Y'}
)
spread = resp.json()
print('EG vs US (10Y) spread:', spread['spread_bps'], 'bps')

JavaScript (fetch)

const params = new URLSearchParams({
country: 'EG',
benchmark: 'US',
maturity: '10Y'
});

fetch('https://bonds-api.com/api/v1/spread?' + params.toString(), {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
})
.then(r => r.json())
.then(json => {
console.log(`Spread: ${json.spread_bps} bps (EG=${json.country_yield}%, US=${json.benchmark_yield}%)`);
});

PHP (file_get_contents)

<?php
$q = http_build_query(['country' => 'EG', 'benchmark' => 'US', 'maturity' => '10Y']);
$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/spread?' . $q, false, $ctx);
$data = json_decode($json, true);
echo "EG-US 10Y spread: {$data['spread_bps']} bps\n";

Full Egypt yield curve

Use /curve to retrieve Egypt’s full curve for a given date (or the latest available if date is omitted). This is useful for interpolation, curve fitting, and duration/convexity analyses.

Endpoint

GET /api/v1/curve

  • Required: country (ISO2)
  • Optional: date (YYYY-MM-DD)

cURL request

Official JSON response example

How to read it:

  • curve: a mapping from maturity codes to yields (percentages).
  • inverted: a boolean flag; true if short-term rates exceed long-term rates broadly.
  • date: the market date used for the curve.

Typical Egypt curve tenors

MaturityComment
1M, 3M, 6MShort bills
1Y, 2YShort notes
5Y, 10YBenchmark mid-to-long bonds
30YLong bonds for term-structure analysis

Python (requests)

import requests

resp = requests.get(
'https://bonds-api.com/api/v1/curve',
headers={'X-API-Key': 'YOUR_API_KEY'},
params={'country': 'EG'}
)
curve = resp.json()
eg_10y = curve['curve']['10Y']
print('Egypt 10Y on', curve['date'], '=', eg_10y, '%; inverted:', curve['inverted'])

JavaScript (fetch)

const url = new URL('https://bonds-api.com/api/v1/curve');
url.searchParams.set('country', 'EG');

fetch(url, { headers: { 'X-API-Key': 'YOUR_API_KEY' } })
.then(r => r.json())
.then(json => {
console.log('Curve date:', json.date);
console.log('EG 10Y:', json.curve['10Y']);
});

PHP (file_get_contents)

<?php
$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/curve?country=EG', false, $ctx);
$data = json_decode($json, true);
echo "EG 10Y: {$data['curve']['10Y']}% on {$data['date']}\n";

Intraday Egypt 10Y snapshots

Use /intraday to monitor how the Egypt 10Y yield moved during a given trading day. This is valuable for alerting, execution timing, and volatility-aware models.

Endpoint

GET /api/v1/intraday

  • Required: country (ISO2), maturity, date (YYYY-MM-DD)

cURL request

Official JSON response example

How to read it:

  • snapshots: per-sample yields with fetched_at timestamps (UTC).
  • count: the number of snapshots returned.
  • meta.timezone: timezone for timestamps (UTC).

Python (requests)

import requests
from datetime import datetime

resp = requests.get(
'https://bonds-api.com/api/v1/intraday',
headers={'X-API-Key': 'YOUR_API_KEY'},
params={'country': 'EG', 'maturity': '10Y', 'date': '2026-11-02'}
)
data = resp.json()
last = data['snapshots'][-1]
ts = datetime.fromisoformat(last['fetched_at'].replace('Z', '+00:00'))
print('Last intraday EG 10Y:', last['yield'], 'at', ts.isoformat())

JavaScript (fetch)

const params = new URLSearchParams({
country: 'EG',
maturity: '10Y',
date: '2026-11-02'
});

fetch('https://bonds-api.com/api/v1/intraday?' + params.toString(), {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
})
.then(r => r.json())
.then(json => {
const last = json.snapshots[json.snapshots.length - 1];
console.log(`Last EG 10Y: ${last.yield}% @ ${last.fetched_at} (${json.meta.timezone})`);
});

PHP (file_get_contents)

<?php
$q = http_build_query(['country' => 'EG', 'maturity' => '10Y', 'date' => '2026-11-02']);
$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?' . $q, false, $ctx);
$data = json_decode($json, true);
$last = end($data['snapshots']);
echo "Last EG 10Y intraday: {$last['yield']}% at {$last['fetched_at']} UTC\n";

Fluctuation: change, min, and max for Egypt 10Y

/fluctuation summarizes start and end yields, absolute change, and the observed min/max across a period. It’s an efficient input for dashboards and risk summaries.

Endpoint

GET /api/v1/fluctuation

  • Required: countries (ISO2 comma-separated), maturity, start (YYYY-MM-DD), end (YYYY-MM-DD)

cURL request

Official JSON response example

How to read it:

  • start_yield, end_yield: first and last observations in the requested range (percent).
  • change: end_yield - start_yield (percent points).
  • min, max: extremes reached within the window (percent).

Python (requests)

import requests

resp = requests.get(
'https://bonds-api.com/api/v1/fluctuation',
headers={'X-API-Key': 'YOUR_API_KEY'},
params={'countries': 'EG', 'maturity': '10Y', 'start': '2025-11-02', 'end': '2026-11-02'}
)
fx = resp.json()['data']['EG']
print('EG 10Y change:', fx['change'], 'pp; range:', fx['min'], '-', fx['max'])

JavaScript (fetch)

const p = new URLSearchParams({
countries: 'EG',
maturity: '10Y',
start: '2025-11-02',
end: '2026-11-02'
});

fetch('https://bonds-api.com/api/v1/fluctuation?' + p.toString(), {
headers: { 'X-API-Key': 'YOUR_API_KEY' }
})
.then(r => r.json())
.then(json => {
const eg = json.data.EG;
console.log(`Change: ${eg.change} pp; Min/Max: ${eg.min}/${eg.max}`);
});

PHP (file_get_contents)

<?php
$q = http_build_query([
'countries' => 'EG',
'maturity' => '10Y',
'start' => '2025-11-02',
'end' => '2026-11-02'
]);
$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/fluctuation?' . $q, false, $ctx);
$data = json_decode($json, true)['data']['EG'];
echo "EG 10Y Δ: {$data['change']} pp; min={$data['min']}, max={$data['max']}\n";

Sovereign bond context for Egypt 10Y

Egypt’s 10-year government bond yield is a reference maturity widely used to gauge local currency term premiums, monetary policy expectations, and macro risk. It often anchors credit and duration risk for portfolios exposed to Egyptian rates and is a focal point for spread analysis versus global benchmarks.

For developers and quants, the 10Y is a convenient proxy for the long end of the curve when constructing factor models, scenario stress tests, or curve-based hedges.

Building yield curves and multi-tenor analytics

There are two practical ways to assemble a curve for Egypt:

  • Call /latest with multiple maturities (e.g., 1Y,2Y,5Y,10Y,30Y) to capture the live snapshot quickly.
  • Call /curve for an all-in-one response that includes the inversion flag and standardized tenor mapping.

For curve fitting or interpolation, you can combine /timeseries across tenors to compute historical curve shapes, forward rates, and beta exposures through time.

Business days, holidays, and update cadence

Data is published on business days aligned to the local market calendar. On market holidays or weekends, /historical and /timeseries will not return observations for those dates; /latest reflects the last available market date. Intraday snapshots (/intraday) are only available for active trading days and will carry UTC timestamps.

Practical tips:

  • Cache /latest responses per country and tenor for a short TTL to avoid spiking traffic during peak hours.
  • Normalize all times to UTC in downstream systems; the API uses YYYY-MM-DD dates and UTC timestamps for intraday.
  • Handle empty or missing dates gracefully by advancing to the next business day or backing off to the previous business day based on your use case.
  • Implement basic retry/backoff for transient 5xx or 429 statuses; log error payloads for observability.

Error handling and common statuses

All error responses share a consistent shape: success=false and an error message string. Plan for these cases:

  • 401: Missing or invalid X-API-Key
  • 403: Account quota exceeded
  • 404: No data for requested country/maturity/date
  • 422: Invalid parameter (date format, unknown ISO2, etc.)
  • 429: Rate limit exceeded
  • 500: Server error

Always log the full JSON error payload and your request parameters to speed up debugging. For automation, consider a small wrapper that standardizes retry logic and safe fallbacks (e.g., use previous business day if /latest is unavailable during maintenance windows).

Real-world use cases with Egypt 10Y

  • Financial dashboards: Show live Egypt 10Y, daily change, and min/max range with traffic-light coloration by spread vs the US 10Y using /spread.
  • Portfolio risk tools: Compute duration exposure and drawdown scenarios by pairing /curve with /fluctuation.
  • Economic research: Build notebooks that stitch /timeseries across multiple tenors to analyze curve dynamics around policy announcements.
  • Execution monitoring: Subscribe to /intraday for time-sliced alerts when 10Y crosses thresholds (e.g., +10 bps vs open).

To explore datasets and test requests interactively, visit bonds-api.com and the MCP.

Complete reference: All seven endpoints for Egypt 10Y

  • /api/v1/latest — Get current yields for one or more maturities.
  • /api/v1/historical — Query a specific date’s yield.
  • /api/v1/timeseries — Pull daily yields across a date range.
  • /api/v1/spread — Compute basis point spread vs a benchmark (e.g., US).
  • /api/v1/curve — Retrieve the full Egypt curve and inversion status.
  • /api/v1/intraday — Monitor intraday snapshots with UTC timestamps.
  • /api/v1/fluctuation — Summarize change, min, and max over a period.

All calls are GET with the X-API-Key header. Base URL: https://bonds-api.com/api/v1/.

FAQ

Q: What are the units for yield and spread?
A: Yields are percentages (e.g., 4.52 means 4.52%). Spreads are basis points (bps), where 100 bps = 1.00%.

Q: What timezone are timestamps in?
A: Daily dates are YYYY-MM-DD without timezone. Intraday timestamps (fetched_at) are ISO 8601 in UTC, and meta.timezone confirms UTC.

Q: How should I handle holidays and weekends?
A: Expect no observations on non-business days. Use /latest for the last available market date, and for /historical or /timeseries, adjust to nearby business days as needed by your logic.

Q: Can I fetch multiple Egypt maturities in one request?
A: Yes. Use /latest with maturities=1Y,2Y,5Y,10Y,30Y or call /curve to retrieve a full curve in a single response.

Q: How often do I need to poll for intraday updates?
A: Intraday cadence depends on your application’s requirements. A short polling interval during market hours, with caching to de-duplicate identical snapshots, is typical.

Get your API key and start building

Set up your environment in minutes and wire Egypt’s 10Y yield into your models, dashboards, or downstream services using the examples above. Visit Register to obtain your API key, or Get started with Bonds API for documentation and product details.

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.