What does an ETF's compliance label tell you if you don't know when its holdings were measured, how much of the portfolio was screened, or which rules produced the result? An ETF holdings API is useful only when it answers those questions alongside the constituent names and weights. Otherwise, a clean response can conceal an old portfolio, incomplete coverage, or an unsupported conclusion.

Table of Contents

Why ETF Holdings Data Matters for Screening

A fund name describes an investment proposition, not the exact securities an investor owns indirectly. Two similarly named funds can produce different sector, country, and issuer exposures because their constituent selections and position sizes differ. For screening, the relevant evidence is the weighted portfolio, not the marketing category.

The regulatory baseline is concrete: the SEC's ETF compliance guide explains that Rule 6c-11, adopted in 2019, requires ETFs relying on its framework to publish holdings on their websites every business day before regular trading begins on their primary listing exchange. Those disclosures generally represent the portfolio used to calculate the prior business day's net asset value. That gives an ingestion system a defined valuation date, rather than an unspecified collection of positions.

The underlying holdings are what make portfolio analysis possible.

An investor analyzes different market sector portfolios and financial ETF holdings through a magnifying glass.

Start with evidence, not categories

A useful holdings dataset supports several distinct calculations:

  • Portfolio analytics: Aggregate security exposures across an investor's direct positions and funds.
  • Constituent screening: Apply a named methodology to the securities inside each fund.
  • Exposure analysis: Measure overlapping issuers, sectors, and countries.
  • Weighted compliance: Calculate how assessed holdings contribute to the fund-level result.

Ownership of definitions matters as much as ingestion. Galliot's resource on data governance for analytics teams provides useful context for assigning responsibility for analytical inputs and outputs. In a holdings pipeline, someone must own identifier mappings, weight conventions, freshness policies, and exception handling.

Daily disclosure is a starting point, not a universal delivery guarantee. Delayed files, identifier changes, cash, derivatives, and non-US formats still require explicit handling. The engineering task is to preserve those differences while making constituents searchable and results reproducible.

The Holdings Fields You Need and What Each Means

Core holding fields and how to read them

The examples below describe a proposed schema, not a particular fund's actual portfolio. Match the names to your provider's documented response before implementing the parser.

Field What it holds Example If not disclosed
Stable instrument identifier Instrument-level ID used across ticker changes ISIN or CUSIP Keep null, never zero
Ticker Exchange symbol at the as-of date AAPL Keep null and resolve through the identifier
As-of date Portfolio date the holding reflects Issuer's portfolio valuation date Required; reject the snapshot if missing
Publication timestamp When the issuer published the file Publication time with timezone Mark as unknown
Units Number of shares or contracts held Disclosed share or contract count Null, not zero
Market value Position value in fund base currency Disclosed position value plus currency Null until computed
Portfolio weight Share of fund net assets Disclosed percentage with explicit scale Null; check reconciliation
Asset type Equity, bond, cash, derivative, short or swap Equity Flag as unclassified
Maturity date and coupon rate Bond terms, where applicable Contractual maturity and stated coupon Null for equities

The SEC's final ETF rule describes holding-level disclosure fields and encourages machine-readable formats such as XML or XBRL. Its disclosure framework also supports checking whether disclosed portfolio weights reconcile to approximately 100%, with appropriate treatment of cash, derivatives, and rounding. Treat that as a documented reconciliation process, not permission to force every portfolio into a simple equity model.

Null is not a small number

Zero means a value was disclosed or calculated as zero. Null means no usable value is available. Replacing null with zero changes the meaning of the record.

For example, an unavailable coupon rate doesn't establish that a bond is zero-coupon. Likewise, a missing weight doesn't mean a position contributes nothing to the fund. Preserve a reason such as notDisclosed, notApplicable, mappingFailed, or notComputed, rather than asking downstream users to infer why the field is empty.

Preserve source precision during ingestion. Use decimal-aware storage for reported weights and monetary values, retain currency explicitly, and avoid rounding each position before aggregation. Record whether weights arrive as percentages or fractions so the parser doesn't change their scale without notice.

Separate reported values from derived values

A stable identifier is a better join key than a ticker alone, but corporate actions can still require identifier lineage. Store the original ticker, identifier, and source row alongside your normalized mapping.

Market value and portfolio weight also need separate provenance. If you calculate a missing value, mark it as derived and retain the calculation inputs; don't present it as issuer-disclosed.

Practical rule: A usable snapshot needs explainable reconciliation, justified mappings, and a reason for every missing value. A plausible total alone isn't enough.

Retain the original source file beside the normalized records. That lets a reviewer trace any displayed weight back to its source rather than reconstructing an earlier parser's behavior.

Retrieving Constituents and Weights Step by Step

Treat retrieval as a transaction over a specific portfolio snapshot. A successful HTTP response doesn't establish that you received the complete basket.

This process diagram provides a retrieval overview. In an implementation, prefer snapshot-bound continuation cursors rather than tracking mutable offsets.

A step-by-step infographic illustrating the five-stage process for retrieving ETF holdings data via an API.

Inspect the contract before looping

The Logius pagination standard provides a useful contract reference for bounded responses and explicit pagination behavior. For a standards-oriented implementation, document the default and maximum page sizes, and return HTTP 400 for an oversized request rather than truncating it without notice.

  1. Resolve the fund first. Request the fund using its documented identifier, then inspect the portfolio date and retrieval metadata. Reject a response that resolves to the wrong fund, share class, or listing before processing its holdings.

  2. Check the OpenAPI schema for the permitted page size and pagination mechanism. Choose a supported limit explicitly so a provider's default change won't unexpectedly alter your ingestion workload.

  3. Bind the request to a snapshot. Prefer an immutable snapshot identifier that remains fixed across the whole pull. A cursor alone isn't sufficient if the provider can rebuild the underlying collection while you're reading it.

  4. Follow the continuation cursor exactly as returned. Offsets can skip or repeat positions when records are inserted or reordered, so don't manufacture a cursor from a row number or security identifier.

  5. Inspect every page envelope. Read the applied limit, continuation token, and hasMore equivalent, and detect repeated cursors. Finish only when the documented terminal condition is satisfied, not merely when a page looks shorter than expected.

  6. Store raw pages before normalizing them, keyed by fund and snapshot. Make writes idempotent so retrying a page updates the same stored object rather than creating duplicate positions.

  7. Validate before publishing. Reconcile the completed basket, record exclusions, and compare the result with the source file. Read rate-limit headers and retry temporary failures with backoff, but don't convert an interrupted download into a complete snapshot.

Before writing a parser, inspect whether the response provides a holdings array with identifiers, tickers, asOfDate, units, market value, weight, and asset type. Then inspect the page object separately; these are recommended contract elements, not universal field names.

For teams moving results into existing analytical infrastructure, Magnitude Marketing's explanation of connecting legacy warehouse systems offers integration context. Keep transport concerns separate from holdings interpretation so a warehouse migration doesn't change the financial meaning of a field.

The accompanying video offers additional API context.

Finish your retrieval test by requesting the same immutable snapshot again. Compare its holding count, identifiers, and weight total; requesting the latest snapshot twice can legitimately return different portfolios.

Freshness, Provenance and Snapshot Age

The time an API updated is not the age of the portfolio. A service can ingest an old filing today and truthfully report a recent retrieval time. That doesn't make the underlying holdings current.

Keep separate fields for asOfDate, publishedDate, and retrievedAt. The first identifies when the portfolio was true, the second records source publication, and the third records your system's observation. Add source type, completeness status, and a calculated age rather than collapsing everything into updatedAt.

StockFit's review of ETF holdings APIs distinguishes daily issuer disclosures from public Form N-PORT holdings that can be roughly 60 days behind quarter-end, and reports a reviewed N-PORT-based dataset with a 117-day median report age and oldest records 148 days old. Those dataset ages describe the reviewed collection, not every N-PORT-based service.

Holdings timing by source

Source Timing Use it for
Rule 6c-11 issuer file Published each business day before market open Daily holdings with weights and an as-of date
Form N-PORT public holdings Public availability follows quarter-end with a documented reporting lag Quarter-end composition and filing-based audit trails
Reviewed N-PORT-based dataset Observed report ages substantially exceeded its ingestion interval Testing actual staleness rather than relying on refresh claims

Calculate age at the decision point

Compute portfolio age by subtracting asOfDate from the date of the screening decision. Specify whether your policy uses calendar days or business days, which timezone applies, and how holidays affect the expected portfolio date.

Publication delay and ingestion delay deserve separate alerts. A late issuer publication calls for a source warning; a promptly published file that your system ingested late calls for an operational investigation. The user-facing effect may be similar, but the responsible team and corrective action differ.

There's another clock inside a screening result: the date of each company's financial evidence. Our US ticker analysis uses SEC EDGAR 10-K and 10-Q filings; UK analysis uses Companies House annual accounts; Canadian analysis uses SEC 40-F filings plus company investor relations reports. A newly published fund basket can therefore contain constituent assessments based on older financial periods.

Make freshness visible

Use the ETF holdings status documentation when reviewing operational coverage, but don't substitute service availability for portfolio freshness. A responsive endpoint and a current dataset are separate requirements.

For stale snapshots, choose an explicit policy: show the age beside the result, add a warning, or withhold a current assessment. Preserve the older snapshot for historical analysis even if it no longer qualifies for live screening.

Never present a fund as currently compliant without identifying the portfolio date and the assessed coverage.

Interpreting Screening Verdicts and Coverage

Verdict states and what to show users

These states describe how an application should interpret evidence. They aren't a substitute for the provider's exact response enums.

Result Meaning What to show users
Compliant All tests passed on the covered holdings Verdict, as-of date, and coverage percentage
Non-compliant A test was breached by assessed holdings Verdict, breaching holding, and its weight
Unrated Coverage is insufficient and no breach is visible Unrated status and reason, never a pass
Null Value wasn't computed Not available, never zero

A compliant result is conditional on the methodology, evidence date, and assessed portion of the fund. Coverage means the share of portfolio weight the screen could assess under that methodology. It isn't the proportion of constituent names successfully downloaded.

The distinction matters because unassessed positions might include a large holding, while many assessed positions might contribute little weight. Also separate successful security matching from successful financial screening: identifying an instrument doesn't mean you have enough evidence to classify it.

The assessment should preserve uncertain states rather than smoothing them into a pass.

A hand-drawn infographic depicting an investment evaluation wheel with assessment criteria labeled as pass, fail, or unknown.

Missing evidence and visible breaches are asymmetric

Insufficient coverage prevents a confident pass, but it doesn't necessarily prevent a failure. If the assessed holdings already establish a breach under the chosen methodology, unseen positions don't erase it.

Our policy withholds an ETF verdict when assessed weight is below 95% and the visible holdings haven't already breached the limit. We also leave funds with magnified, inverse, and long-short exposure unrated under this method. These are assessment boundaries, not claims that excluded funds are automatically non-compliant.

For implementation context, the holdings-based ETF screening explanation is useful when deciding how to present fund outcomes alongside supporting evidence.

Inspect distance from a threshold

The academic paper proposing a continuous Shariah compliance index argues that conventional binary screening creates discontinuous classifications when an asset crosses a threshold. Treat that as a methodological proposal, not an adopted replacement for established rulebooks.

For an application, the practical implication is to retain the relevant ratio, denominator, threshold, and financial period. A pass close to a boundary deserves different review attention from one with substantial headroom, even when both receive the same categorical result.

Record which rulebook produced each output, including AAOIFI or an alternative methodology. Don't merge conflicting classifications into an unexplained universal verdict.

Before displaying the result, answer three questions: Which methodology applies? How much fund weight was assessed? Which holding or ratio contributes most to a possible breach? Those answers are more informative than the label alone.

Common Integration Problems and How to Fix Them

When a weight total is unexpectedly low, inspect omitted categories before changing the arithmetic. Unmapped cash, excluded derivatives, or incomplete pages are candidate explanations, not interchangeable fixes. Reconcile by category and retain the unexplained residual.

Use the following table as a triage plan. The time column describes suggested engineering time boxes for investigation and implementation, not measured delivery times or guarantees.

Holdings problems, causes and fixes

Symptom Likely cause Fix Time to fix
Holdings look weeks old Filing-based source with reporting lag Show the as-of date; select a fresher source or flag the record Short investigation; source migration may need separate scheduling
Duplicate or missing holdings across pages Offset pagination during portfolio changes Switch to supported cursor paging and reconcile counts Small parser change if cursors are supported
Verdict changed overnight Nightly rebuild after stock data updated Record the snapshot ID and alert on verdict changes Small monitoring change
Bond shows zero coupon Undisclosed field stored as zero Store null and preserve source precision Parser correction plus historical backfill
Fund passes on a name-based rule Fund label used instead of holdings Screen constituents and remove the name-based decision Separate screening implementation
Same fund, two verdicts Different methodology or threshold Store the methodology and show both results Schema and presentation change
Wrong security matched Ticker used without listing context Join on the stable identifier and verified listing metadata Mapping correction plus affected-result review

Repair the cause before rebuilding results

For a suspicious coupon value, inspect the original source row. A genuine zero-coupon instrument must remain distinguishable from an undisclosed coupon. Correct the parser first, then identify every stored record and screening output affected by the mistaken conversion.

For a changed fund verdict, compare constituent inputs before assuming a holdings change. Our fund assessments are recomputed nightly after the stock screening they depend on, so updated company evidence can alter a result even when the portfolio basket hasn't changed.

The stock screener API integration guide provides related context for reviewing the underlying company assessments. Keep the constituent evaluation reference with the fund calculation so reviewers can separate portfolio changes from financial-input changes.

Preserve the difference between venue and domicile

Don't use one country field for every purpose. In our records, listing_country identifies fund domicile, while the ticker suffix identifies where it trades. Apply that documented meaning rather than guessing from the field name.

When fixing a bad match, quarantine the affected calculation and rerun it only after confirming the instrument identity. Replacing the ticker in a completed result without notice makes the audit trail misleading.

Audit safeguard: Store the methodology, coverage, and portfolio snapshot together, plus the constituent assessment version where available. That makes a changed answer explainable.

Quick Reference Checklist for Every Holdings Pull

Run these checks before marking a refresh ready for downstream use. Each item should produce a stored result or an explicit exception, not just a successful log message.

  • Validate the portfolio date. Confirm that the snapshot meets your expected business calendar and age policy. [Freshness, Provenance and Snapshot Age]
  • Confirm clean pagination. Verify the terminal page condition, check for repeated cursors, and ensure the pull didn't stop after a retry failure. [Retrieving Constituents and Weights Step by Step]
  • Reconcile the basket. Review the weight residual by asset category without manufacturing missing positions or rescaling unexplained gaps away. [The Holdings Fields You Need and What Each Means]
  • Inspect missing values. Require a reason for unavailable fields and keep reported values separate from derived values. [The Holdings Fields You Need and What Each Means]
  • Gate the displayed verdict. Apply the coverage policy and preserve an unrated result when the available evidence can't support a conclusion. [Interpreting Screening Verdicts and Coverage]
  • Save decision provenance. Attach the methodology, portfolio snapshot, retrieval time, and constituent assessment references to the stored result. [Common Integration Problems and How to Fix Them]
  • Review meaningful changes. Compare the new result with the previous accepted version and classify the cause before notifying users. [Common Integration Problems and How to Fix Them]

Make publication an explicit action

Keep downloaded, validated, and published states separate. A completed download should enter a validation queue; only an accepted snapshot should replace the dataset your application serves.

Arch's guide to connecting apps through API integration offers context for the surrounding application workflow. For holdings, define the publication gate as carefully as the connection itself, including what happens when validation fails.

If a reviewer can't tell when the portfolio was true, which methodology produced the verdict, and how much fund weight was assessed, the refresh isn't complete. Retain the last accepted snapshot with a visible age warning rather than publishing an incomplete replacement without notice.

Confirm Your Holdings Pipeline Before You Build

Don't commit to a production pipeline until a representative sample pull passes. Decide which sources are acceptable, which fields you'll retain, and what evidence will qualify the integration for release. Include failure cases in that decision, not just a successful fund response.

Choose sample instruments from your own intended coverage across US, UK, and Canadian listings. For each fund, compare identifiers, positions, weights, portfolio dates, and missing-value treatment against its issuer file. For constituent screening, verify that supporting company evidence belongs to the intended security and financial period.

Use the interface as an inspection aid, not a replacement for checking the returned records.

Screenshot from https://b2b.akinda.io

Set acceptance conditions before selecting a provider

Require reproducible retrieval of a fixed snapshot, explainable reconciliation, and coverage beside every fund assessment. Test an interrupted download, an unavailable field, and an unrated fund so your application doesn't turn exceptional responses into successful-looking results.

If you're evaluating our API, we provide five stock endpoints and six ETF endpoints, all REST over HTTPS and returning JSON. ETF endpoints and fund comparison are available on Business Ultimate and Business Enterprise plans. Review the endpoint documentation and plan allowances against your expected refresh and retry workload before committing.

Run the sample pull this week and record a pass or a specific unresolved issue for each acceptance condition. Build production ingestion around the fields you've verified, and keep unsupported assumptions out of the contract.


Akinda provides holdings-based Shariah screening with constituent assessments and coverage alongside fund verdicts. Visit Akinda to review the integration resources and evaluate a sample of your intended funds before choosing your production workflow.