Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Financial Datasets ETF and Index Fund Holdings

API-Dokumentation
https://api.sandbase.ai/v1/api/financial-datasets/index-funds

Holdings of an ETF or index fund by ticker, with fund name, asset class, net assets and each holding's weight.

Preis
$0.02USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 0 optional

Playground

Eingabe
ETF or index fund ticker, e.g. `SPY`.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

Financial Datasets ETF and Index Fund Holdings API

Returns the holdings of an ETF or index fund, plus fund-level details such as name, asset class and total net assets. The only input is the fund ticker, for example SPY.

Use cases

  • Show the top holdings and weights of SPY in a portfolio dashboard.
  • Check how much of a fund sits in a single stock such as AAPL or NVDA.
  • Compare the make-up of two index funds by pulling both and matching holdings by ticker.
  • Estimate the dollar exposure to a company through a fund using each holding's market_value.

Request

curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/index-funds" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ticker": "SPY"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
tickerstringYesETF or index fund ticker, e.g. SPY.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "fund": {
    "as_of": "2026-10-30",
    "asset_class": "equity",
    "cik": "884394",
    "filing_date": "2026-10-30",
    "name": "State Street SPDR S&P 500 ETF",
    "offset": 0,
    "returned": 10,
    "source": "ssga",
    "total_holdings": 505,
    "total_net_assets": 796865210000.0
  },
  "holdings": [
    {
      "asset_class": "equity",
      "market_value": 61347943176.19,
      "name": "APPLE INC",
      "shares": 179157845.0,
      "ticker": "AAPL",
      "weight": 7.69866
    }
  ],
  "next_page_url": "https://api.financialdatasets.ai/index-funds?cursor=14PYl6nE1XOPv6nAM5DGqeHPMLv3…",
  "ticker": "SPY"
}

Response fields

FieldMeaning
fund.nameFull name of the fund.
fund.asset_classMain asset class of the fund, for example equity.
fund.total_net_assetsTotal net assets of the fund as a number.
fund.as_of / fund.filing_dateDates tied to the holdings data. as_of is the date of the data and filing_date is the filing date. Both use YYYY-MM-DD.
fund.total_holdings / fund.returned / fund.offsetTotal number of holdings in the fund, how many came back in this response, and the starting position of this page.
holdings[].ticker / holdings[].nameTicker symbol and name of each holding.
holdings[].weightWeight of the holding in the fund. 7.69866 for AAPL appears to be a percentage value.
holdings[].market_value / holdings[].sharesValue of the position and the number of shares held.
holdings[].asset_classAsset class of the individual holding.
next_page_urlFull URL for the next page of holdings. It contains a cursor value.

Notes

Pricing

$0.02 per successful call. Failed calls are not charged.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Financial Datasets$0.02 pro AufrufJSON
Financial Datasets$0.02 pro AufrufJSON
Financial Datasets$0.02 pro AufrufJSON
Financial Datasets$0.02 pro AufrufJSON
Financial Datasets$0.02 pro AufrufJSON
Financial Datasets$0.02 pro AufrufJSON

Fragen

FAQ

Wie verwende ich die Financial Datasets ETF and Index Fund Holdings API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/financial-datasets/index-funds mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Financial Datasets ETF and Index Fund Holdings API?

$0.02 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Financial Datasets ETF and Index Fund Holdings API?

Erforderlich: ticker (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Financial Datasets ETF and Index Fund Holdings API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Financial Datasets-Entwicklerkonto oder einen API-Schlüssel?

Nein. Financial Datasets ETF and Index Fund Holdings läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Financial Datasets API beantragen.