Jump to Content
Alpaca API Docs
HomeDocumentationAPI ReferenceChangelog
Log InTrading DashboardBroker DashboardAlpaca API Docs
API Reference
Log InTrading DashboardBroker Dashboard
HomeDocumentationAPI ReferenceChangelog

Trading API

  • Authentication
  • Accounts
    • Get Accountget
  • Assets
    • Get Assetsget
    • Get an Asset by ID or Symbolget
    • Get Option Contractsget
    • Get an option contract by ID or Symbolget
    • Get US treasuriesget
  • Corporate Actions
    • Retrieve a Specific Announcementget
    • Retrieve Announcementsget
  • Orders
    • Create an Orderpost
    • Get All Ordersget
    • Delete All Ordersdelete
    • Get Order by Client Order IDget
    • Get Order by IDget
    • Replace Order by IDpatch
    • Delete Order by IDdelete
  • Positions
    • All Open Positionsget
    • Close All Positionsdelete
    • Get an Open Positionget
    • Close a Positiondelete
    • Exercise an Options Positionpost
  • Portfolio History
    • Get Account Portfolio Historyget
  • Watchlists
    • Get All Watchlistsget
    • Create Watchlistpost
    • Get Watchlist by IDget
    • Update Watchlist By Idput
    • Add Asset to Watchlistpost
    • Delete Watchlist By Iddelete
    • Get Watchlist by Nameget
    • Update Watchlist By Nameput
    • Add Asset to Watchlist By Namepost
    • Delete Watchlist By Namedelete
    • Delete Symbol from Watchlistdelete
  • Account Configurations
    • Get Account Configurationsget
    • Account Configurationspatch
  • Account Activities
    • Retrieve Account Activitiesget
    • Retrieve Account Activities of Specific Typeget
  • Calendar
    • Get Market Calendar infoget
  • Clock
    • Get Market Clock infoget
  • Crypto Funding
    • Retrieve Crypto Funding Walletsget
    • Retrieve Crypto Funding Transfersget
    • Request a New Withdrawalpost
    • Retrieve a Crypto Funding Transferget
    • An array of whitelisted addressesget
    • Request a new whitelisted addresspost
    • Delete a whitelisted addressdelete
    • Returns the estimated gas fee for a proposed transaction.get

Market Data API

  • Stock
    • Historical auctionsget
    • Historical barsget
    • Latest barsget
    • Condition codesget
    • Exchange codesget
    • Historical quotesget
    • Latest quotesget
    • Snapshotsget
    • Historical tradesget
    • Latest tradesget
    • Historical auctions (single)get
    • Historical bars (single symbol)get
    • Latest bar (single symbol)get
    • Historical quotes (single symbol)get
    • Latest quote (single symbol)get
    • Snapshot (single symbol)get
    • Historical trades (single symbol)get
    • Latest trade (single symbol)get
  • Option
    • Historical barsget
    • Condition codesget
    • Exchange codesget
    • Latest quotesget
    • Snapshotsget
    • Option chainget
    • Historical tradesget
    • Latest tradesget
  • Crypto
    • Historical barsget
    • Latest barsget
    • Latest orderbookget
    • Latest quotesget
    • Latest tradesget
    • Historical quotesget
    • Snapshotsget
    • Historical tradesget
  • Fixed income
    • Latest pricesget
  • Forex
    • Latest rates for currency pairsget
    • Historical rates for currency pairsget
  • Logos
    • Logosget
  • Screener
    • Most active stocksget
    • Top market moversget
  • News
    • News articlesget
  • Corporate actions
    • Corporate actionsget

Broker API

  • Accounts
    • Get All Accountsget
    • Subscribe to Account Status Events (SSE)get
    • Create an Accountpost
    • Upload Owner Documents for an Existing Accountpost
    • Get An Account by IDget
    • Delete a Bank Relationship for an Accountdelete
    • Update an Accountpatch
    • Request options trading for an account (BETA)post
    • Request to Close a Transferdelete
    • Retrieve Account Activitiesget
    • Retrieve Account Activities of Specific Typeget
    • Retrieve ACH Relationships for an accountget
    • Create an ACH Relationshippost
    • Retrieve Trading Details for an Accountget
    • Delete an existing ACH relationshipdelete
    • Get Pattern Day Trader Status for accountget
    • Exercise PDT one time removalpost
    • Close an Accountpost
  • Documents
    • Retrieve a List of Account Documentsget
    • Download an Account Documentget
    • Download the W8BEN document for the primary owner of an accountget
  • Trading
    • List Open Positions for an Accountget
    • Close All Positions for an Accountdelete
    • Get an Open Position for account by Symbol or AssetIdget
    • Close a Position for an Accountdelete
    • Exercise an Options Position (BETA)post
    • Retrieve an Order by its IDget
    • Replace an Orderpatch
    • Cancel an Open Orderdelete
    • Retrieve a List of Ordersget
    • Create an Order for an Accountpost
    • Cancel all Open Orders For an Accountdelete
    • Estimate an Orderpost
    • Bulk Fetch All Accounts Positionsget
    • Get Account Portfolio Historyget
    • Update Trading Configurations for an Accountpatch
    • Retrieve real-time Trading Limits for an Accountget
  • Assets
    • Retrieve All Assetsget
    • Retrieve an Asset by IDget
    • Retrieve Entry Requirements for requested assetsget
    • Get Option Contracts (BETA)get
    • Get an option contract by ID or Symbol (BETA)get
    • Get US treasuriesget
  • Calendar
    • Retrieve the Market Calendarget
  • Events
    • Subscribe to Journal Events (SSE)get
    • Subscribe to Transfer Events (SSE)get
    • Subscribe to Trade Events (SSE) (Legacy)get
    • Subscribe to Trade Events (SSE)get
    • Subscribe to Admin Action Events (SSE)get
    • Subscribe to Non-Trading Activities Events (SSE)get
    • Subscribe to Funding Status Events (SSE)get
  • Funding
    • Retrieve Bank Relationships for an Accountget
    • Create a Bank Relationship for an Accountpost
    • Retrieve List of Transfers for an Account.get
    • Request a New Transferpost
    • Retrieve JIT Reportsget
    • Retrieve Daily Trading Limitsget
    • Retrieve JIT Ledgersget
    • Retrieve JIT Ledger Balancesget
    • List all JIT Settlementsget
    • Create a new JIT settlementpost
    • Get a single JIT settlementget
  • Funding Wallets
    • Create sandbox deposit transferpost
    • Batch create funding walletspost
    • Retrieve funding walletget
    • Creates a funding walletpost
    • Retrieve funding detailsget
    • Retrieve funding wallet transfersget
    • Retrieve recipient bankget
    • Create a recipient bankpost
    • Delete a recipient bankdelete
    • Create a withdrawalpost
  • Instant Funding
    • Get Instant Funding Listget
    • Create an intant funding requestpost
    • Get an instant funding requestget
    • Cancel an instant funding requestdelete
    • List settlementsget
    • Create a new settlementpost
    • Get a single settlementget
    • Get instant funding limitsget
    • Get instant funding account limitsget
    • Get instant funding reportget
  • OAuth
    • Get an OAuth clientget
    • Issue an OAuth tokenpost
    • Authorize an OAuth Tokenpost
  • Clock
    • Retrieve the Market Clockget
  • Journals
    • Retrieve a List Journalsget
    • Subscribe to Journal Events (SSE) (Legacy)get
    • Create a Journalpost
    • Cancel a Pending Journaldelete
    • Retrieve a Single Journal Entryget
    • Create a Batch Journal Transaction (One-to-Many)post
    • Create a Reverse Batch Journal Transaction (Many-to-One)post
  • Corporate Actions
    • Retrieve Announcementsget
    • Retrieve a Specific Announcementget
  • Watchlist
    • Retrieve all Watchlists for an Accountget
    • Create a New Watchlist for an Accountpost
    • Manage watchlistsget
    • Update a Watchlistput
    • Remove a Watchlistdelete
    • Add an Asset to a Watchlistpost
    • Remove a Symbol from a Watchlistdelete
  • KYC
    • Upload CIP informationpost
    • Retrieve CIP informationget
    • Retrieve an Onfido SDK Tokenget
    • Update the Onfido SDK Outcomepatch
  • Rebalancing
    • List Portfoliosget
    • Create Portfoliopost
    • Get Portfolio by IDget
    • Update Portfolio by IDpatch
    • Inactivate Portfolio By IDdelete
    • List All Subscriptionsget
    • Create Subscriptionpost
    • Get Subscription by IDget
    • Unsubscribe Account (Delete Subscription)delete
    • List All Runsget
    • Create Run (Manual rebalancing event)post
    • Get Run by IDget
    • Cancel Run by IDdelete
  • Logos
    • Get Logoget
  • Reporting
    • Retrieve Aggregate Positionsget
    • Retrieve EOD Positionsget
    • Retrieve EOD Cash Interest Detailsget
  • Country Info
    • Retrieve countries informationget
  • Crypto Funding
    • Retrieve Crypto Funding Walletsget
    • Retrieve Crypto Funding Transfersget
    • Request a New Withdrawalpost
    • Retrieve a Crypto Funding Transferget
    • An array of whitelisted addressesget
    • Request a new whitelisted addresspost
    • Delete a whitelisted addressdelete
    • Returns the estimated gas fee for a proposed transaction.get
  • IRA
    • Retrieve Excess Contributionsget
  • Cash Interest
    • List APR Tiersget
  • FPSL Program
    • List FPSL Tiersget
    • List FPSL Loansget

Developers

Docs Slack Forum Support Learn SDKs & Libraries GitHub API Status Security

About Us

Story Blog Contact We're hiring

Disclosures

Disclosure Library Form CRS Form CRS Responses to Conversation Starters Privacy Policy Cookie Policy Terms & Conditions
Twitter LinkedIn Facebook Slack
Submit Feedback
Alpaca http://alpaca.markets/

© 2025 Alpaca Securities LLC All rights reserved.

© 2025 Alpaca Crypto LLC All rights reserved.

© 2025 AlpacaDB, Inc. All rights reserved.

Securities brokerage services are provided by Alpaca Securities LLC ("Alpaca Securities"), member FINRA/SIPC, a wholly-owned subsidiary of AlpacaDB, Inc. Technology and services are offered by AlpacaDB, Inc.

Cryptocurrency services are made available by Alpaca Crypto LLC ("Alpaca Crypto"), a FinCEN registered money services business (NMLS # 2160858), and a wholly-owned subsidiary of AlpacaDB, Inc. Alpaca Crypto is not a member of SIPC or FINRA. Cryptocurrencies are not stocks and your cryptocurrency investments are not protected by either FDIC or SIPC. Please see the Disclosure Library for more information.

This is not an offer, solicitation of an offer, or advice to buy or sell securities or cryptocurrencies, or open a brokerage account or cryptocurrency account in any jurisdiction where Alpaca Securities or Alpaca Crypto respectively, are not registered or licensed, as applicable.

!View Important Disclosures