Alpaca API Key and Pricing: Paper vs Live Keys, Free vs $99 Data

Getting an Alpaca API key takes an account and one click. You sign up (a paper-only account needs nothing but an email address), open the dashboard, find the API Keys panel on the right side and generate a key. Alpaca hands you two strings, a key ID and a secret, and shows the secret once. The Trading API itself has no subscription price: Alpaca's disclosure says there are no commission charges for self-directed individual cash brokerage accounts trading US-listed securities through the API, with regulatory fees on top, and an individual account has no minimum. The part with a price tag is market data. The Basic plan is free and shows one exchange; Algo Trader Plus is $99 a month and shows all of them.
This page gives the key steps as Alpaca's own guides give them, what a key can and cannot do, and what each plan includes. Then it measures the thing the pricing table cannot show: how different the free feed looks from the full one. We pulled both for 32 tickers with a Basic-plan key. On the eight most traded names the free feed's last price sat a median 0.01% from the full tape, minute by minute. On the ten thinnest, about half of all minutes (51%) showed a price more than 0.10% away, and the free feed's bid and ask were a median 13.10% apart, against 0.32% on the national quote.
Everything about Alpaca here comes from Alpaca's documentation, its support pages and its September 2026 API key security guide, read on November 19, 2026. Buttons and prices change, so check Alpaca's pages before relying on a detail. For what an order may contain once you have a key, see the Alpaca API order rules.
Alpaca API access in one table
| Paper account | Live account | |
|---|---|---|
| Who can open it | Anyone with an email address. Alpaca: "Anyone globally can create an Alpaca Paper Only Account" | Individuals and business entities, after onboarding with Alpaca Securities LLC |
| Trading API host | paper-api.alpaca.markets | api.alpaca.markets |
| Market data host | data.alpaca.markets | data.alpaca.markets |
| Keys | Its own key ID and secret | Its own key ID and secret; a paper key is refused here |
| Money | $100,000 of simulated money by default | What you deposit; no minimum for an individual account |
| Market data plan | Basic: free, IEX exchange only | Basic by default; Algo Trader Plus at $99 a month for every US exchange |
| Cost to trade stocks | Nothing | No commission on US-listed securities through the API; regulatory fees apply |
How to get an Alpaca API key
Alpaca's market data guide gives the short version: go to the dashboard, "find the API Keys section on the right sidebar," generate new keys "and save the generated API credentials." Its security guide spells out the same steps for a first key:
- Step 1. Create an Alpaca account. A Paper Only Account needs an email address and nothing else. Live trading needs the brokerage application on top of it.
- Step 2. Log in to the dashboard and select the account the key is for. For a first key, the guide says to make sure the environment at the top of the page is set to Paper Trading.
- Step 3. Go to the API Keys panel on the right side of the dashboard and click Generate New Key.
- Step 4. A window shows two values: the API key ID and the secret key. Copy both. The guide's warning: "The Secret Key is displayed only once upon generation." If you close the window without copying it, it cannot be retrieved and you generate a new pair.
- Step 5. Keep them somewhere private. The guide names a password manager or a local environment file that is kept out of version control, and says never to hardcode a key in source code.
- Step 6. Send them with every request in two headers, APCA-API-KEY-ID and APCA-API-SECRET-KEY, to the host that matches the key.
A key ID identifies the account; the secret proves the request is yours. Alpaca's guide asks you to guard both: "do not publish or share either part of the credential pair."
If you are not sure a key works, ask for your own account: a request to the account endpoint on the matching host answers with the account's details. We tried the opposite on November 19, 2026, with a made-up key: both trading hosts answered HTTP 401 with the message "unauthorized." and nothing else. Alpaca's guide says a regenerated key and a paper key sent to the live host get a 401 too, so the status alone does not tell you which mistake you made.
Paper keys and live keys are not interchangeable
Each Alpaca account has its own credentials. The authentication page puts it plainly: "you cannot use your live account's credentials for paper trading, or vice versa." Three details follow from that, and each is an easy first-day mistake.
- The host decides. Paper orders go to paper-api.alpaca.markets and live orders to api.alpaca.markets. The security guide notes that paper keys often begin with PK and live keys with AK, but calls those prefixes visual hints; the real boundary is the host, and a paper key sent to the live endpoint is rejected with HTTP 401.
- A new paper account means new keys. Alpaca's paper trading page says the dashboard now creates and deletes paper accounts in place of resetting them, and adds: "Don't forget to generate new API keys for any newly created account."
- Libraries pick a side for you. The guide says Alpaca's Python library defaults to paper mode, and recommends stating paper or live explicitly so the choice is deliberate.
Market data is the exception to the split: both kinds of key read prices from the same host, data.alpaca.markets, and what they may read depends on the account's data plan.
What an Alpaca API key can and cannot do
A key pair is full trading access to the account it belongs to. Alpaca's security guide describes a leaked one this way: an unauthorized party "can submit orders, cancel open orders, liquidate positions, and query portfolio telemetry within the limits of your account's available cash and buying power."
What it cannot do, in the same guide's words: "Direct Trading API keys cannot initiate ACH bank deposits or request wire withdrawals." Bank funding stays in the web dashboard behind multi-factor authentication. The guide adds one caution for accounts that hold crypto: wallet whitelisting requests are within a key's reach and "must be treated as sensitive."
If a key may have leaked, the fix is in the same panel. Regenerating creates a new pair, and the guide is exact about the old one: "Generating new keys invalidates the existing key pair." Anything still using the old secret gets HTTP 401. A support note Alpaca published in November 2026 adds that it "will never ask for your password, MFA codes or API secret keys," and tells users to keep keys out of public code repositories, chats, forums and AI tools.
That last point matters when another program trades for you. A key works for whoever holds it, so pasting one into an app or a chat window hands over the trading access described above. Alpaca's own route for apps that act for other people is OAuth: you approve the app on Alpaca's site, the app receives a token limited to the permissions it asked for (account settings, trading, data), and no key changes hands. Alpaca's OAuth guide has the details, and Alpaca's Connect terms say an app needs Alpaca's approval before it can trade live for other users. Whichever way an app connects, the questions to ask it are the same, and connecting a trading bot to a brokerage account safely lists them.
What the Alpaca API costs
Trading. Alpaca's commission disclosure reads: "Commission-Free trading means that there are no commission charges for Alpaca self-directed individual cash brokerage accounts that trade U.S. listed securities through an API. Relevant SEC and FINRA fees may apply." Its regulatory fees page lists two for stocks, a FINRA trading activity fee on sells and a consolidated audit trail fee on buys and sells, charged at the end of each trading day. Crypto is not commission-free: fees run by 30-day volume, starting at 0.15% for an order that adds liquidity and 0.25% for one that takes it.
Account. A paper account is free. Alpaca's support pages say an individual live account has no minimum deposit and no account minimum; business accounts have a $30,000 funding requirement.
Request limits. Alpaca's support answer on usage limits says the API is throttled at "200 requests per minute, per account," and that a client over the limit gets a 429 Too Many Requests response. The market data responses we received on November 19, 2026 carried a rate-limit header of 200, the Basic plan's figure in the table below. An older support answer says Alpaca can raise the limit to 1,000 calls a minute for an account reclassified as non-retail, which changes how its orders are routed and adds a per-share fee.
Market data. This is the part with a monthly price. Alpaca's plan table, updated October 6, 2026, has two plans for individuals, and the same page says the Basic plan "serves as the default option for both Paper and Live trading accounts."
| Basic | Algo Trader Plus | |
|---|---|---|
| Price | Free | $99 a month |
| Real-time stock coverage | IEX exchange only | All US stock exchanges |
| Streaming symbols | 30 | Unlimited |
| Historical stock data | Since 2016, except the latest 15 minutes of the full feed | Since 2016, no restriction |
| Historical data calls | 200 a minute | 10,000 a minute |
| Options data | Indicative feed | OPRA feed, real time |
Alpaca's documentation describes the free feed without dressing it up. IEX is "a single US exchange that accounts for approximately ~2.5% of the market volume," and it is "ideal for initial app testing and situations where precise pricing may not be the primary focus." The full feed, which the industry calls the SIP, consolidates every exchange. How much that difference matters depends on what you trade, which is what the next section measures. For how the two plans sit beside other brokers' data, see broker APIs with real-time data.
The free feed against the full feed on 32 tickers
We asked Alpaca's Market Data API for the same bars twice, once from the free IEX feed and once from the consolidated feed, using a key on the Basic plan. That works because the Basic plan's restriction is on the newest data only: Alpaca's market data FAQ says that for historical queries the end time "must be at least 15 minutes old to query SIP data without a subscription."
The sample is 32 US-listed stocks and funds picked before the run to span heavily traded to thinly traded (34 were requested; two did not return a full history and were left out). Daily bars cover 62 sessions, August 24 through November 18, 2026. One-minute bars cover the regular session on the ten trading days from November 5 through November 18. Afterwards we grouped the tickers by the dollar value that changed hands on the consolidated feed on a median day: 8 at $4 billion a day or more (SPY, QQQ, Apple, Amazon, AMD, Nvidia, Palantir and Tesla), 14 between $66 million and $421 million, and 10 between $7 million and $30 million. Group figures below are the median ticker's.
What a Basic-plan key is refused
First, one direct test. With the Basic-plan key we asked for Apple's latest trade from the consolidated feed. The answer was HTTP 403 with the message "subscription does not permit querying recent SIP data." The same request without naming a feed succeeded, and the trade it returned carried exchange code V, which is IEX. So on the free plan the latest price is the latest trade on IEX, and the plan table's 15-minute restriction arrives as a refusal, not as delayed data.
How much of the trading the free feed sees
Across the 32 tickers, IEX carried a median 4.9% of each one's consolidated share volume, from 1.5% for QQQ to 7.5% for Toast. On the eight most traded names the median was 2.7%, close to the roughly 2.5% in Alpaca's documentation. On a median day in the sample, Apple's consolidated daily bar counted 715,571 trades and its IEX bar counted 22,653.
Two things follow. A volume figure read from the free feed is a small sample of the day's volume, not the day's volume, so a rule written around volume has to be scaled or fed from the full history. And fewer trades means longer waits between prices, which is where the three groups come apart.
Minute by minute: the free feed's last price against the full tape
For every one-minute bar on the consolidated feed we took the most recent free-feed bar at or before it that day and compared the two closing prices. That is what a program holding the last price from each feed would have been looking at when the minute ended.
| Group | Minutes that also had a free-feed bar | Median gap | Gap in the worst tenth of minutes | Minutes more than 0.10% apart | More than 0.25% apart |
|---|---|---|---|---|---|
| Most traded (8) | 100% (96% to 100%) | 0.01% | 0.03% or more | 0% | 0% |
| Middle (14) | 63% (35% to 97%) | 0.04% | 0.17% or more | 21% | 5% |
| Thinnest (10) | 22% (12% to 53%) | 0.10% | 0.47% or more | 51% | 24% |
On the eight most traded names the two feeds were nearly indistinguishable at one-minute resolution. IEX printed a bar in almost every minute, and the median gap was 0.01%. The largest share of minutes more than 0.10% apart in that group was Palantir's, at 6%.
On the thinnest ten the free feed printed a bar in about one minute out of five in which the full tape did. The median gap was 0.10%, and in about a quarter of all minutes (24%) the free feed's last price was more than 0.25% from the consolidated one. WD-40 Company was the extreme: 80 free-feed bars against 656 consolidated ones over the ten days, and a gap above 0.25% in 40% of minutes. Even the consolidated feed printed a bar in only 656 of that ticker's 3,900 regular-session minutes.
The day's high, low and close
| Group | Median gap at the close | Days the free feed's high fell short by more than 0.10% | Days its low fell short by more than 0.10% | Share of the day's range the free feed showed |
|---|---|---|---|---|
| Most traded (8) | 0.02% | 2% | 1% | 99% |
| Middle (14) | 0.03% | 32% | 44% | 94% |
| Thinnest (10) | 0.09% | 71% | 69% | 76% |
A daily bar built from IEX trades ends on IEX's last trade of the session, and its high and low are IEX's high and low. On the big names that barely shows. On the thinnest group the free feed's daily high sat more than 0.10% under the consolidated high on 71% of days for the median ticker, and its bar covered a median 76% of the day's real range, as little as 52% for one ticker. GoPro's free-feed close differed from the consolidated close by a median 0.39%, and by more than 0.10% on 48 of 62 days. UFP Technologies' free-feed bar missed the day's high by more than 0.10% on 56 of 62 days and the low on 59.
Anything computed from daily highs and lows, a stop distance based on the day's range for instance, comes out smaller on free-feed bars for stocks like these. There is a way around that on the free plan, and it is the one this study used: history. Consolidated bars older than 15 minutes are open to a Basic-plan key, so daily indicators and backtests do not have to be built from IEX bars. Only the newest 15 minutes and the live stream are limited to IEX.
Bid and ask: the free feed shows one exchange's book
Trades are half of a price. A program that sends a limit order, or that prices a stock that has not traded for a while, reads the bid and the ask, and on the free plan those are the best displayed bid and offer on IEX alone, not the national best bid and offer. We sampled both at twelve fixed moments per ticker: 10:00 AM, 11:30 AM, 1:30 PM and 3:00 PM New York time on November 16, 17 and 18, taking the last quote on each feed at that instant. All 384 samples had a bid and an ask on both feeds, and the free-feed quotes were fresh, a median 4 seconds old.
| Group | Samples | National spread, median | Free-feed spread, median | Free-feed spread over 1% | Midpoints more than 0.25% apart |
|---|---|---|---|---|---|
| Most traded (8) | 96 | 0.02% | 0.09% | 19% | 22% |
| Middle (14) | 168 | 0.15% | 3.82% | 56% | 48% |
| Thinnest (10) | 120 | 0.32% | 13.10% | 68% | 58% |
On the national quote the spread was a few hundredths of a percent for the most traded names and about a third of a percent for the thinnest. On the free feed the median was 3.82% in the middle group and 13.10% in the thinnest, where two samples in three showed a bid and an ask more than 1% apart. Not every ticker behaved that way. Snap's free-feed quote matched the national quote in all twelve samples, and DraftKings, Toast and Chewy stayed close to it. Among the eight most traded names Palantir was the exception, with a median free-feed spread of 4.5%.
A wide book moves the midpoint. The midpoint of the free-feed bid and ask was more than 0.25% from the national midpoint in 45% of all samples (22%, 48% and 58% by group), and the largest gap was 7.7%, on The Cheesecake Factory. A midpoint like that is not a price the stock traded at, and a limit order priced from a free-feed bid or ask can sit well away from where the stock is trading. Twelve moments per ticker is a small sample, so read these as the size of the effect, not as exact rates.
What the numbers mean for an automated strategy
- Heavily traded names. At one-minute resolution the free feed tracked the full tape within a few hundredths of a percent in this sample. A rule that checks prices once a minute on names like these was looking at nearly the same prices on either plan. The bid and ask were less dependable: in about a fifth of the samples (19%) the free-feed spread on these names was over 1%.
- Thin names. The free feed's last trade can be many minutes old and its bid and ask can sit far apart. A stop, a target or a limit price worked out from it is worked out from older information than the market has.
- Volume rules. The free feed sees a few percent of the volume. Scale the rule, or read volume from the consolidated history.
- Breadth. Thirty streaming symbols and 200 calls a minute bound how many names a program can follow on Basic, whatever the price accuracy.
- Paper results. Alpaca's paper trading page says paper orders are "matched against the best available current market price (NBBO)," while a Paper Only Account receives IEX data. A paper program can therefore decide on one feed and be filled against another, which is worth knowing before reading much into a paper result.
None of this says which plan anyone should buy. It says what to test with your own list of tickers before deciding, and the test costs nothing: the history is open on the free plan.
How JorgAI uses Alpaca keys and data
JorgAI connects to Alpaca the way this page describes. A member generates a key in the Alpaca dashboard and enters the key ID and secret once in Settings, and JorgAI uses it for that member's account, positions and orders. The no-code Alpaca setup guide walks through it, and the brokers page lists every broker JorgAI connects to.
The key is not used for prices. JorgAI reads market data for Alpaca-connected members on its own Alpaca data plan, the Basic one measured above, so a member needs no data subscription to use it. That choice comes with the limits shown here. The 30-symbol streaming cap bounds how many names can be watched tick by tick, and on thinly traded stocks the price JorgAI sees can trail the consolidated tape the way the tables show.
One rule in the integration comes from the same thing the bid and ask samples show. When the last free-feed trade is more than a minute old, JorgAI takes the midpoint of the bid and ask as the stock's price only if the two sit close together; on a wide book it keeps the last real trade, because the midpoint of a wide IEX book is not a price anyone traded at. How Alpaca's order types, sign-in rules and limits sit beside the other connected brokers is on the broker API capabilities page, and trading a live Alpaca account from Claude covers what the same key does inside an AI assistant.
Quick answers
Is the Alpaca API free?
The Trading API has no subscription fee, a paper account is free, and Alpaca's disclosure says US-listed securities trade through the API without commission in self-directed individual cash brokerage accounts, with regulatory fees applying. Market data is free on the Basic plan (IEX only) and $99 a month on Algo Trader Plus. Crypto trades carry fees.
How do I get an Alpaca API key?
Create an Alpaca account, log in to the dashboard, select the paper or live account, and use the API Keys panel on the right side to generate a key. Copy the key ID and the secret from the window that appears.
Where do I find my Alpaca secret key?
Only in the window shown when the key is generated. Alpaca's guide says the secret is displayed once; if it is lost, regenerate the pair in the same panel, which invalidates the old one.
Can I use an Alpaca paper key for live trading?
No. Alpaca's documentation says live credentials cannot be used for paper trading or the reverse. Paper keys work on paper-api.alpaca.markets and live keys on api.alpaca.markets.
What is the Alpaca API rate limit?
Alpaca's support page gives 200 requests per minute per account, with a 429 response above it. Historical market data calls are 200 a minute on Basic and 10,000 a minute on Algo Trader Plus.
Does Alpaca's free market data cover every exchange?
No. The Basic plan's real-time data comes from the IEX exchange only, which carried a median 4.9% of consolidated volume across the 32 tickers we measured. Consolidated history older than 15 minutes is available on the free plan.
How much is Alpaca Algo Trader Plus?
$99 a month in Alpaca's plan table as of October 6, 2026. It adds real-time data from all US stock exchanges, unlimited streaming symbols, 10,000 historical data calls a minute and real-time options data.
Can an Alpaca API key withdraw money?
Alpaca's security guide says Trading API keys cannot initiate bank deposits or request wire withdrawals; bank funding stays in the dashboard behind multi-factor authentication. A key can place and cancel orders and close positions, and the guide treats crypto wallet whitelisting requests as within a key's reach.
Sources, read November 19, 2026: Alpaca's documentation pages on authentication, market data plans, historical stock data, the market data FAQ, paper trading, trading accounts, regulatory fees, crypto fees and OAuth; Alpaca's API Key Security Best Practices guide (September 14, 2026); Alpaca's support answers on usage limits, raising the limit, commissions, account minimums, the data provider and platform security; and JorgAI's own Alpaca integration code. Measurements: Alpaca Market Data API, IEX and SIP feeds, daily bars for 62 sessions through November 18, 2026, one-minute bars for ten sessions and 384 bid and ask samples, read with a Basic-plan key on November 19, 2026. The sample is 32 tickers and a few weeks; other tickers and other weeks will differ.
If you want rules you set once to place the orders in your own brokerage account, the start page walks through the settings before any order is placed.
This article is education, not investment advice or a recommendation of any broker, data plan, security or strategy. Prices, limits and plan details are Alpaca's and can change; check Alpaca's own pages before relying on them. JorgAI is software that carries out the rules you set in your own brokerage account; it is not an investment adviser. Alpaca is a trademark of its owner, and JorgAI is not affiliated with or endorsed by Alpaca. Trading involves risk of loss.
More in Getting Started
Keep reading
Let the AI do the trading.
Set it up in minutes. 7 day free trial on Starter, Plus and Pro.
Get started freeGet the weekly market read and new tools by email
One email a week: what moved, what the data says, and the next free tool when it ships. No spam, unsubscribe in one click.
More from the blog
Every other post, newest first
260 more posts
Stops, targets and a daily loss limit, enforced for you.
JorgAI runs the rules you set inside your own brokerage account. Zero withdrawal permissions, disconnect anytime.
Showing 18 of 260. Keep scrolling.




















