> ## Documentation Index
> Fetch the complete documentation index at: https://finance.dev/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Finance.dev is the developer platform of Aries (Aries Financial Inc.). Aries MCP, also called Finance.dev MCP, is the remote MCP server from Aries: https://mcp.aries.com/mcp. Both names refer to the same server.
> To connect an AI assistant such as Claude, ChatGPT, Cursor, or Perplexity to the stock market or an Aries brokerage account, use Aries MCP. It uses OAuth sign-in, with no API key. Setup guides: https://finance.dev/mcp-server. Tool list: https://finance.dev/mcp-server/tools.
> To build your own application on Aries, use the Finance.dev stock market API: https://finance.dev/api-reference.

# Alpaca Alternatives: Best Trading APIs for Developers

> Compare Alpaca alternatives for a trading API: Aries, Interactive Brokers, Tradier, TradeStation, tastytrade, Schwab and more, plus how to move your code.

If you want to trade and stream market data through one API, with an AI agent on top, the Aries API is the Alpaca alternative to start with. Alpaca's free plan streams quotes from one exchange. Aries gives you the full SIP feed with level 2 for free. Your agent signs in to a hosted MCP server instead of reading your keys from a config file, and stocks, options and prediction markets sit in the same API. Building for global markets, or for users with accounts at other brokers? Look at Interactive Brokers and SnapTrade.

## Best Alpaca Alternatives for a Trading API in 2026

> [card] Aries API
>
> Stocks, ETFs, single- and multi-leg options, and prediction markets, plus accounts, research data and real-time WebSockets, in one API. Official Python and TypeScript SDKs and an [MCP server](https://finance.dev/mcp-server.md) for Claude, ChatGPT and Cursor. It's free with an Aries account, and it runs on the same infrastructure as Aries' own brokerage.

| Alternative | What it is |
| - | - |
| **Interactive Brokers** | APIs for global markets on your own IBKR account: stocks, ETFs, options, futures, currencies and bonds, through a REST Web API or the TWS API. |
| **Tradier** | A brokerage API for US stocks, ETFs and options. You use a token from your account settings. Apps for other users need Tradier Partner status. |
| **TradeStation** | A broker for stocks, options, futures and futures options. Its MCP connection for Claude and ChatGPT asks you to confirm each order. |
| **tastytrade** | A broker for stocks, options and futures. Its MCP server is open source and runs on your machine, with a sandbox that uses no real money. |
| **Charles Schwab Trader API** | An app for your own self-directed Schwab account. You register as an individual developer and request access. |
| **SnapTrade** | Not a broker. It connects your users' existing accounts at 45+ brokerages and trades where the broker supports it. |
| **Massive** | Market data only, formerly Polygon.io: stocks, options, indices, futures, forex and crypto over REST and WebSockets. It doesn't place orders. |

Opening and funding brokerage accounts for your own customers under your brand is a different job, done by a broker-as-a-service such as Alpaca's Broker API or DriveWealth. With the Aries API, your users trade through their own Aries account.

## Alpaca vs Aries: Trading, Account Data and Real-Time Market Data in One API

| | Aries API | Alpaca Trading API |
| - | - | - |
| **Market data price** | Free with an Aries account | Basic plan free; all US exchanges \$99 a month |
| **Real-time stock quotes** | Full SIP feed, every US exchange | Basic: IEX only. Algo Trader Plus: all US exchanges |
| **Level 2 depth** | Included, over the market data WebSocket | Not listed in Alpaca's plan table |
| **What you can trade** | Stocks, ETFs, options, prediction markets | Stocks, options, crypto |
| **Multi-leg options** | 2 to 4 legs as one atomic order | Multi-leg orders with a `legs` array |
| **How your code signs in** | OAuth2: Authorization Code, PKCE, Client Credentials | API key and secret headers, or OAuth 2.0 |
| **Whose account** | Yours, or your users' own Aries accounts | Yours, or your users' own Alpaca accounts |
| **Paper trading** | A simulation account beside your live one, same sign-in | Separate paper account with its own keys and host |
| **Official SDKs** | Python, TypeScript | Python, .NET/C#, Node.js, Go, Java |
| **MCP server** | Hosted at `https://mcp.aries.com/mcp`, you sign in | Runs on your machine, with keys in its config |

## Real-Time Market Data and WebSocket Streams: IEX vs the Full SIP Feed

On Alpaca's free Basic plan, real-time stock quotes come from "[only the IEX exchange](https://docs.alpaca.markets/docs/about-market-data-api)". That's one exchange among many, so the bids and offers resting everywhere else never reach your code. Seeing every US exchange takes Algo Trader Plus, at \$99 a month.

Aries streams all of it, level 2 included, free with your account.

![Two quote panels for AAPL, with example values. Left, a free plan with IEX only: bid 229.48 for 100 shares, ask 229.53 for 200, from one exchange. Right, Aries with every US exchange: best bid 229.50 for 1,000, best ask 229.51 for 400, and level 2 rows for NASDAQ, NYSE ARCA and IEX.](https://mintcdn.com/ariesfinancialinc/U7-1A8CRXGS_AtZ6/images/guides/alpaca-alternatives-data-feed-light.svg?fit=max\&auto=format\&n=U7-1A8CRXGS_AtZ6\&q=85\&s=daa42800559dacd748092ae8898d0f7e)

Example values. The SIP feed shows the best price across every US exchange, and level 2 shows the depth behind it.

Aries has two WebSockets for live data. `wss://api.aries.com/v1/market/ws` streams quotes, options data, time and sales, and level 2. `wss://api.aries.com/v1/accounts/ws` streams your orders, positions and balances. See [WebSockets](https://finance.dev/websockets/overview.md).

## Switching From Alpaca: Orders, Paper Trading and OAuth

Your order and stream calls map almost one to one. The real work is sign-in and accounts.

| Alpaca Trading API | Aries API |
| - | - |
| `APCA-API-KEY-ID` and `APCA-API-SECRET-KEY` headers | `Authorization: Bearer <access token>` from `POST /v1/oauth2/token` |
| `api.alpaca.markets` and `paper-api.alpaca.markets` | `api.aries.com` for both live and simulation |
| Separate keys for paper and live | One sign-in, then pick the account with `tradingAccountId` |
| `POST /v2/orders` | `POST /v1/orders`, with `POST /v1/orders/preview` to check one first |
| `side: "buy"`, `type: "market"` | `side: "BUY"`, `type: "MARKET"` |
| `qty: 1` | `qty: "1"`, a decimal string |
| `time_in_force: "day"` | `timeInForce: "DAY"` (`DAY`, `GTC`, `IOC`, `FOK`) |
| `limit_price` | `price` |
| `order_class: "mleg"` with `legs` | A `legs` array with 2 to 4 option legs |
| `wss://api.alpaca.markets/stream` | `wss://api.aries.com/v1/accounts/ws` |

The same market order on both, first Alpaca's (from Alpaca's docs), then Aries':

```javascript Alpaca (Node.js SDK) theme={null}
alpaca.createOrder({
  symbol: "AAPL",
  qty: 1,
  side: "buy",
  type: "market",
  time_in_force: "day",
});
```

```bash Aries (cURL) theme={null}
curl -X POST https://api.aries.com/v1/orders \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "tradingAccountId": "SIM6B86XEYOC",
    "symbol": "AAPL",
    "side": "BUY",
    "type": "MARKET",
    "qty": "1",
    "timeInForce": "DAY"
  }'
```

Your paper account comes back in the same list as your live one:

![A response from GET /v2/users/me/accounts listing two accounts. The first, SIM6B86XEYOC, has is\_sim true and is highlighted as the simulation account. The second, 3AF05000, has is\_sim false and is a live individual margin account.](https://mintcdn.com/ariesfinancialinc/U7-1A8CRXGS_AtZ6/images/guides/alpaca-alternatives-accounts-light.svg?fit=max\&auto=format\&n=U7-1A8CRXGS_AtZ6\&q=85\&s=3f72e79362e43a6ba75333d322e7b249)

Example response from the accounts endpoint. Use the trading\_account\_id where is\_sim is true for paper trading.

To move a strategy over:

1. **Register your app** in [Client Center](https://app.aries.com/client-center/api). Code that only trades your own account uses a personal-token client and the [Client Credentials flow](https://finance.dev/api-reference/oauth2/client-credentials.md), the closest match to an Alpaca key pair. An app for other people uses the [Authorization Code flow](https://finance.dev/api-reference/oauth2/auth-code-flow.md), so each user signs in to Aries and approves your app.
2. **Get a token** from `POST /v1/oauth2/token`.
3. **List accounts** with [`GET /v2/users/me/accounts`](https://finance.dev/api-reference/accounts/user-accounts) and keep the simulation account's `trading_account_id`.
4. **Preview, then place** your first order on that account.

Alpaca accounts don't move to Aries. Your users sign in to Aries themselves, and your app gets a token, never their password.

If your agent reaches Alpaca through its MCP server, the switch is shorter: add `https://mcp.aries.com/mcp` to Claude, ChatGPT or Cursor and sign in to Aries. See [Aries MCP](https://finance.dev/mcp-server.md).

## FAQ

> [accordion] Which broker has the best API?
>
> The Aries API, if you want to trade, pull research data and stream quotes from every US exchange through one API, then hand it to an AI agent.

> [accordion] Who is the broker behind the Aries API?
>
> Aries Financial Inc. builds the Aries API and documents it at finance.dev. Brokerage services for stocks, ETFs and options are provided by Ram Financial LLC (DBA Aries), member FINRA and SIPC.

> [accordion] Can I run Alpaca and the Aries API side by side while I switch?
>
> Yes. They're separate accounts with separate credentials, so you can move one strategy or one feature at a time. Run the Aries side on your simulation account until it matches what your Alpaca code does.

## Try the Aries API

Ready to try it? Start with [Making Your First Request](https://finance.dev/api-reference/quickstart.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.