Skip to content

Schwab ETFs

Schwab ETF lineup key facts and current fund holdings as SQL tables

Connector software
Free and open source
Service credentials
Not needed
Query Farm hosting
Not available yet
Use with an agent

Install the Orchard skill in your project to help your agent find connectors, configure them, and verify SQL results.

npx skills add Query-farm/vgi-skills --skill orchard

Copy this request into your coding agent to get started.

Use https://query.farm/products/orchard/connectors/etf-schwab/index.md to help me query Schwab ETFs with DuckDB or Haybarn 2.0.1 and VGI protocol 3.4. Ask only for missing details about the result I need or whether I want local execution, self-hosting or Query Farm hosting. Check the connector's actual hosting availability, credentials and input requirements. Read one format of each needed reference and the exact object declarations before writing SQL. Use a released connector, and distinguish a saved example result from anything you actually execute. If you cannot run the query, tell me what remains to verify.

Top holdings of SCHD

Example output · captured
Connector release
v0.5.0
Engine
2.0.1
VGI protocol
3.4.0
SELECT name, ticker, weight_percent
FROM schwab.main.holdings
WHERE fund_ticker = 'SCHD'
ORDER BY weight_percent DESC
LIMIT 10
Result · first 5 rows
name ticker weight_percent
PROCTER & GAMBLE PG 4.58
HOME DEPOT HD 4.45
TEXAS INSTRUMENT TXN 4.33
COCA-COLA KO 4.32
AMGEN INC AMGN 4.19

Quick start

Choose where to run Schwab ETFs, then follow the steps below.

The connector runs alongside DuckDB or Haybarn. No Query Farm account is needed.

1. Install the vgi extension

Run this in your SQL client. On DuckDB, keep FROM query_farm on LOAD in later sessions.

setup.sql
SET allow_extension_repositories = 'allowed';

CREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm
    WITH PREFIX 'https://duckdb-extensions.query.farm';

INSTALL vgi FROM query_farm;
LOAD vgi FROM query_farm;

2. Attach the connector

Attach with uvx

Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.

ATTACH 'schwab' AS schwab (
  TYPE vgi,
  LOCATION 'uvx --from git+https://github.com/Query-farm/[email protected] vgi-etf-schwab-worker'
);

3. Run a query

query.sql
SELECT name, ticker, weight_percent
FROM schwab.main.holdings
WHERE fund_ticker = 'SCHD'
ORDER BY weight_percent DESC
LIMIT 10
More example queries →
Technical details
Verified connector release
v0.5.0
Engine
2.0.1
VGI protocol
3.4.0
Verified on
December 1, 2026
Release notes on GitHub
Pin a version for production

When running the connector yourself, keep a specific release until you’re ready to upgrade. Replace the ATTACH statement above with this one and follow the same extension and credential setup.

Attach with uvx

Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.

ATTACH 'schwab' AS schwab (
  TYPE vgi,
  LOCATION 'uvx --from git+https://github.com/Query-farm/[email protected] vgi-etf-schwab-worker'
);

Overview

Schwab Asset Management US ETF data as DuckDB tables: products (catalog) & holdings (ticker-partitioned, current holdings) — vgi-etf-schwab

Catalog

Everything schwab exposes once attached — read straight from the worker's released build.

schwab 1 schema
main 2 tables · 1 function

Schwab fund data: the ETF catalog and detailed current holdings.

Schema examples (5)
Examples (5)

Ten largest Schwab ETFs by net assets

SELECT ticker, fund_name, net_assets
FROM schwab.main.products
ORDER BY net_assets DESC
LIMIT 10;

Top holdings of SCHD

SELECT name, ticker, weight_percent
FROM schwab.main.holdings
WHERE fund_ticker = 'SCHD'
ORDER BY weight_percent DESC
LIMIT 10;
Result · first 5 rows
name ticker weight_percent
PROCTER & GAMBLE PG 4.58
HOME DEPOT HD 4.45
TEXAS INSTRUMENT TXN 4.33
COCA-COLA KO 4.32
AMGEN INC AMGN 4.19

Concentration vs cost: the share of each large-cap fund's assets in its 10 largest positions, beside its position count and expense ratio from the catalog

WITH ranked AS (SELECT fund_ticker, weight_percent, row_number() OVER (PARTITION BY fund_ticker ORDER BY weight_percent DESC) AS rn FROM schwab.main.holdings WHERE fund_ticker IN ('SCHD', 'SCHG', 'SCHV', 'SCHX')) SELECT p.ticker, p.fund_name, p.expense_ratio_percent, count(*) AS num_positions, round(sum(r.weight_percent) FILTER (WHERE r.rn <= 10), 2) AS top10_weight_percent
FROM ranked r
JOIN schwab.main.products p ON p.ticker = r.fund_ticker
GROUP BY ALL
ORDER BY top10_weight_percent DESC;

Fund overlap: how many of the growth ETF SCHG's positions the broad large-cap ETF SCHX also holds, and the overlapping weight (sum of the smaller of the two weights per shared CUSIP)

SELECT count(*) AS shared_positions,
  round(sum(least(g.weight_percent, x.weight_percent)), 2) AS overlap_weight_percent
FROM schwab.main.holdings g
JOIN schwab.main.holdings x ON g.cusip = x.cusip
WHERE g.fund_ticker = 'SCHG' AND x.fund_ticker = 'SCHX' AND g.cusip <> '';
1 more example

Look-through exposure: the 10 stocks SCHD, SCHG, SCHV and SCHX together hold the most dollars of, estimated as each fund's net assets times the holding's weight

SELECT h.ticker, any_value(h.name) AS name, count(*) AS funds,
  round(sum(p.net_assets * h.weight_percent / 100) / 1e9, 2) AS est_value_usd_bn
FROM schwab.main.holdings h
JOIN schwab.main.products p ON p.ticker = h.fund_ticker
WHERE h.fund_ticker IN ('SCHD', 'SCHG', 'SCHV', 'SCHX') AND h.ticker <> ''
GROUP BY h.ticker
ORDER BY est_value_usd_bn DESC
LIMIT 10;
Tables
holdings 7 examples8 cols

Detailed current fund holdings, hive-partitioned by fund_ticker (filter WHERE fund_ticker = … for one fund, or scan unfiltered for all). Schwab publishes current holdings only (no historical dates).

Columns
fund_tickernot null VARCHAR
The fund's ticker (e.g. SCHD) — the hive partition key; constant for every row of a fund. Filter on it to pick funds; omit to stream all.
as_of_date DATE
Holdings as-of date (the published page's own date; current holdings only).
weight_percent DOUBLE
Percent of the fund's assets, in percent points (4.49 = 4.49%; weights sum to ~100).
ticker VARCHAR
Constituent ticker / symbol (blank for cash and derivative lines).
name VARCHAR
Constituent / issue name.
cusipnot null VARCHAR
Constituent CUSIP identifier (empty string for cash / derivative lines that have none).
quantity DOUBLE
Number of shares / units / par held.
market_value DOUBLE
Market value of the position, in USD. Schwab shows this abbreviated (e.g. '$4.4B'), so it is approximate.
Examples (7)

Top 10 current holdings of SCHD

SELECT name, ticker, weight_percent
FROM schwab.main.holdings
WHERE fund_ticker = 'SCHD'
ORDER BY weight_percent DESC
LIMIT 10;
Result · first 5 rows
name ticker weight_percent
PROCTER & GAMBLE PG 4.58
HOME DEPOT HD 4.45
TEXAS INSTRUMENT TXN 4.33
COCA-COLA KO 4.32
AMGEN INC AMGN 4.19

Concentration vs cost: the share of each large-cap fund's assets in its 10 largest positions, beside its position count and expense ratio from the catalog

WITH ranked AS (SELECT fund_ticker, weight_percent, row_number() OVER (PARTITION BY fund_ticker ORDER BY weight_percent DESC) AS rn FROM schwab.main.holdings WHERE fund_ticker IN ('SCHD', 'SCHG', 'SCHV', 'SCHX')) SELECT p.ticker, p.fund_name, p.expense_ratio_percent, count(*) AS num_positions, round(sum(r.weight_percent) FILTER (WHERE r.rn <= 10), 2) AS top10_weight_percent
FROM ranked r
JOIN schwab.main.products p ON p.ticker = r.fund_ticker
GROUP BY ALL
ORDER BY top10_weight_percent DESC;

Fund overlap: how many of the growth ETF SCHG's positions the broad large-cap ETF SCHX also holds, and the overlapping weight (sum of the smaller of the two weights per shared CUSIP)

SELECT count(*) AS shared_positions,
  round(sum(least(g.weight_percent, x.weight_percent)), 2) AS overlap_weight_percent
FROM schwab.main.holdings g
JOIN schwab.main.holdings x ON g.cusip = x.cusip
WHERE g.fund_ticker = 'SCHG' AND x.fund_ticker = 'SCHX' AND g.cusip <> '';
4 more examples

Look-through exposure: the 10 stocks SCHD, SCHG, SCHV and SCHX together hold the most dollars of, estimated as each fund's net assets times the holding's weight

SELECT h.ticker, any_value(h.name) AS name, count(*) AS funds,
  round(sum(p.net_assets * h.weight_percent / 100) / 1e9, 2) AS est_value_usd_bn
FROM schwab.main.holdings h
JOIN schwab.main.products p ON p.ticker = h.fund_ticker
WHERE h.fund_ticker IN ('SCHD', 'SCHG', 'SCHV', 'SCHX') AND h.ticker <> ''
GROUP BY h.ticker
ORDER BY est_value_usd_bn DESC
LIMIT 10;

The largest positions of the International Equity ETF

SELECT name, weight_percent, market_value
FROM schwab.main.holdings
WHERE fund_ticker = 'SCHF'
ORDER BY weight_percent DESC
LIMIT 10;

Two funds at once (partition fan-out)

SELECT fund_ticker, name, weight_percent
FROM schwab.main.holdings
WHERE fund_ticker IN ('SCHD', 'SCHF');

Join holdings to the catalog for fund-level facts (name + expense ratio)

SELECT p.fund_name, p.expense_ratio_percent, h.name, h.weight_percent
FROM schwab.main.holdings h
JOIN schwab.main.products p ON h.fund_ticker = p.ticker
WHERE h.fund_ticker = 'SCHD'
ORDER BY h.weight_percent DESC
LIMIT 10;
Link
products 3 examples15 cols

Every Schwab US ETF with its key facts, one row per fund. Query directly (no arguments) and filter with WHERE; percent columns are in percent points.

Columns
ticker VARCHAR
Exchange ticker (e.g. SCHD).
fund_name VARCHAR
Full fund name as marketed, e.g. 'Schwab U.S. Dividend Equity ETF'.
index_name VARCHAR
Name of the index the fund tracks (e.g. 'Dow Jones U.S. Dividend 100 Index').
morningstar_category VARCHAR
Morningstar category (e.g. 'Large Value').
management_style VARCHAR
Management style — typically 'Passive' for Schwab's index ETFs.
exchange VARCHAR
Listing exchange (e.g. 'NYSE Arca, Inc.').
cusip VARCHAR
The fund's CUSIP identifier.
inception_date DATE
Fund inception date.
as_of_date DATE
As-of date for the point-in-time fields (net_assets, nav).
net_assets DOUBLE
Total net assets (fund AUM), in USD.
nav DOUBLE
Net asset value per share, in USD.
expense_ratio_percent DOUBLE
Total (net) expense ratio, in percent points (0.06 = 0.06%).
portfolio_turnover_percent DOUBLE
Annual portfolio turnover rate, in percent points.
shares_outstanding BIGINT
Count of fund shares currently in issue (as of as_of_date).
num_holdings BIGINT
Number of holdings in the fund.
ConstraintsPRIMARY KEY (ticker)
Examples (3)

Ten largest Schwab ETFs by net assets

SELECT ticker, fund_name, net_assets
FROM schwab.main.products
ORDER BY net_assets DESC
LIMIT 10;

Cheapest funds by expense ratio

SELECT ticker, fund_name, expense_ratio_percent
FROM schwab.main.products
ORDER BY expense_ratio_percent
LIMIT 10;

Look up a single fund by ticker

SELECT ticker, fund_name, expense_ratio_percent
FROM schwab.main.products
WHERE ticker = 'SCHD';
Link
Table functions
holdings_scan (fund_ticker := VARCHAR) 3 examples

Backing scan for the holdings table — prefer the holdings table. Detailed fund holdings, hive-partitioned by fund_ticker. Pass a fund's ticker as the fund_ticker argument (holdings_scan(fund_ticker => 'SCHD')) for one fund, or omit it and filter WHERE fund_ticker = 'SCHD' (or IN (…)) so the filter is pushed down; with neither it streams every fund. weight_percent is in percent points; Schwab publishes current holdings only.

Named arguments
fund_ticker := VARCHAR
One fund's exchange ticker (e.g. SCHD) to fetch a single fund; omit to stream every Schwab ETF. Any current Schwab ETF ticker works — not a fixed vocabulary. · default null
Returns columns
fund_ticker VARCHAR
The fund's ticker — the partition filter.
as_of_date DATE
The holdings as-of date (the published page's own date).
weight_percent DOUBLE
Percent of the fund's assets, in percent points (4.49 = 4.49%).
ticker VARCHAR
Constituent ticker / symbol (blank for cash and derivative lines).
name VARCHAR
Constituent / issue name.
cusip VARCHAR
Constituent CUSIP (empty string for cash / derivative lines that have none).
quantity DOUBLE
Number of shares / units / par held.
market_value DOUBLE
Market value of the position, in USD (abbreviated on the page, so approximate).
Examples (3)

Top 10 holdings of SCHD, passing the fund ticker as the argument

SELECT name, weight_percent
FROM schwab.main.holdings_scan(fund_ticker => 'SCHD')
ORDER BY weight_percent DESC
LIMIT 10;

Same, via a pushed-down fund_ticker filter (no argument)

SELECT name, weight_percent
FROM schwab.main.holdings_scan()
WHERE fund_ticker = 'SCHD'
ORDER BY weight_percent DESC
LIMIT 10;

Two partitions at once (fan-out)

SELECT fund_ticker, count(*)
FROM schwab.main.holdings_scan()
WHERE fund_ticker IN ('SCHD', 'SCHF')
GROUP BY fund_ticker;
Link

Try these queries

largest_etfs — The largest Schwab ETFs by net assets

SELECT ticker, fund_name, net_assets
FROM schwab.main.products
ORDER BY net_assets DESC
LIMIT 5;

Uses products

top_holdings — The top holdings of the Schwab U.S. Dividend Equity ETF

SELECT name, ticker, weight_percent
FROM schwab.main.holdings
WHERE fund_ticker = 'SCHD'
ORDER BY weight_percent DESC
LIMIT 5;

Uses holdings

Ten largest Schwab ETFs by net assets

SELECT ticker, fund_name, net_assets
FROM schwab.main.products
ORDER BY net_assets DESC
LIMIT 10

Uses products

Concentration vs cost: the share of each large-cap fund's assets in its 10 largest positions, beside its position count and expense ratio from the catalog

WITH ranked AS (SELECT fund_ticker, weight_percent, row_number() OVER (PARTITION BY fund_ticker ORDER BY weight_percent DESC) AS rn FROM schwab.main.holdings WHERE fund_ticker IN ('SCHD', 'SCHG', 'SCHV', 'SCHX')) SELECT p.ticker, p.fund_name, p.expense_ratio_percent, count(*) AS num_positions, round(sum(r.weight_percent) FILTER (WHERE r.rn <= 10), 2) AS top10_weight_percent
FROM ranked r
JOIN schwab.main.products p ON p.ticker = r.fund_ticker
GROUP BY ALL
ORDER BY top10_weight_percent DESC

Uses holdingsproducts

Fund overlap: how many of the growth ETF SCHG's positions the broad large-cap ETF SCHX also holds, and the overlapping weight (sum of the smaller of the two weights per shared CUSIP)

SELECT count(*) AS shared_positions,
  round(sum(least(g.weight_percent, x.weight_percent)), 2) AS overlap_weight_percent
FROM schwab.main.holdings g
JOIN schwab.main.holdings x ON g.cusip = x.cusip
WHERE g.fund_ticker = 'SCHG' AND x.fund_ticker = 'SCHX' AND g.cusip <> ''

Uses holdings

Top 10 holdings of SCHD, passing the fund ticker as the argument

SELECT name, weight_percent
FROM schwab.main.holdings_scan(fund_ticker => 'SCHD')
ORDER BY weight_percent DESC
LIMIT 10

Uses holdings_scan

8 more examples in the Catalog, each listed under the table or function it uses.

Questions it can answer

Plain-English questions from the worker's agent test tasks. An AI agent with this catalog attached should answer each one with SQL.

  • Does Schwab offer an ETF with the ticker SCHD, and what is it called?
  • What is the expense ratio of the Schwab U.S. Dividend Equity ETF (SCHD)?
  • What is the single largest holding of the Schwab U.S. Dividend Equity ETF (SCHD) right now?
  • Using the holdings backing scan with the fund ticker passed as its argument, list a few SCHD constituents by weight.

Schwab ETFs is an independent open-source connector from Query.Farm. It is not affiliated with, endorsed by or sponsored by the services, projects or organisations it works with. Product names, logos and trademarks belong to their respective owners.