Alpaca integration: operations for AI agents
Alpaca connects to Type.com as an integration. This page lists the 98 operations documented for Claude and Codex in Type.com: 76 read, 12 write, 10 destructive.
About Alpaca
Stock and crypto trading platform with commission-free trading, real-time market data, and algorithmic trading capabilities
Categories: Commerce & Payments
How to connect Alpaca to Type.com
- Access
- Organization connection: one shared account for the workspace.
- MCP
- Selected financial-trading operations are not available through Type’s MCP server. Other operations remain available through MCP, subject to your connection’s permissions. These MCP restrictions do not apply within Type.
To add the connection, follow the steps in Space connections.
Documented operations
98 operations. Your connection's permissions determine which operations are available. API references describe the vendor surface; they do not expand your connection's credentials or access.
98 operations listed.
Locates
- Read
List Locates
Returns locates filtered by status, symbol, or date range. Results are sorted by createdat descending, with id descending as the tie-breaker. This endpoint is not available in paper trading.
- Read
Get Locate
Returns a locate by ID. This endpoint is not available in paper trading.
- Read
Get Locate Quotes
Returns locate availability and pricing for one or more symbols. This endpoint is not available in paper trading.
- Write
Create Locate
Creates a locate request for a short sale. This endpoint is not available in paper trading. Idempotency: Reusing the same key with the same request returns the original locate response. Reusing the same key with a different request returns HTTP 422.
Events
- Read
Subscribe to Activity Events (SSE)
The Events API sends the real-time events and provides historical queries with SSE (Server Sent Events). This endpoint streams events on account activities. Historical events are streamed immediately if queried, and updates are pushed as events occur.
Accounts
- Read
Get Account
Returns your account details.
Account Activities
- Read
Retrieve Account Activities
Returns a list of activities Notes: Pagination is handled using the pagetoken and pagesize parameters. pagetoken represents the ID of the last item on your current page of results.
- Read
Retrieve Account Activities of Specific Type
Returns account activity entries for a specific type of activity.
Account Configurations
- Read
Get Account Configurations
gets the current account configuration values
- Write
Account Configurations
Updates and returns the current account configuration values
Portfolio History
- Read
Get Account Portfolio History
Returns timeseries data about equity and profit/loss (P/L) of the account in requested timespan.
Assets
- Read
Get Assets
The assets API serves as the master list of assets available for trade and data consumption from Alpaca. Assets are sorted by asset class, exchange and symbol.
- Read
Get an Asset by ID or Symbol
Get the asset model for a given symbol or assetid. The symbol or assetid should be passed in as a path parameter. Note: For crypto, the symbol has to follow old symbology, e.g. BTCUSD. Note: For coin pairs, the symbol should be separated by a slash (/), e.g. BTC/USDT.
- Read
Get Option Contracts
This endpoint allows you to retrieve a list of option contracts based on various filtering criteria. By default only active contracts that expire before the upcoming weekend are returned.
- Read
Get an option contract by ID or Symbol
Get an option contract by symbol or contract ID. The symbol or id should be passed in as a path parameter.
Calendar
- Read
Get US Market Calendar
The calendar API serves the full list of market days from 1970 to 2029. It can also be queried by specifying a start and/or end time to narrow down the results.
- Read
Get Market Calendar
This endpoint returns the market calendar.
Clock
- Read
Get US Market Clock
The clock API serves the current market timestamp, whether or not the market is currently open, as well as the times of the next market open and close.
- Read
Get Market Clock
This API serves information about multiple markets: the current time, if it's a market day, the current phase of the market, etc.
Orders
- Read
Get All Orders
Retrieves a list of orders for the account, filtered by the supplied query parameters.
- Read
Get Order by ID
Retrieves a single order for the given orderid.
- Read
Get Order by Client Order ID
Retrieves a single order specified by the client order ID.
- Write
Create an Order
Places a new order for the given account. An order request may be rejected if the account is not authorized for trading, or if the tradable balance is insufficient to fill the order.
- Write
Replace Order by ID
Replaces a single order with updated parameters. Each parameter overrides the corresponding attribute of the existing order. The other attributes remain the same as the existing order.
- Destructive
Delete All Orders
Attempts to cancel all open orders. A response will be provided for each order that is attempted to be cancelled. If an order is no longer cancelable, the server will respond with status 500 and reject the request.
- Destructive
Delete Order by ID
Attempts to cancel an Open Order. If the order is no longer cancelable, the request will be rejected with status 422; otherwise accepted with return status 204.
Positions
- Read
All Open Positions
The positions API provides information about an account's current open positions. The response will include information such as cost basis, shares traded, and market value, which will be updated live as price information is updated.
- Read
Get an Open Position
Retrieves the account's open position for the given symbol or assetId.
- Write
Do Not Exercise an Options Position
This endpoint enables users to submit a do-not-exercise (DNE) instruction for a held option contract, preventing automatic exercise at expiry. By default, Alpaca will automatically exercise in-the-money (ITM) contracts at expiry.
- Write
Exercise an Options Position
This endpoint enables users to exercise a held option contract, converting it into the underlying asset based on the specified terms. All available held shares of this option contract will be exercised.
- Destructive
Close All Positions
Closes (liquidates) all of the account's open long and short positions. A response will be provided for each order that is attempted to be cancelled. If an order is no longer cancelable, the server will respond with status 500 and reject the request.
- Destructive
Close a Position
Closes (liquidates) the account's open position for the given symbol. Works for both long and short positions.
Tokenization
- Read
List Tokenization Requests
An Authorized Participant can use this endpoint to list the tokenization requests performed on the Instant Tokenization Network (ITN).
- Read
Get Tokenization Request by ID
An Authorized Participant can use this endpoint to retrieve a single tokenization request, mint or redeem, by its tokenizationrequestid.
- Read
Get Tokenization Request by clientrequestid
An Authorized Participant can use this endpoint to retrieve a single mint tokenization request by their own clientrequestid -- the AP-supplied label originally passed on the mint request.
- Write
Mint a Tokenized Asset
This endpoint is used by an Authorized Participant to request the minting of a tokenized asset. Idempotency: When the Idempotency-Key header is supplied, this endpoint is idempotent. Multiple requests with the same key and identical request body will create only one mint request.
Crypto Funding
- Read
Retrieve Crypto Funding Wallets
Lists wallets for the account given in the path parameter. If an asset is specified and no wallet for the account and asset pair exists one will be created. If no asset is specified only existing wallets will be listed for the account.
- Read
Returns the estimated gas fee for a proposed transaction.
Returns the estimated on-chain network (gas) fee for a proposed crypto withdrawal at current chain conditions. Pass the asset, fromaddress, toaddress, and amount you intend to send; the response reports the network fee that would be charged for the corresponding transaction.
- Read
Retrieve Crypto Funding Transfers
Returns an array of all transfers associated with the given account across all wallets.
- Read
Retrieve a Crypto Funding Transfer
Returns a specific wallet transfer by passing into the query the transferid.
- Read
Search for VASPs
Search for Virtual Asset Service Providers, or crypto exchanges, on Notabene's network. This endpoint can be used to find the VASP DID for your beneficiary's exchange when submitting travel rule information for your whitelisted wallets.
- Read
An array of whitelisted addresses
Returns the list of whitelisted withdrawal addresses for your account.
- Write
Request a new whitelisted address
Submits a new whitelisted withdrawal address for your account. The chain is derived from the supplied asset symbol and address, and the same address cannot be whitelisted twice on the same chain.
- Write
Update travel rule information for a whitelisted wallet
You are required to supply travel rule information for the crypto wallets you're withdrawing to.
- Destructive
Delete a whitelisted address
Deletes a whitelisted withdrawal address by ID. Subsequent withdrawals targeting the deleted address will be rejected.
Watchlists
- Read
Get All Watchlists
Returns the list of watchlists registered under the account.
- Read
Get Watchlist by ID
Returns a watchlist identified by the ID.
- Read
Get Watchlist by Name
You can also call GET, PUT, POST and DELETE with watchlist name with another endpoint /v2/watchlists:byname and query parameter name= , instead of /v2/watchlists/{watchlistid} endpoints Returns a watchlist by name
- Write
Create Watchlist
Create a new watchlist with initial set of assets.
- Write
Add Asset to Watchlist
Append an asset for the symbol to the end of watchlist asset list
- Write
Add Asset to Watchlist By Name
Append an asset for the symbol to the end of watchlist asset list
- Destructive
Update Watchlist By Id
Update the name and/or content of watchlist
- Destructive
Delete Watchlist By Id
Delete a watchlist. This is a permanent deletion.
- Destructive
Delete Symbol from Watchlist
Delete one entry for an asset by symbol name
- Destructive
Update Watchlist By Name
Update the name and/or content of watchlist
- Destructive
Delete Watchlist By Name
Delete a watchlist. This is a permanent deletion.
Corporate actions
- Read
Subscribe to Corporate Actions Events (SSE)
Server-Sent Events (SSE) stream that delivers every corporate-action mutation (insert / update / delete) across all supported CA types on a single long-lived text/event-stream connection.
- Read
Corporate actions
This endpoint provides data about the corporate actions for each given symbol over a specified time period.
Fixed income
- Read
Latest prices
This endpoint returns the latest prices for the given fixed income securities.
- Read
Latest quotes
This endpoint returns the latest quotes for the given fixed income securities.
Logos
- Read
Logos
Get the image of the company logo for the given symbol.
News
- Read
News articles
Returns the latest news articles across stocks and crypto. By default, returns the latest 10 news articles.
Option
- Read
Historical bars
The historical option bars API provides aggregates for a list of option symbols between the specified dates. The returned results are sorted by symbol first, then by bar timestamp.
- Read
Condition codes
Returns the mapping between the condition codes and names.
- Read
Exchange codes
Returns the mapping between the option exchange codes and the corresponding exchange names.
- Read
Latest quotes
The latest multi-quotes endpoint provides the latest bid and ask prices for each given contract symbol.
- Read
Snapshots
The snapshots endpoint provides the latest trade, latest quote and greeks for each given contract symbol.
- Read
Option chain
The option chain endpoint provides the latest trade, latest quote, and greeks for each contract symbol of the underlying symbol.
- Read
Historical trades
The historical option trades API provides trade data for a list of contract symbols between the specified dates. The returned results are sorted by symbol first then by trade timestamp.
- Read
Latest trades
The latest multi-trades endpoint provides the latest historical trade data for multiple given contract symbols.
Screener
- Read
Top market movers
Returns the top market movers (gainers and losers) based on real time SIP data. The change for each symbol is calculated from the previous closing price and the latest closing price. For stocks, the endpoint resets at market open.
- Read
Most active stocks
Returns the most active stocks by volume or trade count based on real time SIP data. By default, returns the top 10 symbols by volume.
Crypto
- Read
Historical bars
The crypto bars API provides historical aggregates for a list of crypto symbols between the specified dates.
- Read
Latest bars
The latest multi-bars endpoint returns the latest minute-aggregated historical bar data for each of the crypto symbols provided.
- Read
Latest orderbook
The latest orderbook endpoint returns the latest bid and ask orderbook for the crypto symbols provided.
- Read
Latest quotes
The latest quotes endpoint returns the latest bid and ask prices for the crypto symbols provided.
- Read
Latest trades
The latest trades endpoint returns the latest trade data for the crypto symbols provided.
- Read
Historical quotes
The crypto quotes API provides historical quote data for a list of crypto symbols between the specified dates. The oldest date to retrieve historical quotes of us-1 location is 14th October, 2025 12AM UTC.
- Read
Snapshots
The snapshots endpoint returns the latest trade, latest quote, latest minute bar, latest daily bar, and previous daily bar data for crypto symbols.
- Read
Historical trades
The crypto trades API provides historical trade data for a list of crypto symbols between the specified dates.
Stock
- Read
Historical auctions (single)
The historical auctions endpoint provides auction prices for the given stock symbol between the specified dates.
- Read
Historical bars (single symbol)
The historical stock bars API provides aggregates for the stock symbol between the specified dates.
- Read
Latest bar (single symbol)
The latest bar endpoint returns the latest minute bar for the given ticker symbol.
- Read
Historical quotes (single symbol)
The historical stock quotes API provides quote data for a stock symbol between the specified dates.
- Read
Latest quote (single symbol)
The latest quote endpoint provides the latest best bid and ask prices for a given ticker symbol.
- Read
Snapshot (single symbol)
The snapshot endpoint provides the latest trade, latest quote, minute bar, daily bar, and previous daily bar data for a given ticker symbol.
- Read
Historical trades (single symbol)
The historical stock trades API provides trade data for a stock symbol between the specified dates.
- Read
Latest trade (single symbol)
The latest trade endpoint provides the latest trade for the given ticker symbol. Trades with any conditions that causes them to not update the bar price are excluded. For example a trade with condition I (odd lot) will never appear on this endpoint.
- Read
Historical auctions
The historical auctions endpoint provides auction prices for a list of stock symbols between the specified dates.
- Read
Historical bars
The historical stock bars API provides aggregates for a list of stock symbols between the specified dates. The returned results are sorted by symbol first, then by bar timestamp.
- Read
Latest bars
The latest bars endpoint provides the latest minute bar for the given ticker symbols.
- Read
Condition codes
Returns the mapping between the condition codes and names.
- Read
Exchange codes
Returns the mapping between the stock exchange codes and the corresponding exchange names.
- Read
Historical quotes
The historical stock quotes API provides quote data for a list of stock symbols between the specified dates. The returned results are sorted by symbol first, then by the quote timestamp.
- Read
Latest quotes
The latest quotes endpoint provides the latest best bid and ask prices for the given ticker symbols.
- Read
Snapshots
The snapshot endpoint for multiple tickers provides the latest trade, latest quote, minute bar, daily bar, and previous daily bar data for each given ticker symbol.
- Read
Historical trades
The historical stock trades API provides trade data for a list of stock symbols between the specified dates. The returned results are sorted by symbol first then by trade timestamp.
- Read
Latest trades
The latest trades endpoint provides the latest trades for the given ticker symbols. Trades with any conditions that causes them to not update the bar price are excluded. For example a trade with condition I (odd lot) will never appear on this endpoint.
No operations match.
See How connections work for access and permissions, or browse all integrations.
Reference date: October 27, 2026. Alpaca API docs.