Alpaca and Brex Integration
Connect Alpaca and Brex to automate finance workflows. Trigger events from one app, run actions in the other and use AI to make smart decisions. Integrate apps in 3 simple steps - no code required.
- 3-day trial
- Cancel anytime
- Up to 10 minutes quick set up
- GDPR
- Data Encryption
- 2FA
- Local Data Region
How to connect Alpaca to Brex
Set up your Alpaca and Brex integration in 3 simple steps[2]. No coding required. Up to 10 minutes setup.
STEP 1
Connect Alpaca and Brex
Save credentials in WEXTL once. We store them encrypted and reuse the authorization across every workflow[3]. No coding or API skills required.
STEP 2
Build a workflow
Paste selected Alpaca and Brex nodes onto the canvas[4], or describe what you want and WEXTL wires the flow together with AI Builder.
STEP 3
Map your data
Choose which fields need to sync between Alpaca and Brex. Use filters or a JS custom code step in between. Everything is on the canvas.
How does the integration between Alpaca and Brex work in WEXTL?
WEXTL exposes actions and triggers for Alpaca and Brex that help you connect apps and automate repetitive tasks[1]. A trigger is an event that happens, and an action is a step that performs when the event has occurred.
Alpaca triggersBrex actions
Alpaca modules
- Add an Asset to a Watchlist Puts one more Symbol on a watchlist. The updated watchlist is returned with its Name and Assets.
- Cancel All Orders Cancels every open order in the account once Confirm is turned on. Each canceled order is its own result with its ID and Status.
- Cancel an Order Cancels one open order and returns its ID.
- Close a Position Exits an open position in full, or by a Quantity or a Percentage of it. A partial close places a market order, labeled with your Client Order ID.
- Close All Positions Closes every open position. Turn on Cancel Open Orders First to clear pending orders beforehand, and Confirm to go ahead.
- Create a Locate Asks Alpaca to locate a Quantity of shares of a Symbol for shorting. Turn on All or None to reject a partial fill and use Limit Price for the highest fee you accept.
- Create a Multi-Leg Options Order Places one options order across several Legs, each made of a Contract Symbol, Ratio Quantity and Side. The whole order takes a Quantity, Order Type and Time in Force.
- Create a Watchlist Saves a new watchlist called Name, optionally filled with Symbols.
- Create a Whitelisted Address Approves a crypto wallet Address for withdrawals of an Asset on a Chain, with optional beneficiary details for the travel rule.
- Create an Order Submits an order for a Symbol as a market, limit, stop, stop limit or trailing stop. Use Quantity or Notional for the size and Order Class for a bracket, OCO or OTO.
- Delete a Watchlist Deletes a watchlist and returns its ID.
- Delete a Whitelisted Address Deletes an approved withdrawal address from the account.
- Do Not Exercise an Option Position Tells Alpaca to let an option position expire without exercising it, returning its Symbol.
- Exercise an Option Position Exercises an option position you hold and returns its Symbol with a Success flag.
- Get a Corporate Action Announcement Fetches one announcement by ID, with its Ca Type, Ca Sub Type, Cash amount and Declaration Date.
- Get a Crypto Transfer Fetches one wallet transfer, including its Amount, Asset, Chain and Direction.
- Get a Crypto Transfer Estimate Quotes the Fee and Network Fee of moving an Amount of an Asset between a From Address and a To Address.
- Get a Locate Reads one locate request by Locate ID and shows its Status, Located Quantity and Total Fee.
- Get a Logo Downloads the company logo for a Symbol as a File with its Content Type. Turn on Placeholder If Missing to get a stand-in image.
- Get a Position Shows one open position with its Avg Entry Price and Asset Class.
- Get a Stock Snapshot Takes a current picture of one Symbol with its Daily Bar, Latest Quote, Latest Trade and Prev Daily Bar.
- Get a Tokenization Request Fetches one tokenization request by its ID, including what Fees were charged.
- Get a Tokenization Request by Client Request ID Finds a tokenization request from the Client Request ID that was attached when minting, and shows its full record.
- Get a Watchlist Opens one watchlist and shows its Name and Assets.
- Get Account Configurations Reads the trading settings of the account, such as Fractional Trading, Max Margin Multiplier and No Shorting.
- Get an Asset Looks up an asset by Symbol or Asset ID and returns its Class, Exchange, CUSIP and Borrow Status.
- Get an Option Chain Snapshots the contracts on an Underlying Symbol, with Greeks, Implied Volatility and the Latest Quote. Narrow by Type, Strike Price From, Strike Price To or Expiration Date.
- Get an Option Contract Retrieves one contract with its Expiration Date, Close Price and Deliverables.
- Get an Order Fetches one order by Order ID with its Client Order ID, Created At and Asset Class. Turn on Nest Multi-Leg Orders to show the legs inside it.
- Get an Order by Client Order ID Finds an order from the Client Order ID you attached when placing it, so a custom reference leads to the full order.
- Get Latest Crypto Orderbooks Shows the current order book of crypto pairs in a chosen Location, listing Asks and Bids. Use Limit to set the depth.
- Get Locate Quotes Quotes the Available Quantity and Price of shares you could locate for each of the Symbols.
- Get Option Condition Codes Looks up what each trade condition code means for a Tick Type on options.
- Get Option Exchange Codes Lists the exchange codes that appear in options data, so a code can be read as an exchange name.
- Get Portfolio History Charts account value over time, one row per window with Timestamp, Equity, Profit Loss and Profit Loss Pct. Use Period for a lookback, or Start and End for exact dates, and Timeframe for the window size.
- Get Stock Auctions Pulls the opening and closing auctions of one ticker from a Start date through to the End. Use Sort to put them in oldest or newest order.
- Get Stock Bars Reads historical bars of one ticker at the chosen Timeframe, with High, Low, Close and Trade Count. Use Adjustment to account for splits and dividends.
- Get Stock Condition Codes Explains the condition codes of trades or quotes for a Tick Type on one Tape.
- Get Stock Exchange Codes Lists the exchange codes that appear in stock data, with the exchange each one stands for.
- Get Stock Quotes Reads historical bid and ask quotes of one ticker, with Ask Exchange and Ask Price. Use Sort to order them and Start with End to bound the period.
- Get Stock Trades Reads historical trades of one ticker with Trade ID, Price and Size, across a period from Start to End.
- Get the Account Pulls the trading account and reports its Account Number, Buying Power and Accrued Fees, along with whether it is blocked.
- Get the Latest Stock Bar Fetches the newest bar for one Symbol with its High, Low, Close and Trade Count. Switch Feed or Currency for another source or currency.
- Get the Latest Stock Quote Shows the latest best bid and ask for one Symbol, with Ask Price, Ask Size and Bid Price.
- Get the Latest Stock Trade Reads the most recent trade of one Symbol, with its Price, Size and Conditions.
- Get the Market Calendar Lists trading days for a Market from Start to End, with Core Start, Core End and Lunch Start. Use Time Zone to read times in your own zone.
- Get the Market Clock Shows whether markets are open now, or at a chosen Time, with Phase, Next Market Open and Next Market Close. Use Markets for several codes.
- List Account Activities Lists account events such as fills and transfers. Filter with Activity Types, Category, Order Id or a Date range using After and Until, and set Direction.
- List Assets Lists the assets that match Status, Asset Class, Exchange or Attributes.
- List Corporate Action Announcements Lists announcements of the chosen Types from Since until Until. Add Symbol or CUSIP to follow one security and Date Type to choose which date is matched.
Brex modules
- Archive a Budget Moves a budget into the archive using the v2 budgets endpoint.
- Archive a Spend Limit Archives a spend limit through the v2 endpoint. Limits made through the older endpoint need Archive a Spend Limit (v1) instead.
- Archive a Spend Limit (v1) Archives a spend limit that was made on the older v1 budgets endpoint. Spend limits from the v2 endpoint use Archive a Spend Limit.
- Create a Budget Opens a budget under a Parent Budget, with a Name, Description, Period and Amount. Brex rejects Hard as the Limit Type for budgets, so use Create a Spend Limit for a hard limit. Bound it with Start Date and End Date.
- Create a Card Issues a card to a Card Owner. A physical card needs a mailing address and a vendor card must be virtual with its own Spend Limit and refresh. Set Limit Type to User to follow the limit of the user.
- Create a Custom Field Defines a custom field for the Accounting, User, ERP or Travel Group. Use Remote ID to tie it to an ID in an outside system. The ERP group also needs an Accounting Integration.
- Create a Department Registers a department in Brex, ready for people to be placed in.
- Create a Location Creates a location in Brex. Create a User and Update a User can then assign users to it.
- Create a Spend Limit Creates a spend limit with its Name, Period and Base Limit. Use Authorization Type to decline card authorizations once the balance runs out or to allow going over, and Rollover Refresh Rate to set how often unused rolled-over funds reset.
- Create a Spend Limit (v1) Sets up a spend limit on the older v1 budgets endpoint, from a Name, Parent Budget, Period and Limit. Use Spend Type to control which cards can spend from it and Limit Visibility to set whether members can see the limit.
- Create a Tax Code (Alpha) Defines a tax code inside an accounting integration, with its Name and percentage Rate. Use Subsidiary IDs to limit it to certain subsidiaries and Remote ID to match the code in your accounting system.
- Create a Tax Group (Alpha) Groups tax codes under one Name for an accounting integration. The names Not Eligible and Custom are reserved and cannot be used.
- Create a Title Adds a job title to Brex for users to hold.
- Create a Transfer Sends an Amount out of a Brex cash account, either to a vendor payment account or to another Brex account through Send To. Use External Memo for wire instructions or the ACH entry description and Description for an internal note.
- Create a User Registers a person from a First Name, Last Name and Email. Use Manager, Department, Location, Title, Cost Center and Legal Entity to place the user in your organization.
- Create a Vendor Registers a vendor in Brex under a unique Company Name, in ASCII characters only. Use Payment Accounts to set how it gets paid, by ACH, Domestic Wire or Cheque, and add an Email or Phone.
- Create an Accounting Integration Links Brex to an accounting system, Campfire, Dualentry, Hanover Park, Inkle or Rillet, through your Vendor Account ID. Turn on Amortization to set up the amortization fields as well.
- Create an Amortization Template (Alpha) Defines an amortization template for an accounting integration. Use Remote ID to link it to the same template in your accounting system.
- Create an Incoming Transfer Pulls an Amount from a linked bank account into a Brex cash account, with a Description for internal use. Transfers are in USD.
- Create Custom Field Values Fills a custom field with up to 1000 values. Each Values entry takes a display Value, and you can link it to an outside system through a Value ID or Remote ID. Enable Disabled to block a value from being picked.
- Delete a Custom Field Deletes a custom field by removing its definition from Brex.
- Delete a Department Deletes a department from the organization in Brex.
- Delete a Location Removes a location from the places Brex users can be assigned to.
- Delete a Tax Code (Alpha) Deletes a tax code of one accounting integration.
- Delete a Tax Group (Alpha) Removes a tax group that sits under an accounting integration.
- Delete a Title Deletes a job title from the titles Brex users can hold.
- Delete a Vendor Removes a vendor you pay through Brex.
- Delete an Amortization Template (Alpha) Removes the amortization template of an accounting integration.
- Delete Custom Field Values Deletes values from a custom field. Use Identify By to say whether the IDs are Brex IDs, Value IDs or Remote IDs.
- Disconnect an Accounting Integration Disconnects an accounting integration and returns its Status, Vendor and Vendor Account ID.
- Email a Card Number Emails a secure link to the details of a card, with your Sender Name in the subject of the email. The link works for 30 days unless a different number of days is given. Use Message to include a note.
- Get a Budget Loads a budget, showing its Name, Description, Parent Budget ID and Owner User Ids.
- Get a Budget Program Retrieves a budget program with its Budget Blueprints, Existing Budget Ids and Employee Filter.
- Get a Card Pulls a card, showing its Owner, Status, Last Four and Card Type.
- Get a Cash Account Reads one cash account and returns its Current Balance and Available Balance.
- Get a Cost Center Reads one cost center and returns its ID and Name.
- Get a Custom Field Shows how a custom field is set up: Name, Remote ID and whether it Is Disabled.
- Get a Custom Field Value Reads one value of a custom field, giving its Value, Remote ID and Updated At.
- Get a Department Looks up a department, returning its ID, Name and Description.
- Get a Legal Entity Looks up a legal entity: Display Name, Billing Address, Status and Is Default.
- Get a Location Reads a location and returns its ID, Name and Description.
- Get a Spend Limit Loads a spend limit from the v2 endpoint, showing its Name, Parent Budget ID and Status.
- Get a Spend Limit (v1) Loads a spend limit on the v1 budgets endpoint, showing Name, Creator User ID and Parent Budget ID.
- Get a Tax Code Shows a tax code for an accounting integration, returning its Name, Rate and Subsidiaries.
- Get a Tax Group Shows a tax group for an accounting integration, returning its Name, Tax Codes and Subsidiaries.
- Get a Title Shows one job title with its ID and Name.
- Get a Transfer Looks up a transfer, showing its Counterparty, Payment Type, Amount and Process Date.
- Get a Trip Opens a trip, showing its Name, Booker User ID and Status.
- Get a Trip Booking Reads one booking on a trip, showing its Type, Version and Created At. Turn on Load Custom Fields to include its custom field values.
- Get a User Loads a Brex user with First Name, Last Name, Email, Status and Manager ID. Turn on Load Custom Fields to add custom field values.
Explore alternative integrations
There are other apps[9] supported by WEXTL that can be paired with Alpaca and Brex integrations. Pick any from the list below if the current combination isn't the one you need.
Frequently asked questions
Common questions about connecting Alpaca and Brex.
References
List of sources used to gather information about the Alpaca and Brex integration.
- Alpaca and Brex integration source code, module specs and credentials implementation.
- Our Alpaca and Brex integration documentation, structured input and output parameters, scopes, and authentication methods.
- Official vendor API documentation for Alpaca and Brex, used to verify field meanings, authentication flows, and anything our own specs don't fully capture.
- WEXTL® visual workflow builder, anonymized data from our technical support team.
- Alpaca integration information
- Brex integration information
- WEXTL® Scheduling
- WEXTL® Pricing and Trial
- WEXTL® Apps Library
How we write our apps documentation
Explore how WEXTL® crafted Alpaca and Brex integration page documentation. Used sources, the role of AI, and how the team validates the result.

