# Extract Vanguard & BlackRock S&P 500 ETF Fund Holdings

**Use case:** 

Access detailed portfolio data for Vanguard and BlackRock S&P 500 ETFs. This task extracts precise stock and bond positions, including CUSIPs, ISINs, exact share counts, USD market values, and net asset weight percentages. Gain insights into ETF holdings directly from official SEC filings in clean JSON or CSV formats.

## Input

```json
{
  "searchQueries": [
    "Vanguard"
  ],
  "maxHoldingsPerFund": 25,
  "maxTotalResults": 50
}
```

## Output

```json
{
  "fundOrTrustName": {
    "label": "fundOrTrustName",
    "format": "string"
  },
  "seriesName": {
    "label": "seriesName",
    "format": "string"
  },
  "filingDate": {
    "label": "filingDate",
    "format": "string"
  },
  "issuerName": {
    "label": "issuerName",
    "format": "string"
  },
  "titleOfSecurity": {
    "label": "titleOfSecurity",
    "format": "string"
  },
  "cusip": {
    "label": "cusip",
    "format": "string"
  },
  "isin": {
    "label": "isin",
    "format": "string"
  },
  "balanceSharesOrPrincipal": {
    "label": "balanceSharesOrPrincipal",
    "format": "string"
  },
  "valueUsd": {
    "label": "Value usd"
  },
  "pctOfNetAssets": {
    "label": "Pct of net assets"
  },
  "assetCategory": {
    "label": "Asset category"
  },
  "rawXmlUrl": {
    "label": "Raw xml url"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The SEC Form N-PORT Mutual Fund & ETF Portfolio Holdings API Actor is ready to run with the inputs already set for "Extract Vanguard & BlackRock S&P 500 ETF Fund Holdings". [Sign up or log in](https://console.apify.com/create-task-from-example/Xs5F3yDOl4THx6UCx) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Extract Vanguard & BlackRock S&P 500 ETF Fund Holdings" task

The SEC Form N-PORT Mutual Fund & ETF Portfolio Holdings API Actor will start running based on the input automatically. You can also change all the input fields, like fund names, keywords, or stocks held (e.g., vanguard, fidelity, blackrock, semiconductor, nvidia), max portfolio holdings per fund filing, and more, to match your specific use case.

### 3. Receive the "Extract Vanguard & BlackRock S&P 500 ETF Fund Holdings" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as fundortrustname, seriesname, filingdate, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Extract Vanguard & BlackRock S&P 500 ETF Fund Holdings" task via API](https://apify.com/mehdad-datalabs/sec-nport-etf-mutual-fund-holdings-xml-scraper.md).

## FAQ

### What data fields are included in the extracted portfolio information?

The Extract Vanguard & BlackRock S&P 500 ETF Fund Holdings task includes fields such as fund name, series name, filing date, issuer name, title of security, CUSIP, ISIN, share balance, USD value, percentage of net assets, and asset category.

### How can I use the output from this task?

The output from this task is available in clean JSON or CSV formats, making it suitable for data analysis, integration into workflows, or automation using tools like n8n.

### Can I schedule this task to run automatically?

This task supports scheduling to run automatically in the Apify Console, allowing for regular updates of portfolio data.

### What types of securities does this task extract data for?

This task extracts data for stocks, bonds, and derivatives as detailed in SEC Form N-PORT filings.

## About this Actor

This example demonstrates how to use [SEC Form N-PORT Mutual Fund & ETF Portfolio Holdings API](https://apify.com/mehdad-datalabs/sec-nport-etf-mutual-fund-holdings-xml-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/mehdad-datalabs/sec-nport-etf-mutual-fund-holdings-xml-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/mehdad-datalabs/sec-nport-etf-mutual-fund-holdings-xml-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
