# Alpaca API: questions and answers

Independent and unofficial. Not affiliated with or endorsed by any broker or platform named here. Educational only: nothing here is advice, and nothing here recommends a broker or a trade.

This is the markdown version of https://openbrokerapi.com/answers/alpaca, written from the same records as that page.

Risk warning: CFDs and spread bets are complex instruments and come with a high risk of losing money rapidly due to leverage. You can lose money on these products, and each provider publishes its own loss figure under FCA rules. You should consider whether you understand how they work and whether you can afford to take the high risk of losing your money. Automated and API trading can amplify losses through bugs, connectivity failures and runaway orders.

7 questions about the Alpaca API, each answered from the Alpaca record on this site (https://openbrokerapi.com/brokers/alpaca) and nothing else. 1 of the answers rests on a record labelled unverified.

- Newest check: 2026-11-30
- Official documentation: [docs.alpaca.markets](https://docs.alpaca.markets/)

An answer here is the record's own wording, cut at the end of a sentence, or a list of names read from records. An answer that opens with the word Unverified has no dated source behind it. Where this page and the provider's own documentation differ, the documentation wins. Nothing here recommends a broker.

## Alpaca API questions

### Does Alpaca have an API?

Unverified. Yes. This register records Alpaca as having its own API (REST (Trading API v2), REST (Market Data API) and WebSocket streaming), with availability marked as active. US stock, ETF, options and crypto broker, not CFDs or FX: REST Trading API and Market Data API with WebSocket streams, paper trading on its own host. No source is recorded against this entry.

- Status: unverified. No source opened.

- [The Alpaca API record](https://openbrokerapi.com/brokers/alpaca)

### Does Alpaca have a demo or paper trading API?

Yes: paper trading, a real time simulation on its own host, https://paper-api.alpaca.markets, with its own API keys. New paper accounts start with 100,000 US dollars by default; the dashboard can open and delete paper accounts.

- Status: verified. Source: [Alpaca docs: Paper Trading](https://docs.alpaca.markets/us/docs/paper-trading.md), checked 2026-11-30.

- [The Alpaca record's full wording](https://openbrokerapi.com/brokers/alpaca#access)

### What are Alpaca's API rate limits?

The limits register holds 10 limit records for the Alpaca API, each with its own scope: client_order_id length, Crypto order size, Market data historical API, Basic plan, Market data points per page, Market data historical API, Algo Trader Plus, GTC order age, Trading API request rate, Market data WebSocket authentication timeout, Market data WebSocket connections and Market data WebSocket symbols, Basic plan.

- Status: verified. Source: [docs.alpaca.markets](https://docs.alpaca.markets/openapi/trading-api.json), checked 2026-11-30.
- Status: verified. Source: [docs.alpaca.markets](https://docs.alpaca.markets/us/docs/crypto-trading.md), checked 2026-11-30.
- Status: verified. Source: [docs.alpaca.markets](https://docs.alpaca.markets/us/docs/about-market-data-api.md), checked 2026-11-30.
- Status: verified. Source: [docs.alpaca.markets](https://docs.alpaca.markets/openapi/market-data-api.json), checked 2026-11-30.
- Status: verified. Source: [docs.alpaca.markets](https://docs.alpaca.markets/us/docs/orders-at-alpaca.md), checked 2026-11-30.
- Status: verified. Source: [docs.alpaca.markets](https://docs.alpaca.markets/us/docs/streaming-market-data.md), checked 2026-11-30.

- [Alpaca API rate limits in full, each with its scope](https://openbrokerapi.com/brokers/alpaca/rate-limits)

### How do I authenticate with the Alpaca API?

Two headers on every request, APCA-API-KEY-ID and APCA-API-SECRET-KEY, or HTTP Basic with the key id as the user name and the secret as the password. Live and paper credentials are separate and neither works on the other host.

- Status: verified. Source: [Alpaca docs: Authentication](https://docs.alpaca.markets/us/docs/authentication.md), checked 2026-11-30.

- [The Alpaca record's full wording](https://openbrokerapi.com/brokers/alpaca#access)

### Does Alpaca support streaming or WebSocket prices?

Two WebSocket streams.

- Status: verified. Source: [Alpaca docs: Websocket Streaming](https://docs.alpaca.markets/us/docs/websocket-streaming.md), checked 2026-11-30.
- Status: verified. Source: [Alpaca docs: WebSocket Stream (market data)](https://docs.alpaca.markets/us/docs/streaming-market-data.md), checked 2026-11-30.
- Status: verified. Source: [Alpaca docs: Real-time Stock Data](https://docs.alpaca.markets/us/docs/real-time-stock-pricing-data.md), checked 2026-11-30.
- Status: verified. Source: [Alpaca docs: Real-time Crypto Data](https://docs.alpaca.markets/us/docs/real-time-crypto-pricing-data.md), checked 2026-11-30.

- [The Alpaca record's full wording](https://openbrokerapi.com/brokers/alpaca#access)

### Is there an official Python library for Alpaca?

The Alpaca record marks one Python library as official: alpaca-py.

- Status: verified. Source: [alpaca-py](https://docs.alpaca.markets/us/docs/sdks-and-tools.md), checked 2026-11-30.

- [Every library in the Alpaca record](https://openbrokerapi.com/brokers/alpaca#sdks)

### What does Alpaca error rejected mean?

An event on the trade_updates stream: the order was rejected. The page lists it among the less common events and gives it a timestamp field.

- Status: verified. Source: [docs.alpaca.markets](https://docs.alpaca.markets/us/docs/websocket-streaming.md), checked 2026-11-30.

- [Alpaca error rejected: the meaning in full and what to do](https://openbrokerapi.com/errors/alpaca/stream-rejected)

## Not recorded here

The Alpaca record cannot answer these questions yet, so they are not asked above. That is a gap in this dataset. It says nothing either way about Alpaca.

- [Does Alpaca have an MCP server?](https://openbrokerapi.com/answers/mcp-server) (not recorded here)

## Where to go next

- [The Alpaca API record in full: every field with its source](https://openbrokerapi.com/brokers/alpaca)
- [Answers for every broker and platform API](https://openbrokerapi.com/answers)
- [Which retail brokers have a public trading API?](https://openbrokerapi.com/answers/has-an-api)
- [Which broker APIs have a demo environment?](https://openbrokerapi.com/answers/demo-api)
- [What are the rate limits of each broker API?](https://openbrokerapi.com/answers/rate-limits)
- [How does each broker API authenticate?](https://openbrokerapi.com/answers/authentication)
- [Which broker APIs stream prices?](https://openbrokerapi.com/answers/streaming)
- [Which broker APIs have an official Python library?](https://openbrokerapi.com/answers/python-library)
- [Which broker APIs have an MCP server?](https://openbrokerapi.com/answers/mcp-server)
- [What does each API's most referenced error mean?](https://openbrokerapi.com/answers/error-codes)
- [Axi API: questions and answers](https://openbrokerapi.com/answers/axi)
- [Bitget API: questions and answers](https://openbrokerapi.com/answers/bitget)
- [Capital.com API: questions and answers](https://openbrokerapi.com/answers/capital-com)
- [CMC Markets API: questions and answers](https://openbrokerapi.com/answers/cmc-markets)
- [Deriv API: questions and answers](https://openbrokerapi.com/answers/deriv)
- [Dukascopy API: questions and answers](https://openbrokerapi.com/answers/dukascopy)
- [eToro API: questions and answers](https://openbrokerapi.com/answers/etoro)
- [Exness API: questions and answers](https://openbrokerapi.com/answers/exness)
- [FOREX.com API: questions and answers](https://openbrokerapi.com/answers/forex-com-city-index)
- [FXCM API: questions and answers](https://openbrokerapi.com/answers/fxcm)
- [FxPro API: questions and answers](https://openbrokerapi.com/answers/fxpro)
- [IG API: questions and answers](https://openbrokerapi.com/answers/ig)
- [Interactive Brokers API: questions and answers](https://openbrokerapi.com/answers/ibkr)
- [OANDA API: questions and answers](https://openbrokerapi.com/answers/oanda)
- [Pepperstone API: questions and answers](https://openbrokerapi.com/answers/pepperstone)
- [Saxo API: questions and answers](https://openbrokerapi.com/answers/saxo)
- [Swissquote API: questions and answers](https://openbrokerapi.com/answers/swissquote)
- [ThinkMarkets API: questions and answers](https://openbrokerapi.com/answers/thinkmarkets)
- [Tickmill API: questions and answers](https://openbrokerapi.com/answers/tickmill)
- [Trading 212 API: questions and answers](https://openbrokerapi.com/answers/trading-212)
- [XTB API: questions and answers](https://openbrokerapi.com/answers/xtb)

## Licence and how to cite

The records behind this page are all rights reserved. This file is the page itself, at its own address, in another format. It is not part of the CC BY 4.0 downloads listed at https://openbrokerapi.com/data. Quote from it with a link to the page.

Cite as: Alpaca API: questions and answers. Broker API Hub, https://openbrokerapi.com/answers/alpaca, newest check 2026-11-30.

Where you rely on a single figure, cite the source and the checked date printed beside it as well. Where this page and a broker's own documentation differ, the documentation wins.
