Guide
PlatformStocksETFs No key needed

Vanguard API guide

Vanguard is built for long-term investing and offers no developer access to brokerage accounts.

Last verified · Also known as Vanguard API, Vanguard brokerage API

Quick answer

Vanguard does not provide a trading or market-data API for individual investors. Long-term, buy-and-hold investors rarely need one; if you want to automate a strategy on ETFs (including Vanguard funds), hold them at a broker with an API such as Schwab, Alpaca or Interactive Brokers.

Vanguard API at a glance

Pricing
No public API
Availability
US
Paper trading
Not applicable (data only)
Integration type
No public API
In AlgoGP
Design and backtest in AlgoGP, connect the exported code
Official API
None for individuals
Vanguard ETFs elsewhere
Tradable at any broker with an API

Build a Vanguard strategy with AlgoGP

AlgoGP does not connect to Vanguard natively yet. Vanguard has no supported public trading or data API.

  1. 1

    Design and backtest in AlgoGP

    Describe the strategy to the copilot and backtest it on years of normalized history. The result does not depend on any vendor.

  2. 2

    Export the Python project

    Every project exports strategy.py, market_data.py, brokers.py and live.py. The strategy only sees bars, cash, positions and orders, never a vendor’s wire format.

  3. 3

    Plug in Vanguard

    Implement the four adapter methods (account, positions, submit_market_order and a candle fetcher) with Vanguard’s SDK, or keep a built-in platform for paper trading and add Vanguard when you go live.

Built-in data sources for the same markets: Alpaca, Yahoo Finance, Alpha Vantage, Tradier.

Vanguard API: frequently asked questions

Can I trade Vanguard ETFs with an API?

Yes, at another broker such as Schwab, Alpaca or IBKR.

Automate the strategy you would run on Vanguard

Describe your rules, backtest them on years of stock, crypto or forex data, and export Python for a broker that has a real API.

  • No API key needed to start
  • Built-in Alpaca, Tradier, OANDA, Binance and more
  • Free plan, no card

Free plan, no card required.

Vanguard alternatives

Independent guide. AlgoGP is not affiliated with Vanguard. Limits, prices and availability change; confirm them in the official documentation. Nothing here is investment advice.

Build a strategy