By field

How do I get the credit-quality breakdown of a bond fund by ISIN?

Rating-bucket weights (AAA, AA, A, BBB, high yield…) and maturity buckets of any bond fund from its ISIN as JSON: data.creditQuality and data.maturity.Updated 12 September 2026 · by FundFacts API

Short answer

Call GET https://fundfactsapi.com/api/v1/funds/{isin} with a bearer API key and read data.creditQuality in the JSON response (related fields: data.maturity, data.instrument). Buckets are read from the factsheet with the fund house's own labels (some use "AAA / AA / A / BBB / BB and below", some "Investment grade / High yield"). The Free plan gives 15 lookups a month with no card, and the keyless demo endpoint shows the shape for an already-loaded fund.

Where it is in the response

PathTypeMeaning
data.creditQualityArray<{ label, weight }>Weights by rating bucket as printed.
data.maturityArray<{ label, weight }>Weights by maturity bucket (0–1 y, 1–3 y…).
data.instrumentArray<{ label, weight }>Weights by instrument type (government, corporate, securitised…).
data.profile.creditQuality"high" or "medium" or "low" or nullDerived: AAA–A ≥60% high; investment grade ≥80% medium; else low.

Sample for iShares Core MSCI World UCITS ETF (IE00B4L5Y983):

json
"creditQuality": [
{ "label": "AAA", "weight": 12.4 },
{ "label": "AA", "weight": 31.9 },
{ "label": "A", "weight": 28.6 },
{ "label": "BBB", "weight": 24.1 },
{ "label": "Below BBB", "weight": 1.8 }
],
"profile": { "creditQuality": "high" }

Where the figure comes from

Buckets are read from the factsheet with the fund house's own labels (some use "AAA / AA / A / BBB / BB and below", some "Investment grade / High yield"). profile.creditQuality normalises them into one of three bands so filters work across issuers.

The request

bash
curl -s --max-time 300 https://fundfactsapi.com/api/v1/funds/IE00B4L5Y983 \
-H "Authorization: Bearer $FUNDFACTS_API_KEY" | jq '.data.creditQuality'
python
import os, requests
r = requests.get("https://fundfactsapi.com/api/v1/funds/IE00B4L5Y983",
headers={"Authorization": f"Bearer {os.environ['FUNDFACTS_API_KEY']}"}, timeout=300)
fund = r.json()
print(fund["name"], fund['data']['creditQuality'])
javascript
const res = await fetch("https://fundfactsapi.com/api/v1/funds/IE00B4L5Y983", {
headers: { Authorization: `Bearer ${process.env.FUNDFACTS_API_KEY}` },
signal: AbortSignal.timeout(300_000),
});
const fund = await res.json();
console.log(fund.name, fund.data.creditQuality);

Sign up at fundfactsapi.com/signup for a key; the Free plan is 15 lookups a month with no card. Without a key, GET https://fundfactsapi.com/api/v1/demo/funds/IE00B4L5Y983 returns the same payload for funds already in the store (30 calls a minute per IP; it never loads a new fund).

Caveats

  • Rating methodology (which agencies, lowest-of or middle-of) is the fund house's choice and is not harmonised.
  • Unrated and cash lines appear as printed.

Several funds at once

POST /funds with { "isins": ["…", "…"], "wait": true } returns the same payload for up to 10 ISINs per call on Starter, 50 on Pro and 200 on Scale. One request is counted per ISIN answered. X-RateLimit-Remaining on every response tells you how many are left this month; a 429 rate_limited response carries Retry-After. Search and /me are free.

A fund nobody has requested in the last 24 hours is loaded on demand from the documents the fund house publishes. That first call takes 15 seconds to about 3 minutes; set your client timeout to 300 seconds and do not fire a second request for the same ISIN while the first is running. Every later call within 24 hours returns from the store in well under a second with cached: true.

Everything else in the payload is listed in the field reference.

Verify it yourself

The demo endpoint returns the live payload for a fund that is already in the store, without a key. Everything on this page can be checked against it.
bash
curl -s https://fundfactsapi.com/api/v1/demo/funds/IE00B4L5Y983 | jq '{name, asOf: .data.dataAsOf, ter: .data.headlineMetrics.ter, risk: .data.riskRating, top: .data.topHoldings[:3]}'

Frequently asked questions

Do I need a credit card to try it?

No. The Free plan is 15 lookups per month with no card; sign up with an e-mail address or Google and the key is shown in the dashboard.

Which ISINs work?

Any share class of a UCITS fund, ETF, money-market fund or open-end fund whose management company publishes a product page, factsheet and KID. Each share class has its own ISIN and is looked up on its own. Stocks, bonds and indices are not funds and return 404 fund_not_found.

How current are the figures?

Each ISIN is re-read from the fund house's documents at most every 24 hours. data.dataAsOf is the as-of date printed on the documents, typically the last month end for a factsheet and the last trading day for holdings files.

Try it on your own ISINs

One request returns key facts, holdings, risk and performance as JSON. Free plan, no card.