Alpaca logo
AI agent integrationAlpaca

Alpaca integration for multiplayer collaboration with AI agents using Claude Code or Codex

One governed connection your whole team and its AI agents can share, with approved actions and human review, so working in Alpaca never means pasting credentials into a prompt.

Use Alpaca from Claude Code

Bring Alpaca context into engineering work while Type keeps app access attached to the teammate and workspace.

Automate Alpaca with Codex

Let coding agents ask for the right app action, preserve conversation context, and keep humans in the approval loop.

Connect open agent workflows

Use Type as the collaboration layer around OpenClaw and other LLM workflows that need app access.

Commerce & Payments

What the Alpaca integration exposes

Stock and crypto trading platform with commission-free trading, real-time market data, and algorithmic trading capabilities

One connection, many teammates

Connect Alpaca once, then decide which teammates can use it for threads, automations, skills, and coding work.

Representative actions

  • Add Asset to Watchlist

    Adds a symbol to an existing watchlist in the authenticated account. Use when you need to track a new security in an existing watchlist. This action appends the specified symbol to the end of the watchlist's asset list. The watchlist_id can be obtained from the ALPACA_GET_WATCHLISTS action.

  • 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.

  • 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).

  • Create Watchlist

    Create a new watchlist for the authenticated account. Use when you need to create a watchlist to track specific securities. The name must contain only alphanumeric characters (no spaces or special characters).

  • Delete All Open Positions

    Liquidates all open positions by closing them at market price. This action is irreversible and will permanently close all positions in the account. Use when you need to quickly exit all positions, such as before closing an account or in emergency situations. Optionally cancels all open orders before liquidating positions.

Connection

API and auth details

Alpaca provides developer-first financial APIs for stock, ETF, options, crypto, and fixed-income trading, paper trading, market data, broker infrastructure, account funding, orders, positions, portfolio history, corporate actions, streaming data, official SDKs, OpenAPI resources, and AI-agent/MCP-oriented tooling.

FAQ

Questions people ask before connecting Alpaca

Can Claude Code use Alpaca?

Yes. Type lets an AI teammate use connected Alpaca actions from a governed workspace context, so Claude Code work can reference the app without copying credentials into a local prompt.

Can Codex work with Alpaca through Type?

Yes. Codex can collaborate through Type with app context, skills, and approved actions. The Alpaca catalog entry includes public integration details and example capabilities where available.

Is this the same as a Alpaca MCP server?

Type exposes connected app capabilities to AI teammates and coding agents through Type's integration layer. Teams use it when they want shared app access, human review, and teammate-level permissions around agent work.

More commerce & payments apps for AI teammates