How do I get the asset allocation of a fund by ISIN?
Equity, bond, cash and other weights for any multi-asset or single-asset fund from its ISIN as JSON: data.assetAllocation, with the equity share as a number.Updated 12 September 2026 · by FundFacts APIShort answer
Call GET https://fundfactsapi.com/api/v1/funds/{isin} with a bearer API key and read data.assetAllocation in the JSON response (related fields: data.profile.equityShare, data.metrics.equityBondSplit). The allocation table is read from the factsheet. 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
| Path | Type | Meaning |
|---|---|---|
data.assetAllocation | Array<{ label, weight }> | Weights by asset class as printed (Equity, Fixed Income, Cash…). |
data.profile.equityShare | number or null | Equity weight in percent, derived for multi-asset funds. |
data.metrics.equityBondSplit | string | "60 / 40"-style summary when the document prints one. |
data.keyFacts.assetClass | string | Broad asset class of the fund itself. |
Sample for iShares Core MSCI World UCITS ETF (IE00B4L5Y983):
json"assetAllocation": [{ "label": "Equity", "weight": 99.75 },{ "label": "Cash Collateral and Margins", "weight": 0.02 }],"keyFacts": { "assetClass": "Equities" },"metrics": { "equityBondSplit": "100 / 0" }
Where the figure comes from
The allocation table is read from the factsheet. For a pure equity or bond fund it mostly confirms the asset class; for allocation, balanced and target-date funds it is the figure that matters, and profile.equityShare turns it into one number you can filter on.
The request
bashcurl -s --max-time 300 https://fundfactsapi.com/api/v1/funds/IE00B4L5Y983 \-H "Authorization: Bearer $FUNDFACTS_API_KEY" | jq '.data.assetAllocation'
pythonimport os, requestsr = 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']['assetAllocation'])
javascriptconst 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.assetAllocation);
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
- Derivative exposure is reported the way the fund house reports it; a fund that uses futures may show cash collateral lines.
- For a portfolio of several funds,
POST /portfolioreturns the weighted allocation across all positions.
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.bashcurl -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]}'