melso
AutomationUse casesChangelog
Start your business
Commerce

Connect your AI agent to Alpaca

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

Set it up in Melso

  1. 1In Melso, open Settings → Agent Apps and hit Connect on Alpaca.
  2. 2Finish the API_KEY / OAUTH2 sign-in in the window that opens. Melso stores the connection, not your credentials.
  3. 3Open your agent, go to its Agent Apps tab, and allow Alpaca.
  4. 4Give the agent a task. It calls Alpaca itself when the work needs it.
Get Melso
Alpaca
alpaca
100
tools
0
triggers
API_KEY / OAUTH2
auth
#268
rank
CommerceDeveloper Tools
What you get

What Alpaca gives your agent

The tools, permissions, and events Alpaca exposes — the same ones your agent can use once the app is authorized.

What you sign in with

Alpaca connects with API_KEY / OAUTH2.

  • Client id
  • Client secret

Permissions

account:writetradingdata

Tools Alpaca exposes

ALPACA_ADD_ASSET_TO_WATCHLIST

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.

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

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

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

ALPACA_DELETE_ALL_OPEN_POSITIONS

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.

ALPACA_DELETE_ALL_ORDERS_FOR_ACCOUNT

Delete All Orders for Account

Attempts to cancel all open orders for a specified trading account. A response will be provided for each order that is attempted to be cancelled. This action is irreversible for individual orders that are successfully cancelled.

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.

Example prompts

  • Use Alpaca to check recent changes and summarize them in the issue.
  • When a customer writes in, pull their data from Alpaca before replying.
  • Audit our open items in Alpaca and notify the channel of anything stale.

Useful links

  • Alpaca website
  • Melso Agent Apps docs

More in Commerce

  • Alpaca
  • AWS Marketplace MCP
  • Commerce Layer
  • Gelato
  • HitPay
Related apps

Compare nearby apps

Other Commerce connections your agents can use.

GitHub

Connect to GitHub

GitHub is a code hosting platform for version control and collaboration, offering Git-based repository management, issue tracking, and continuous integration features

871 toolsOAUTH2
Supabase

Connect to Supabase

Supabase is an open-source backend-as-a-service providing a Postgres database, authentication, storage, and real-time subscription APIs for building modern applications

124 toolsOAUTH2 / API_KEY
Code Interpreter

Connect to Code Interpreter

CodeInterpreter extends Python-based coding environments with integrated data analysis, enabling developers to run scripts, visualize results, and prototype solutions inside supported platforms

5 toolsNo auth
Firecrawl

Connect to Firecrawl

Firecrawl automates web crawling and data extraction, enabling organizations to gather content, index sites, and gain insights from online sources at scale

29 toolsAPI_KEY
Tavily

Connect to Tavily

Tavily offers search and data retrieval solutions, helping teams quickly locate and filter relevant information from documents, databases, or web sources

5 toolsAPI_KEY
Bitbucket

Connect to Bitbucket

Bitbucket is a Git-based code hosting and collaboration platform supporting private and public repositories, enabling teams to manage and review code through pull requests and integrations

108 toolsOAUTH2
melso

Run your company with AI agents.

Start your business

Product

  • Home
  • Automation
  • Melso vs Polsia
  • Use cases
  • Changelog
  • Download

Resources

    Company

    • About
    • Contact Sales

    © 2026 Melso. All rights reserved.