# How to connect Alpaca to Grok Bot

```json
{
  "title": "How to connect Alpaca to Grok Bot",
  "toolkit": "Alpaca",
  "toolkit_slug": "alpaca",
  "framework": "Grok Bot",
  "framework_slug": "grok-bot",
  "url": "https://composio.dev/toolkits/alpaca/framework/grok-bot",
  "markdown_url": "https://composio.dev/toolkits/alpaca/framework/grok-bot.md",
  "updated_at": "2026-11-24T07:12:06.851Z"
}
```

## Introduction

Grok is xAI's assistant, and its bot builder lets you create a personal agent that holds context, runs skills, and connects to the apps you already use through plugins.
This guide explains how to connect Alpaca to a Grok bot using Composio Connect, which handles OAuth, token refresh, and reliability so you do not have to. You add Composio as a plugin, authenticate once, then ask your bot to work with Alpaca in plain language.
For exact tool slugs and parameter tables, see the [tool catalog in the Composio docs](https://docs.composio.dev/toolkits/alpaca).

## Also integrate Alpaca with

- [Claude Cowork](https://composio.dev/toolkits/alpaca/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/alpaca/framework/codex)

## TL;DR

Composio exposes 1,800+ apps to your Grok bot through a single connection, so you get:
- Connect to 1,800+ apps with on-demand tool loading, so you do not fill your context window with unnecessary tool definitions.
- Use programmatic tool calling through a remote workbench, letting the model write its own code to handle complex tool chaining. This reduces back-and-forth for frequent tool calls.
- Handle large tool responses outside the model context to keep conversations lean.

## Connect Alpaca to Grok Bot

### Connecting Alpaca to Grok Bot
Once Grok Bot is set up, you connect Alpaca entirely from its interface, and the whole flow takes under a minute.
### Set up Grok Bot
Get access. Grok Bot is included with Cursor Ultra, Cursor Premium Teams, and SuperGrok Heavy. Get the desktop app for macOS or Windows from [x.ai/bot](https://x.ai/bot) and sign in. An iPhone companion app is also available, and your bots sync across devices.
Create a bot. Pick a suggested role or define your own, then give it a short name, one primary job, and a short description of how it should work. Focused bots work best, because a clear role gives the bot more useful context over time.
### Connect Alpaca
### 1. Add the Composio plugin
Click the button. The Composio listing on x.ai opens and launches Grok Bot for you. If the app does not open on its own, click Add to Grok Bot.
[Add to Grok Bot](https://x.ai/bot/plugin/32661537)
Grok Bot opens the Composio plugin, showing its connector and skills. Click Add.
### 2. Authenticate
Go to the Installed section and click the Composio entry. You'll see its connector and skills listed.
Click Authenticate. You'll be taken to the Composio consent screen. Review the access it requests and click Authorize. Composio handles the OAuth handshake for you, so you never touch API keys or tokens.
### 3. Connect your Alpaca account
Back in the chat, ask your bot to connect to Alpaca or give it any Alpaca task.
For example, ask it to:
- "Show your current Alpaca positions"
- "Check latest AAPL market price"
- "Cancel all open Alpaca orders"
It will prompt you to authenticate and authorize access.
That's it. Composio's tools are now available in your Grok bot, and your Alpaca account is ready to use.

## What is Grok Bot?

Grok is xAI's assistant, available as a chat interface and a bot builder for creating personal agents that run skills and connect to external apps.
With Composio Connect, your Grok bot can securely access apps like Alpaca through MCP without you sharing account credentials directly with the agent.

## What is the Alpaca MCP server, and what's possible with it?

The Alpaca MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Alpaca account. It provides structured and secure access to your trading account and market data, so your agent can monitor positions, review orders, analyze portfolio history, manage watchlists, and track stock and crypto prices on your behalf.
- Account and portfolio monitoring: Have your agent review account details, open positions, portfolio history, account activity, and trading settings.
- Order and position management: Direct your agent to list filtered orders, cancel all open orders, or liquidate every open position at market price.
- Stock market research: Instruct your agent to retrieve historical price and volume bars for one or more stocks, check market hours, and review the trading calendar.
- Crypto market tracking: Let the agent fetch crypto quotes, historical bars, snapshots, order books, trades, and perpetual futures pricing for supported symbols.
- Watchlist management: Have your agent create watchlists and add stocks or crypto assets to existing lists by symbol or watchlist name.

## Supported Tools

| Tool slug | Name | Description |
|---|---|---|
| `ALPACA_ADD_ASSET_TO_WATCHLIST` | Add Asset to Watchlist | Adds a ticker symbol to an existing watchlist identified by ID, for tracking a security, on the paper or live account chosen on the connection. |
| `ALPACA_ADD_ASSET_TO_WATCHLIST_BY_NAME` | Add Asset to Watchlist by Name | Add an asset to a watchlist by name. Use when you need to add a symbol to a specific watchlist identified by its name. If a watchlist with the specified name does not exist, it will be created automatically and the symbol will be added to it. The asset will be appended to the end of the watchlist's asset list. |
| `ALPACA_CREATE_WATCHLIST_FOR_ACCOUNT` | Create Watchlist | Creates a new watchlist for the authenticated account. Use this action when you need to: - Create a new watchlist to track specific securities - Set up initial symbols for a watchlist at creation time - Organize tracked symbols under a named watchlist Note: This action creates a watchlist at the account level (using v2 API). The name must be unique within the account and contain only alphanumeric characters, spaces, hyphens, and underscores (up to 64 characters). |
| `ALPACA_CREATE_WATCHLIST_FOR_ACCOUNT` | Create Watchlist | Creates a watchlist for the authenticated account using the supplied name and symbols. An account ID is required as input but does not select the account. |
| `ALPACA_DELETE_ALL_OPEN_POSITIONS` | Delete All Open Positions | Liquidates all open positions at market, with an option to cancel open orders first. Results report individual liquidation attempts; partial success is possible. Acts on the paper or live account chosen on the connection. |
| `ALPACA_DELETE_ALL_ORDERS_FOR_ACCOUNT` | Delete All Orders for Account | Attempts to cancel all open orders for a specified trading account and returns per-order results when provided. A 404 response is returned as an empty results list with HTTP status 404; successfully cancelled orders cannot be restored. |
| `ALPACA_DELETE_UNSUBSCRIBE_ACCOUNT` | Delete Unsubscribe Account | Delete a rebalancing subscription to unsubscribe an account. This action permanently removes the specified subscription. Use when you need to unsubscribe an account from rebalancing services. This action is irreversible once executed. Note: If the subscription_id is invalid, a 400 error is returned. If the subscription does not exist, a 404 error is returned. |
| `ALPACA_DELETE_WATCHLIST_BY_ID` | Delete Watchlist By ID | Delete a watchlist by its unique identifier. Use when you need to remove an entire watchlist that is no longer needed. This action is irreversible once executed — the watchlist and all its contents cannot be recovered. Note: If the watchlist_id is invalid or does not exist, a 404 error is returned. |
| `ALPACA_GET_ACCOUNT` | Get Account | Retrieves account information for the authenticated Alpaca account. Use this action when you need to check account status, available buying power, cash balance, equity, margin information, day trade count, or other account details. This is a read-only operation that returns the current state of the authenticated account. The response includes important account flags such as trading_blocked, account_blocked, pattern_day_trader, and shorting_enabled which indicate any restrictions on the account's trading capabilities. |
| `ALPACA_GET_ACCOUNT_ACTIVITIES` | Get Account Activities | Retrieves account activities for the authenticated Alpaca account. Use this action when you need to retrieve transaction history, dividend payments, interest payments, fees, transfers, or other account-related activities. Supports filtering by date range, account ID, and sorting direction. Results are paginated using page_token for efficient retrieval of large datasets. |
| `ALPACA_GET_ACCOUNT_ACTIVITIES2` | Get Account Activities V2 | Retrieves account activities for the authenticated Alpaca account using the v2 API, including trade fills and non-trade activities. Supports date range and activity type filters, sorting, and page-token pagination; multiple activity types can be requested. |
| `ALPACA_GET_ACCOUNT_ACTIVITIES_BY_ACTIVITY_TYPE` | Get Account Activities By Activity Type | Retrieves account activities of a specific type for the authenticated Alpaca account. Use when you need to filter account activities by a specific type such as trade fills, dividends, interest payments, fees, or transfers. Supports date range filtering, pagination, and sorting. This endpoint is useful for retrieving a specific category of account transactions rather than all activities. Note: date parameter cannot be used with 'after' parameter. Use 'date' for a single day or 'until'/'after' for date ranges. |
| `ALPACA_GET_ACCOUNT_CONFIG` | Get Account Configurations | Retrieves the current trading account configuration settings for the authenticated Alpaca account. Use this action when you need to check the current trading account settings such as day-trading margin call (DTMC) checks, fractional trading status, shorting permissions, trade suspension status, and trade confirmation email preferences. This is a read-only operation that returns the current configuration without any modifications. The account is determined from the authentication credentials. |
| `ALPACA_GET_ACCOUNT_PORTFOLIO_HISTORY` | Get Account Portfolio History | Retrieves the portfolio history statistics for an Alpaca trading account. Portfolio history provides a time series of equity values, profit/loss metrics, and other performance data over a specified time period. Use when you need to analyze account performance over time, track equity curves, or review historical P&L. Note: The timeframe parameter auto-selects based on the period: 1Min for <7 days, 15Min for <30 days, or 1D otherwise. |
| `ALPACA_GET_ACCOUNT_PORTFOLIO_HISTORY1` | Get Account Portfolio History | Retrieves the portfolio history statistics for a trading account. Portfolio history provides a time series of equity values, profit/loss metrics, and optionally cashflow data over a specified time period. Use when you need to analyze account performance over time, track equity curves, or review historical P&L. Note: The timeframe parameter auto-selects based on the period: 1Min for <7 days, 15Min for <30 days, or 1D otherwise. |
| `ALPACA_GET_ACCOUNTS_POSITIONS` | Get All Account Positions | Bulk fetches all open positions for the authenticated account. Use when you need to retrieve all current positions, monitor overall portfolio holdings, or check unrealized P&L across the entire account. This action does not require an account_id parameter as it automatically uses the account associated with the API credentials. Note: This action returns positions for the account associated with the authenticated API key. Use this read-only action to get a complete view of the account's open positions. |
| `ALPACA_GET_ALL_OPEN_POSITIONS` | Get All Open Positions | Retrieves all open positions for the authenticated Alpaca trading account, including holdings and unrealized P&L. This read-only action uses the account associated with the credentials. |
| `ALPACA_GET_ALL_ORDERS` | Get All Orders | Retrieves all orders for an account based on specified filter criteria. Returns a list of orders with their current status, filled quantity, prices, and any nested legs for complex orders. Use when you need to query historical or current orders for a trading account, such as checking open positions or reviewing trade history. By default, only open orders are returned. Use status='all' to include closed orders, or status='closed' for only closed/canceled orders. |
| `ALPACA_GET_ALPACA_DATA_CRYPTO_US_BARS` | Get Historical Crypto US Bars | Retrieves historical OHLCV bars for crypto symbols at a selected location, aggregated by the specified timeframe. Results are sorted by symbol, then timestamp. |
| `ALPACA_GET_ASSET` | Get Asset | Retrieves one Alpaca asset by symbol, asset ID, or US-equity CUSIP. |
| `ALPACA_GET_BARS_FOR_MULTIPLE_CRYPTO_SYMBOLS` | Get Crypto Bars for Multiple Symbols | Retrieves historical OHLCV bars for multiple crypto symbols from the US market data location. Results are sorted by symbol and then timestamp; use the returned next page token to continue through available bars. |
| `ALPACA_GET_BARS_FOR_MULTIPLE_STOCK_SYMBOLS` | Get Stock Bars for Multiple Symbols | Retrieves OHLCV (Open, High, Low, Close, Volume) bars for multiple stock symbols. Use this action when you need to: - Get historical price data for multiple stock symbols - Analyze price trends over a specific timeframe - Fetch aggregated bar data for stock analysis - Backtest trading strategies on multiple stocks Results are sorted by symbol first, then by bar timestamp. If the limit is reached for one symbol, subsequent requests with the next_page_token will retrieve bars for remaining symbols. Note: This endpoint uses the data.alpaca.markets base URL and requires appropriate data subscriptions for SIP and OTC feeds. |
| `ALPACA_GET_BARS_FOR_STOCK_SYMBOL` | Get Historical Bars for Stock Symbol | Retrieves historical OHLCV (Open, High, Low, Close, Volume) bars for a single stock symbol. Use this action when you need to analyze historical price movements and trading activity for a specific stock ticker over a given timeframe. The bars are aggregated based on the specified timeframe (e.g., 1 minute, 15 minutes, 1 hour, 1 day). Note: This endpoint uses the data.alpaca.markets base URL. |
| `ALPACA_GET_BARS_STOCKS` | Get Historical Stock Bars | Retrieves historical OHLCV (Open, High, Low, Close, Volume) bars for a single stock symbol. Use this action when you need to analyze historical price movements and trading activity for a specific stock ticker over a given timeframe. The bars are aggregated based on the specified timeframe (e.g., 1 minute, 15 minutes, 1 hour, 1 day). Results are sorted by timestamp and support pagination via the next_page_token field when the limit is reached and more data is available. Note: This endpoint uses the data.alpaca.markets base URL and requires appropriate data subscriptions for SIP and OTC feeds. |
| `ALPACA_GET_CALENDAR` | Get Calendar | Retrieves market calendar information for trading days from the Alpaca Trading API. Use this action when you need to: - Get market open and close times for specific dates - Check trading session times - Verify market operating hours for date ranges - Plan trading activities around market hours This is a read-only operation that returns market calendar data. |
| `ALPACA_GET_CLOCK` | Get Clock | Retrieves the current market clock information from the Alpaca Trading API. Use this action when you need to: - Check if the market is currently open - Determine when the next market open or close will occur - Plan trading activities based on market hours - Verify server time for timestamp-sensitive operations This is a read-only operation that returns the current state of the market clock including whether the market is open and the timestamps for the next open and close. |
| `ALPACA_GET_CONDITIONS` | Get Stock Conditions | Retrieves the mapping of condition codes to their names from Alpaca Markets API for the specified type (trade or quote conditions) and tape. Use this action when you need to: - Decode condition codes from stock market data - Get the list of all valid condition codes and their meanings for a specific type - Translate raw condition code integers to human-readable names - Understand the meaning of condition codes from trade or quote data This is a read-only action that queries the stocks meta conditions endpoint. |
| `ALPACA_GET_CRYPTO_LATEST_QUOTES` | Get Crypto Latest Quotes | Retrieves the latest bid and ask prices for specified crypto symbols at a specific location. Use when you need real-time quote data for cryptocurrency trading, such as checking current market prices before placing orders or monitoring price movements. |
| `ALPACA_GET_CRYPTO_PERP_LATEST_BARS` | Get Crypto Perp Latest Bars | Retrieves the latest OHLCV (Open, High, Low, Close, Volume) bars for crypto perpetual futures symbols. Use this action when you need real-time or near real-time price data for crypto perpetual futures contracts for a specific location (e.g., 'global'). Returns the most recent bar for each requested symbol, including open, high, low, close prices, volume, trade count, and volume-weighted average price. |
| `ALPACA_GET_CRYPTO_PERP_LATEST_ORDER_BOOKS` | Get Crypto Perp Latest Orderbooks | Retrieves the latest bid and ask orderbook data for specified crypto perpetual futures symbols. Use when you need real-time orderbook data for crypto perpetual futures trading, such as checking current market depth before placing orders or analyzing liquidity. Returns the most recent orderbook for each requested symbol, including bid and ask price levels with their sizes. |
| `ALPACA_GET_CRYPTO_PERP_LATEST_PRICING` | Get Crypto Perp Latest Pricing | Retrieves the latest pricing data for specified crypto perpetual futures symbols. Use when you need real-time pricing data for crypto perpetual futures trading, such as checking current market prices, index prices, mark prices, funding rates, or open interest before placing orders or analyzing the market. Returns the most recent pricing data for each requested symbol, including timestamp, funding timestamp, open interest, index price, mark price, and funding rate. |
| `ALPACA_GET_CRYPTO_PERP_LATEST_QUOTES` | Get Crypto Perp Latest Quotes | Retrieves the latest bid and ask prices for specified crypto perpetual futures symbols for a specific location. Use when you need real-time quote data for crypto perpetual futures trading, such as checking current market prices before placing orders or monitoring price movements. |
| `ALPACA_GET_CRYPTO_PERP_LATEST_TRADES` | Get Crypto Perp Latest Trades | Retrieves the latest trade data for specified crypto perpetual futures symbols. Use when you need real-time trade data for crypto perpetual futures trading, such as monitoring recent trades, analyzing price movements, or tracking trading volume. Returns the most recent trade for each requested symbol, including price, size, timestamp, and tick direction. |
| `ALPACA_GET_CRYPTO_PERPS_GLOBAL_LATEST_BARS` | Get Crypto Perps Global Latest Bars | Retrieves the latest global OHLCV bars for crypto perpetual futures symbols, including trade count and volume-weighted average price. Use for real-time or near real-time price data for crypto perpetual futures contracts. |
| `ALPACA_GET_CRYPTO_PERPS_GLOBAL_LATEST_PRICING` | Get Crypto Perps Global Latest Pricing | Retrieves the latest global pricing data for crypto perpetual futures symbols, including mark price, index price, open interest, and funding rate. |
| `ALPACA_GET_CRYPTO_PERPS_GLOBAL_LATEST_QUOTES` | Get Crypto Perps Global Latest Quotes | Retrieves the latest global bid and ask quotes for specified crypto perpetual futures symbols. Use for current market prices or monitoring price movements. |
| `ALPACA_GET_CRYPTO_PERPS_GLOBAL_LATEST_TRADES` | Get Crypto Perps Global Latest Trades | Retrieves the latest trade data for specified crypto perpetual futures symbols. Use when you need real-time trade data for crypto perpetual futures trading, such as monitoring recent trades, analyzing price movements, or tracking trading volume. |
| `ALPACA_GET_CRYPTO_SNAPSHOTS` | Get Crypto Snapshots | Retrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple cryptocurrency symbols in a specific location. Use this action when you need comprehensive real-time market data for crypto symbols, such as building a crypto dashboard, checking current market conditions across multiple assets, or analyzing price movements before trading. Note: This endpoint uses the data.alpaca.markets base URL for crypto market data. |
| `ALPACA_GET_CRYPTO_US_LATEST_BARS` | Get Crypto US Latest Bars | Retrieves the latest OHLCV (Open, High, Low, Close, Volume) bars for US crypto symbols. Use this action when you need real-time or near real-time price data for multiple crypto trading pairs. Returns the most recent bar for each requested symbol, including open, high, low, close prices, volume, trade count, and volume-weighted average price. |
| `ALPACA_GET_CRYPTO_US_LATEST_ORDER_BOOKS` | Get Crypto US Latest Orderbooks | Retrieves the latest bid and ask orderbook data for specified crypto symbols in the US market. Use when you need real-time orderbook data for cryptocurrency trading in the US market, such as checking current market depth before placing orders or analyzing liquidity. Returns the most recent orderbook for each requested symbol, including bid and ask price levels with their sizes. |
| `ALPACA_GET_CRYPTO_US_LATEST_QUOTES` | Get Crypto US Latest Quotes | Retrieves the latest bid and ask prices for specified crypto symbols in the US location. Use when you need real-time quote data for cryptocurrency trading in the US market, such as checking current market prices before placing orders or monitoring price movements. |
| `ALPACA_GET_CRYPTO_US_LATEST_TRADES` | Get Crypto US Latest Trades | Retrieves the latest trade data for specified crypto symbols in the US location. Use when you need real-time trade data for cryptocurrency trading, such as monitoring recent trades, analyzing price movements, or tracking trading volume. |
| `ALPACA_GET_CRYPTO_US_QUOTES` | Get Crypto US Historical Quotes | Retrieves historical bid and ask quotes for specified crypto symbols in the US location, sorted by symbol and then timestamp. Use the data to analyze spreads, backtest strategies, or study market microstructure. |
| `ALPACA_GET_CRYPTO_US_SNAPSHOTS` | Get Crypto US Snapshots | Retrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple cryptocurrency symbols in the US market location. Use this action when you need comprehensive real-time market data for multiple crypto symbols in the US market, such as building a crypto dashboard, checking current market conditions across multiple assets, or analyzing price movements before trading. |
| `ALPACA_GET_CRYPTO_US_TRADES` | Get Crypto US Trades | Retrieves historical trade data for specified US crypto symbols. Use when you need to: - Get historical trade data for US crypto symbols at once - Analyze trading volume and price movements over time - Build datasets for backtesting or research - Query trades within a specific time range Results are sorted by symbol first, then by trade timestamp. If the response contains more data than the limit allows, use the next_page_token to continue fetching. |
| `ALPACA_GET_EXCHANGES` | Get Exchanges | Retrieves a list of supported stock exchanges with their short codes and full names from the Alpaca Market Data API. Use this action when you need to: - Get the mapping between exchange codes and full names - Understand what exchange codes like 'Z', 'V', 'N' mean in market data - Parse exchange identifiers in trading data responses This is a read-only operation that queries the stocks meta exchanges endpoint. |
| `ALPACA_GET_LATEST_BAR_FOR_STOCK_SYMBOL` | Get Latest Bar for Stock Symbol | Retrieves the latest OHLCV (Open, High, Low, Close, Volume) bar for a single stock symbol. Use this action when you need real-time or near real-time price bar data for a specific stock trading symbol. This is useful for dashboards, price monitoring, and triggering alerts based on current market conditions. Returns the most recent bar including open, high, low, close prices, volume, trade count, and volume-weighted average price. |
| `ALPACA_GET_LATEST_BARS_FOR_CRYPTO_SYMBOL` | Get Latest Bars For Crypto Symbol | Retrieves the latest OHLCV bar for a cryptocurrency pair in Alpaca's US location. The bar includes opening, high, low and closing prices, volume, trade count and volume-weighted average price. |
| `ALPACA_GET_LATEST_BARS_FOR_CRYPTO_SYMBOLS` | Get Latest Bars for Crypto Symbols | Retrieves the latest OHLCV (Open, High, Low, Close, Volume) bars for multiple crypto symbols. Use this action when you need real-time or near real-time price bar data for multiple cryptocurrency pairs simultaneously. This is useful for dashboards, price monitoring, and triggering alerts based on current market conditions. The response includes the most recent bar for each requested symbol, containing open, high, low, close prices, volume, trade count, and volume-weighted average price. |
| `ALPACA_GET_LATEST_BARS_FOR_MULTIPLE_STOCK_SYMBOLS` | Get Latest Bars for Multiple Stock Symbols | Retrieves the latest OHLCV (Open, High, Low, Close, Volume) bars for multiple stock symbols. Use this action when you need real-time or near real-time price bar data for multiple stock trading symbols simultaneously. This is useful for dashboards, price monitoring, and triggering alerts based on current market conditions. The response includes the most recent bar for each requested symbol, containing open, high, low, close prices, volume, trade count, and volume-weighted average price. |
| `ALPACA_GET_LATEST_ORDER_BOOKS_FOR_CRYPTO` | Get Crypto Latest Orderbooks | Retrieves the latest bid and ask orderbook data for specified crypto symbols. Use when you need real-time orderbook data for cryptocurrency trading, such as checking current market depth before placing orders or analyzing liquidity. Returns the most recent orderbook for each requested symbol, including bid and ask price levels with their sizes. |
| `ALPACA_GET_LATEST_QUOTE_FOR_CRYPTO_SYMBOL` | Get Crypto Latest Quote | Retrieves the latest bid and ask prices for a specified crypto symbol. Use when you need real-time quote data for a specific cryptocurrency, such as checking current market prices before placing an order or monitoring price movements. |
| `ALPACA_GET_LATEST_QUOTE_FOR_STOCK_SYMBOL` | Get Latest Quote for Stock Symbol | Retrieves the latest NBBO (National Best Bid and Offer) quote for a single stock symbol. Use this action when you need real-time or near real-time bid and ask prices for a specific stock trading symbol. This is useful for checking market conditions before placing an order or monitoring price movements for a single symbol. Note: This endpoint uses the data.alpaca.markets base URL for stock data. |
| `ALPACA_GET_LATEST_QUOTES_FOR_MULTIPLE_CRYPTO_SYMBOLS` | Get Crypto Latest Quotes | Retrieves the latest bid and ask prices for specified crypto symbols. Use when you need real-time quote data for cryptocurrency trading, such as checking current market prices before placing orders or monitoring price movements. |
| `ALPACA_GET_LATEST_QUOTES_FOR_MULTIPLE_STOCK_SYMBOLS` | Get Latest Quotes for Multiple Stock Symbols | Retrieves the latest NBBO (National Best Bid and Offer) quotes for multiple stock symbols. Use this action when you need real-time or near real-time bid and ask prices for multiple stock trading symbols simultaneously. This is useful for checking market conditions before placing orders, monitoring price movements, or evaluating spread opportunities. The response includes the most recent quote for each requested symbol, containing bid price, ask price, bid size, ask size, and exchange information. |
| `ALPACA_GET_LATEST_TRADE_FOR_STOCK_SYMBOL` | Get Latest Trade for Stock Symbol | Retrieves the latest trade data for a single stock symbol. Use this action when you need the most recent trade information for a specific stock ticker, such as checking current market price and volume before placing an order or monitoring real-time price movements for a single symbol. This provides the single most recent trade including price, size, exchange, and timestamp. Note: This endpoint uses the data.alpaca.markets base URL for stock market data. |
| `ALPACA_GET_LATEST_TRADES_FOR_MULTIPLE_CRYPTO_SYMBOLS` | Get Latest Crypto Trades | Retrieves the latest trade data for specified crypto symbols. Use when you need real-time trade data for cryptocurrency trading, such as monitoring recent trades, analyzing price movements, or tracking trading volume. |
| `ALPACA_GET_LATEST_TRADES_FOR_MULTIPLE_STOCK_SYMBOLS` | Get Latest Trades for Multiple Stock Symbols | Retrieves the latest trade data for multiple stock symbols. Use this action when you need real-time or near real-time trade data for multiple stock trading symbols simultaneously. This is useful for dashboards, trade monitoring, and triggering alerts based on current market conditions. The response includes the most recent trade for each requested symbol, containing price, size, timestamp, exchange, and trade conditions. |
| `ALPACA_GET_MARKET_CALENDAR` | Get Market Calendar | Retrieves market calendar information for a specific exchange from the Alpaca Trading API. Use this action when you need to: - Get market open and close times for a specific exchange (NYSE, NASDAQ, etc.) - Check trading session times for a particular market - Verify market operating hours for specific date ranges - Plan trading activities around specific market hours This is a read-only operation that returns market calendar data for the specified exchange. |
| `ALPACA_GET_META_EXCHANGES` | Get Meta Exchanges | Retrieves US stock exchange identifiers and names from the Alpaca Market Data API. The returned exchange type is set to "exchange" by the action. |
| `ALPACA_GET_MOST_ACTIVES` | Get Most Active Stocks | Retrieves the most active stocks by trading volume or trade count. Use this action when you need to: - Fetch top traded stocks for the current period - Monitor market liquidity and activity - Build trading signals based on volume or trade frequency - Analyze market breadth through most active stocks Note: This endpoint uses data.alpaca.markets base URL and provides real-time SIP data for US stock markets. |
| `ALPACA_GET_NEWS` | Get News | Retrieves news articles for specified crypto symbols from the Alpaca Market Data API. Use this action when you need to: - Fetch the latest news for crypto assets (BTCUSD, ETHUSD, etc.) - Monitor news sentiment for trading decisions - Build news-based signals or alerts - Get historical news for specific time periods Note: The data.alpaca.markets endpoint is used for news API requests. |
| `ALPACA_GET_OPEN_POSITION` | Get Open Position | Fetches a single open position by symbol or asset ID. Use when you need to retrieve detailed information about a specific position, including cost basis, shares traded, market value, and unrealized P&L. This action is useful for checking the current status of a particular holding, monitoring P&L for a specific symbol, or verifying position details after placing or closing orders. Returns real-time updated information as price data changes. Note: The position must be currently open to be retrieved through this endpoint. Once closed, the position will no longer be queryable. |
| `ALPACA_GET_OPTION_BARS` | Get Options Historical Bars | Retrieves historical OHLCV (Open, High, Low, Close, Volume) bars for options contracts. Use this action when you need to analyze historical price movements and trading activity for specific option contracts over a given timeframe. The bars are aggregated based on the specified timeframe (e.g., 1 minute, 5 minutes, 1 hour, 1 day). Results are sorted by symbol first, then by timestamp. |
| `ALPACA_GET_OPTION_CHAIN` | Get Option Chain | Retrieves option-chain snapshots for an underlying symbol, with optional type, strike and expiration filters. Snapshots may include quotes and Greeks; the response can include a next-page token. |
| `ALPACA_GET_OPTION_CONTRACT_SYMBOL_OR_ID` | Get Option Contract | Retrieves an option contract by its OCC symbol or Alpaca ID, including contract specifications and available open interest and closing price information. |
| `ALPACA_GET_OPTION_LATEST_QUOTES` | Get Option Latest Quotes | Retrieves the latest bid and ask prices for specified option symbols. Use when you need real-time quote data for options trading, such as checking current market prices before placing orders or monitoring price movements. |
| `ALPACA_GET_OPTION_META_CONDITIONS` | Get Options Meta Conditions | Retrieves the mapping of condition codes to their names from Alpaca Markets API for the specified tick type (trade or quote conditions). Use this action when you need to: - Decode condition codes from options market data - Get the list of all valid condition codes and their meanings for a specific tick type - Translate raw condition code integers to human-readable names This is a read-only action that queries the options meta conditions endpoint. |
| `ALPACA_GET_OPTIONS_CONTRACTS` | Get Option Contracts | Retrieve option contracts from Alpaca Markets API (BETA). Use this action when you need to: - Search for option contracts by underlying symbol - Filter contracts by expiration date, strike price, type (call/put), or style - Get a paginated list of all available option contracts - Find contracts eligible for penny price increments By default, only active contracts expiring before the upcoming weekend are returned. |
| `ALPACA_GET_OPTIONS_LATEST_TRADES` | Get Options Latest Trades | Retrieves the latest trade for each requested option contract symbol. Use this action when you need to: - Get the most recent trade price and size for specific option contracts - Check the last traded time for option symbols before trading - Monitor real-time trading activity for option positions This endpoint requires market data subscription and uses the data.alpaca.markets base URL. |
| `ALPACA_GET_OPTIONS_META_CONDITIONS_TRADE` | Get Options Meta Conditions Trade | Retrieves the mapping of trade condition codes to their names from Alpaca Markets API. Use this action when you need to: - Decode trade condition codes from options market data - Get the list of all valid trade condition codes and their meanings - Translate raw condition code integers to human-readable names This is a read-only action that queries the options meta conditions endpoint. |
| `ALPACA_GET_OPTION_SNAPSHOTS` | Get Options Snapshots | Retrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple option contract symbols. Use this action when you need comprehensive real-time market data for option contracts, such as building an option price dashboard, checking current bid/ask prices across multiple option strikes, or analyzing intraday price movements before trading. Note: This endpoint requires market data subscription and uses the data.alpaca.markets base URL. |
| `ALPACA_GET_OPTIONS_SNAPSHOTS_UNDERLYING_SYMBOL` | Get Options Snapshots by Underlying Symbol | Retrieves a page of option chain snapshots for an underlying symbol, with optional contract filters. Snapshots may include latest trades, quotes, Greeks, and implied volatility; use the pagination token to retrieve further results. |
| `ALPACA_GET_OPTION_TRADES` | Get Options Historical Trades | Retrieves historical trade data for option contracts. Use this action when you need to: - Analyze historical trade activity for option contracts - Review past trades for specific option symbols - Calculate volume patterns and trading activity - Track price movements over specific time periods Note: This endpoint uses the data.alpaca.markets base URL and requires market data subscription. |
| `ALPACA_GET_PDT_STATUS` | Get PDT Status | Retrieves Pattern Day Trader (PDT) status for the authenticated Alpaca trading account, including available PDT flags and call counts. |
| `ALPACA_GET_POSITIONS_FOR_ACCOUNT` | List account positions | Lists open positions for the authenticated trading account, including portfolio holdings and unrealized P&L. The required account ID does not select a different account. |
| `ALPACA_GET_QUOTES_FOR_MULTIPLE_STOCK_SYMBOLS` | Get Quotes for Multiple Stock Symbols | Retrieves historical quote (bid/ask) data for multiple stock symbols. Use this action when you need historical quote data including bid and ask prices for multiple stock trading symbols. This is useful for trading analysis, backtesting strategies, and monitoring price spreads. Note: Results are sorted by symbol first, then by timestamp. If you hit the limit for one symbol, subsequent symbols won't appear in the response - use next_page_token to get more results. |
| `ALPACA_GET_QUOTES_FOR_STOCK_SYMBOL` | Get Quotes for Stock Symbol | Retrieves historical NBBO (National Best Bid and Offer) quotes for a specific stock symbol. Use this action when you need historical quote data for a single stock symbol, such as for analysis, backtesting trading strategies, or research purposes. You can filter results by time range using start and end parameters. The response includes an array of quotes with bid/ask prices, sizes, and exchange information. Pagination is supported via the page_token parameter when results exceed the limit. |
| `ALPACA_GET_SNAPSHOT_FOR_STOCK_SYMBOL` | Get Stock Snapshot for Symbol | Retrieves a snapshot (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for a single stock symbol. Use this action when you need comprehensive real-time market data for a single stock symbol, such as checking current market conditions, displaying price information, or analyzing price movements before trading. This endpoint requires the data.alpaca.markets API. |
| `ALPACA_GET_SNAPSHOTS_FOR_MULTIPLE_CRYPTO_SYMBOLS` | Get Crypto Snapshots | Retrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple cryptocurrency symbols. Use this action when you need comprehensive real-time market data for multiple crypto symbols, such as building a crypto dashboard, checking current market conditions across multiple assets, or analyzing price movements before trading. |
| `ALPACA_GET_SNAPSHOTS_FOR_MULTIPLE_STOCK_SYMBOLS` | Get Stock Snapshots for Multiple Symbols | Retrieves snapshots (latest trade, latest quote, minute bar, daily bar, and previous daily bar) for multiple stock symbols. Use this action when you need comprehensive real-time market data for multiple stock symbols, such as building a stock dashboard, checking current market conditions across multiple stocks, or analyzing price movements before trading. This endpoint requires the data.alpaca.markets API. |
| `ALPACA_GET_SPECIFIC_ANNOUNCEMENT` | Get Specific Announcement | Retrieves a specific corporate action announcement by its unique identifier. Use this action when you need to fetch detailed information about a corporate action such as dividends, stock splits, mergers, spinoffs, or other corporate events. This is a read-only operation that returns the complete announcement details including the corporate action type, relevant dates (ex-date, record date, payable date), and any associated values (cash amounts, split ratios, etc.). The response includes the announcement ID which can be used for reference or correlation with other systems. |
| `ALPACA_GET_STOCK_AUCTIONS` | Get Stock Auctions | Retrieves historical auction data for specified stock symbols. Use this action when you need to: - Analyze opening and closing auction prices for stocks - Study pre-market and post-market auction behavior - Understand auction volume and price discovery - Monitor auction-based market data for trading decisions Results are sorted by timestamp in descending order (most recent first). Pagination is supported via the page_token field. Note: This endpoint uses the data.alpaca.markets base URL and requires appropriate data subscriptions for SIP and OTC feeds. |
| `ALPACA_GET_STOCK_AUCTION_SINGLE` | Get Stock Auctions for Symbol | Retrieves historical auction (opening/closing print) data for a single stock symbol. Use this action when you need to analyze auction-related price and volume data for a specific stock ticker. This is useful for: - Understanding opening and closing auction prices - Analyzing auction volume and liquidity - Studying price discovery at market open and close - Trading strategies based on auction data Note: This endpoint uses the data.alpaca.markets base URL and requires appropriate data subscriptions for SIP and OTC feeds. |
| `ALPACA_GET_STOCKS_META_CONDITIONS_TRADE` | Get Stocks Meta Conditions Trade | Retrieves stock trade condition code names for a specified tape. Use it to decode trade condition codes from stock market data. |
| `ALPACA_GET_SUBSCRIPTION` | Get Subscription | Retrieves a rebalancing subscription by its unique ID. Returns complete subscription details including the associated account ID, portfolio ID, creation timestamp, and last rebalancing timestamp. Use when you need to fetch subscription information for an existing rebalancing setup. Note: If the subscription_id is invalid or malformed, a 400 error is returned. If the subscription does not exist, a 404 error is returned. |
| `ALPACA_GET_TOP_MOVERS_BY_MARKET_TYPE` | Get Top Movers By Market Type | Retrieves the top market movers (gainers and losers) for a specified market type. Use this action when you need to: - Fetch top gainers and losers for stock market analysis - Get cryptocurrency movers for crypto trading strategies - Identify assets with significant price movements - Build market sentiment indicators Note: The screener endpoint uses data.alpaca.markets, not api.alpaca.markets. |
| `ALPACA_GET_TRADES_FOR_MULTIPLE_CRYPTO_SYMBOLS` | Get Trades for Multiple Crypto Symbols | Retrieves historical trade data for specified crypto symbols. Use when you need to: - Get historical trade data for multiple crypto symbols at once - Analyze trading volume and price movements over time - Build datasets for backtesting or research - Monitor trades across different exchanges Results are sorted by symbol first, then by trade timestamp. If the response contains more data than the limit allows, use the next_page_token to continue fetching. |
| `ALPACA_GET_TRADES_FOR_MULTIPLE_STOCK_SYMBOLS` | Get Trades for Multiple Stock Symbols | Retrieves historical trade data for multiple stock symbols. Use this action when you need: - Historical trade data for multiple stock symbols at once - Analyze trading volume and price movements over time - Build datasets for backtesting or research - Monitor trades across different exchanges Results are sorted by symbol first, then by trade timestamp. If the response contains more data than the limit allows, use the next_page_token to continue fetching. Note: This endpoint uses the data.alpaca.markets base URL and requires appropriate data subscriptions for SIP and OTC feeds. |
| `ALPACA_GET_TRADES_FOR_STOCK_SYMBOL` | Get Historical Trades for Stock Symbol | Retrieves historical trade data for a single stock symbol from Alpaca's market data API. Trade records include price, size, exchange and timestamp, and may include trade conditions. |
| `ALPACA_GET_WATCHLIST_BY_ID` | Get Watchlist By ID | Retrieves a single watchlist by its unique identifier. Use when you need to view the details of a specific watchlist, including its name, associated assets, and timestamps. This endpoint provides direct access to a watchlist using its ID rather than requiring account-level traversal. This is a read-only operation that does not modify any data. |
| `ALPACA_GET_WATCHLIST_BY_NAME` | Get Watchlist By Name | Retrieves a specific watchlist by its name. Use when you need to find a particular watchlist without knowing its ID, such as when managing watchlists for display or modification. Returns the watchlist details including all contained symbols. If multiple watchlists share the same name, the API may return the first match. |
| `ALPACA_GET_WATCHLISTS` | Get Watchlists | Retrieves all watchlists associated with the authenticated account. Use this action when you need to: - View all watchlists for an account - Find a specific watchlist by name - Check what symbols are being tracked before adding or removing symbols - Get watchlist IDs for subsequent operations This is a read-only operation that returns the current state of all watchlists including their metadata (ID, name, timestamps) and the assets contained within each. |
| `ALPACA_LIST_ASSETS` | List Assets | Lists Alpaca assets, optionally filtered by catalog properties. |
| `ALPACA_PATCH_ACCOUNT_CONFIGURATIONS` | Update Account Configurations | Update the trading account configuration settings for the authenticated account. Use when you need to modify account-level trading settings such as day-trading buying power checks, fractional trading permissions, margin multiplier limits, shorting restrictions, or trade confirmation email preferences. Supports partial updates - only specify the settings you want to change. Settings not included in the request remain unchanged. This action operates on the currently authenticated account and does not require an account_id parameter. |
| `ALPACA_REMOVE_ASSET_FROM_WATCHLIST` | Remove Asset From Watchlist | Removes a symbol from an existing watchlist in Alpaca. Use this action when you need to delete a ticker symbol from a watchlist that is no longer being tracked. The action returns the updated watchlist after the symbol has been removed. This action is irreversible - once a symbol is removed from a watchlist, it cannot be recovered through this API. You would need to re-add it using a separate add-to-watchlist action if available. |
| `ALPACA_REMOVE_SYMBOL_FROM_WATCHLIST` | Remove Symbol From Watchlist | Tool to remove a symbol from an existing watchlist in Alpaca. Use when you need to delete a ticker symbol from a watchlist that is no longer being tracked. This action is irreversible - once a symbol is removed from a watchlist, it cannot be recovered through this API. You would need to re-add it using ALPACA_ADD_ASSET_TO_WATCHLIST. |
| `ALPACA_SUBMIT_ORDER` | Submit Order | Submit a stock, option, crypto, advanced, or multi-leg Alpaca order. WARNING: On a live connection, this uses real money and may fill immediately. |
| `ALPACA_UPDATE_TRADING_CONFIGURATIONS` | Update Trading Configurations | Updates trading account configurations for an Alpaca trading account. Use when you need to modify account-level trading settings such as day-trading buying power checks, trade confirmation email preferences, or trading restrictions. Supports partial updates - only specify the settings you want to change. Settings not included in the request remain unchanged. This action requires the 'account:write' scope. |
| `ALPACA_UPDATE_WATCHLIST_BY_ID` | Update Watchlist By ID | Updates an existing watchlist by ID, supplying its name and optionally a replacement list of symbols. When provided, the symbols replace the existing symbols in the watchlist. |
| `ALPACA_UPDATE_WATCHLIST_BY_NAME` | Update Watchlist By Name | Updates an existing watchlist by its name. Use when you need to modify the symbols in a watchlist or rename it. The action allows partial updates - you can provide only symbols to update the watchlist contents, only a new_name to rename it, or both to update both. At least one of new_name or symbols must be provided. Note: The `name` parameter identifies which watchlist to update (case-insensitive). |
| `ALPACA_UPDATE_WATCHLIST_BY_NAME2` | Update Watchlist By Name (v2) | Updates an existing watchlist by its name. Use when you need to modify the symbols in a watchlist or rename it. The action allows partial updates - you can provide only symbols to update the watchlist contents, only a new_name to rename it, or both to update both. At least one of new_name or symbols must be provided. Note: The `name` parameter identifies which watchlist to update (case-insensitive). |
| `ALPACA_UPLOAD_ACCOUNT_CIP` | Upload Account CIP Information | Upload CIP (Customer Identification Program) information for an account to complete identity verification. Use when you need to submit identity information for a new Alpaca trading account as part of the account onboarding process. This action is typically called after account creation to provide the required identity verification data including citizenship, tax ID, and name. |

## Supported Triggers

None listed.

## Creating MCP Server - Stand-alone vs Composio SDK

Once connected, your Grok bot can access the Alpaca MCP server through Composio to run the actions you authorize, using plain language in the chat.

## Complete Code

None listed.

## Conclusion

### Way Forward
Now that Alpaca is connected, extend your setup by connecting the other apps you already use every day, so your Grok bot can run true cross-app workflows end to end.
- Connect Calendar to turn threads into scheduled meetings automatically.
- Connect Slack or Teams to post summaries, approvals, and alerts where your team works.
- Connect Notion, Linear, Jira, or Asana to convert requests into tickets, tasks, and docs.
- Connect Drive, Dropbox, or OneDrive to fetch, file, and share attachments without manual steps.
Start with one workflow you do repeatedly, then keep adding apps as you find new handoffs. With everything behind a single connection, your bot can coordinate multiple tools safely and reliably in one conversation.

## How to build Alpaca MCP Agent with another framework

- [Claude Cowork](https://composio.dev/toolkits/alpaca/framework/claude-cowork)
- [Codex](https://composio.dev/toolkits/alpaca/framework/codex)

## Related Toolkits

- [Stripe](https://composio.dev/toolkits/stripe) - Stripe is a global online payments platform offering APIs for managing payments, customers, and subscriptions. Trusted by businesses for secure, efficient, and scalable payment processing worldwide.
- [44API](https://composio.dev/toolkits/44api) - 44API is an API service for validating VAT and tax identifiers and returning company details. Use it to verify business tax data and manage account IP whitelists quickly.
- [Airwallex](https://composio.dev/toolkits/airwallex) - Airwallex is a global financial platform providing business accounts, payments, payouts, FX, and cards. Built to simplify cross-border payments and streamline financial operations for businesses.
- [Aiwyn Tax MCP](https://composio.dev/toolkits/aiwyn_tax_mcp) - Aiwyn Tax MCP is a tax estimation service powered by Aiwyn's federal and state tax engine. It helps teams estimate tax outcomes without building tax calculation logic from scratch.
- [Alpha vantage](https://composio.dev/toolkits/alpha_vantage) - Alpha Vantage is a financial data platform offering real-time and historical stock market APIs. Get instant, reliable access to equities, forex, and technical analysis data for smarter trading decisions.
- [Altoviz](https://composio.dev/toolkits/altoviz) - Altoviz is a cloud-based billing and invoicing platform for businesses. It streamlines online payments, expense tracking, and customizable invoice management.
- [Anrok](https://composio.dev/toolkits/anrok) - Anrok is a sales tax platform for software businesses that automates calculations, compliance, filings, and exemption management. It helps finance teams stay accurate and reduce the manual work of tax operations.
- [Benzinga](https://composio.dev/toolkits/benzinga) - Benzinga provides real-time financial news and data APIs for market coverage. It helps you track breaking news and actionable market insights instantly.
- [bexio](https://composio.dev/toolkits/bexio) - bexio is a Swiss business management platform for accounting, invoicing, contacts, projects, banking, expenses, and payroll. It brings core business operations into one connected workspace.
- [Bigdata.com MCP](https://composio.dev/toolkits/bigdata_com_mcp) - Bigdata.com MCP provides grounded access to financial news, transcripts, filings, and entity intelligence. Ideal for building research workflows and generating timely market insights.
- [Billsby](https://composio.dev/toolkits/billsby) - Billsby is a subscription billing platform for managing customers, subscriptions, invoices, products, plans, usage counters, add-ons, and allowances. It helps SaaS and subscription teams automate billing operations without building complex billing logic from scratch.
- [Brex](https://composio.dev/toolkits/brex) - Brex provides corporate credit cards and spend management tailored for startups and tech businesses. It helps optimize company cash flow, streamline accounting, and accelerate business growth.
- [Carta](https://composio.dev/toolkits/carta) - Carta is an equity management platform for cap tables, compensation, portfolios, and fund administration. It helps companies and investors manage ownership data and financial operations in one place.
- [Cashfree](https://composio.dev/toolkits/cashfree_payments_mcp) - Cashfree is a merchant payments platform that handles collection, payouts, subscriptions, settlements, refunds, and identity verification. Simplifies merchant money lifecycle management with unified, API-driven workflows.
- [Chaser](https://composio.dev/toolkits/chaser) - Chaser is accounts receivable automation software that sends invoice reminders and helps businesses get paid faster. It streamlines the collections process to save time and improve cash flow.
- [Clarity AI MCP](https://composio.dev/toolkits/clarity_ai_mcp) - Clarity AI MCP is an MCP toolkit for simulating SFDR 2.0 fund classifications from a fund name, ISIN, or CUSIP. Use it to tap Clarity AI disclosure data and modeling without building custom sustainability-data workflows.
- [Clientary](https://composio.dev/toolkits/clientary) - Clientary is a platform for managing clients, invoices, projects, proposals, and more. It streamlines client work and saves you serious admin time.
- [Coinbase](https://composio.dev/toolkits/coinbase) - Coinbase is a platform for buying, selling, and storing cryptocurrency. It makes exchanging and managing crypto simple and secure for everyone.
- [Coinbase Agents MCP](https://composio.dev/toolkits/coinbase_agents_mcp) - Coinbase Agents MCP is Coinbase's managed toolkit exposing accounts, portfolios, orders, fills, and market data. Use it to let authorized agents inspect holdings, execute trades, perform transfers, and handle payments.
- [Coinbase Wallet MCP](https://composio.dev/toolkits/coinbase_wallet_mcp) - Coinbase Wallet MCP is Coinbase's wallet service for interacting with onchain accounts. Use it to give agents secure, structured access to inspect wallets and request onchain actions.

## Frequently Asked Questions

### What are the differences in Tool Router MCP and Alpaca MCP?

With a standalone Alpaca MCP server, the agents and LLMs can only access a fixed set of Alpaca tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Alpaca and many other apps based on the task at hand, all through a single MCP endpoint.

### Can I use Tool Router MCP with Grok Bot?

Yes, you can. Grok Bot fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Alpaca tools.

### Can I manage the permissions and scopes for Alpaca while using Tool Router?

Yes, absolutely. You can configure which Alpaca scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

### How safe is my data with Composio Tool Router?

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Alpaca data and credentials are handled as safely as possible.

---
[See all toolkits](https://composio.dev/toolkits) · [Composio docs](https://docs.composio.dev/llms.txt)
