Jump to Content
Alpaca API Docs
HomeDocumentationAPI ReferenceChangelog
Log InTrading DashboardBroker DashboardAlpaca API Docs
API Reference
Log InTrading DashboardBroker Dashboard
HomeDocumentationAPI ReferenceChangelog
All
Pages
Start typing to search…

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
  • Corporate Actions
    • Retrieve a Specific Announcementget
    • Retrieve Announcementsget
  • Orders
    • Create an Orderpost
    • Get All Ordersget
    • Delete All Ordersdel
    • Get Order by Client Order IDget
    • Get Order by IDget
    • Replace Order by IDpatch
    • Delete Order by IDdel
  • Positions
    • All Open Positionsget
    • Close All Positionsdel
    • Get an Open Positionget
    • Close a Positiondel
    • 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 Iddel
    • Get Watchlist by Nameget
    • Update Watchlist By Nameput
    • Add Asset to Watchlist By Namepost
    • Delete Watchlist By Namedel
    • Delete Symbol from Watchlistdel
  • 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 addressdel
    • Returns the estimated gas fee for a proposed transaction.get
  • Positions
    • Do Not Exercise an Options Positionpost

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

  • Instant Funding
    • Get Instant Funding Listget
    • Create an intant funding requestpost
    • Get an instant funding requestget
    • Cancel an instant funding requestdel
    • List settlementsget
    • Create a new settlementpost
    • Get a single settlementget
    • Get instant funding limitsget
    • Get instant funding account limitsget
    • Get instant funding reportget
  • IRA
    • Retrieve Excess Contributionsget
  • Cash Interest
    • List APR Tiersget
  • FPSL Program
    • List FPSL Tiersget
    • List FPSL Loansget
  • Trading
    • List Open Positions for an Accountget
    • Close All Positions for an Accountdel
    • Get an Open Position for account by Symbol or AssetIdget
    • Close a Position for an Accountdel
    • Exercise an Options Position (BETA)post
    • Do Not Exercise an Options Position (BETA)post
    • Retrieve an Order by its IDget
    • Replace an Orderpatch
    • Cancel an Open Orderdel
    • Retrieve a List of Ordersget
    • Create an Order for an Accountpost
    • Cancel all Open Orders For an Accountdel
    • Estimate an Orderpost
    • Bulk Fetch All Accounts Positionsget
    • Update Trading Configurations for an Accountpatch
    • Retrieve real-time Trading Limits for an Accountget
  • Accounts
    • Get All Accountsget
    • Create an Accountpost
    • Get An Account by IDget
    • Update an Accountpatch
    • Request options trading for an account (BETA)post
    • Retrieve options level approval requests (BETA)get
    • Retrieve Account Activitiesget
    • Retrieve Account Activities of Specific Typeget
    • Retrieve Trading Details for an Accountget
    • Get Pattern Day Trader Status for accountget
    • Exercise PDT one time removalpost
    • Close an Accountpost
  • Documents
    • Retrieve a List of Account Documentsget
    • Upload Owner Documents for an Existing Accountpost
    • Download an Account Documentget
    • Download the W8BEN document for the primary owner of an accountget
  • Funding
    • Retrieve Bank Relationships for an Accountget
    • Create a Bank Relationship for an Accountpost
    • Delete a Bank Relationship for an Accountdel
    • Retrieve List of Transfers for an Account.get
    • Request a New Transferpost
    • Request to Close a Transferdel
    • Retrieve ACH Relationships for an accountget
    • Create an ACH Relationshippost
    • Delete an existing ACH relationshipdel
    • 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 funding wallet transfer by IDget
    • Retrieve recipient bankget
    • Create a recipient bankpost
    • Delete a recipient bankdel
    • Create a withdrawalpost
  • 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
  • Clock
    • Retrieve the Market Clockget
  • Country Info
    • Retrieve countries informationget
  • Events
    • Subscribe to Account Status Events (SSE)get
    • Subscribe to Journal Events (SSE) (Legacy)get
    • Subscribe to Journal Events (SSE)get
    • Subscribe to Transfer Events (SSE) (Legacy)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
  • Journals
    • Retrieve a List Journalsget
    • Create a Journalpost
    • Cancel a Pending Journaldel
    • Retrieve a Single Journal Entryget
    • Create a Batch Journal Transaction (One-to-Many)post
    • Create a Reverse Batch Journal Transaction (Many-to-One)post
  • OAuth
    • Get an OAuth clientget
    • Issue an OAuth tokenpost
    • Authorize an OAuth Tokenpost
  • Watchlist
    • Retrieve all Watchlists for an Accountget
    • Create a New Watchlist for an Accountpost
    • Manage watchlistsget
    • Update a Watchlistput
    • Remove a Watchlistdel
    • Add an Asset to a Watchlistpost
    • Remove a Symbol from a Watchlistdel
  • Corporate Actions
    • Retrieve Announcementsget
    • Retrieve a Specific Announcementget
  • KYC
    • Upload CIP informationpost
    • Retrieve CIP informationget
    • Retrieve an Onfido SDK Tokenget
    • Update the Onfido SDK Outcomepatch
  • Logos
    • Get Logoget
  • Reporting
    • Retrieve Aggregate Positionsget
    • Retrieve EOD Positionsget
    • Retrieve EOD Cash Interest Detailsget
  • Portfolio History
    • Get Account Portfolio Historyget
  • Rebalancing
    • List Portfoliosget
    • Create Portfoliopost
    • Get Portfolio by IDget
    • Update Portfolio by IDpatch
    • Inactivate Portfolio By IDdel
    • List All Subscriptionsget
    • Create Subscriptionpost
    • Get Subscription by IDget
    • Unsubscribe Account (Delete Subscription)del
    • List All Runsget
    • Create Run (Manual rebalancing event)post
    • Get Run by IDget
    • Cancel Run by IDdel
  • 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 addressdel
    • Returns the estimated gas fee for a proposed transaction.get

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.

Options trading is not suitable for all investors due to its inherent high risk, which can potentially result in significant losses. Please read Characteristics and Risks of Standardized Options before investing in options.

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.

Cryptocurrency is highly speculative in nature, involves a high degree of risks, such as volatile market price swings, market manipulation, flash crashes, and cybersecurity risks. Cryptocurrency regulations are continuously evolving, and it is your responsibility to understand and abide by them. Cryptocurrency trading can lead to large, immediate and permanent loss of financial value. You should have appropriate knowledge and experience before engaging in cryptocurrency trading. For additional information, please click here.

!View Important Disclosures