Skip to login Skip to main content
  • 1-855-880-2559
  • Open 24/7

Ally Invest API Documentation

Build your application to connect to our investment platform and the 250,000 traders connected to it.

Request Structure


The request structure of an API is pretty simple for most calls. Most user and account-based brokerage calls can be made without a request body at all. We've done our best to make the API as restful as possible. This means that resources and their corresponding operations have an identifiable pattern to their use.

While many of the calls are simply requests for information (GET) there are circumstances which require sending information (POST) or removing resources on the server (DELETE).

For examples of each request, visit the specific page pertaining to the API call you are interested in.

We are exploring new ways to generate requests to our API. If you have a specific need for an alternate request format, let us know.


All requests made to the Ally Invest API must be valid HTTP requests sent over using the proper request method. For instance, a POST to create a new watchlist will include form parameters.

*Note: Due to the complex nature of trade calls, we ask that you POST in FIXML to an order submission (or preview) operation.


For authenticated calls we require that you send over a valid OAuth header. For unauthenticated requests, there aren't any required headers.


Some requests require parameters within the URI. An example of this functionality as an accounts/:id/balances{.format} call. This call has multiple parameters handled on the command line. So to make a request to this operation your request URL would be:

Which would result in the balances response for account number 12345678 sent back in JSON format.


Any mention of actual symbols are to be used for coding purposes only and do not imply a recommendation or solicitation to buy or sell a particular security or to engage in any particular investment strategy.

At the time of publication and in the preceding month, Ally Invest did not have ownership greater than 1% in any stocks mentioned here and does not have any other actual, material conflict of interest known at the time of publication.

Ally Invest did not receive compensation from a public offering or from investment banking services related to any companies mentioned here within the past 12 months, or expects to receive any in the next 3 months. Ally Invest did not engage in market making in the securities mentioned here.

Ally Invest Securities' background can be found at FINRA's BrokerCheck . Options involve risk and are not suitable for all investors.

Review the Characteristics and Risks of Standardized Options brochure before you begin trading options. Options investors may lose the entire amount of their investment in a relatively short period of time.