This page contains examples of some of the things you can do with order objects through our API. For additional help understanding different types of orders and how they behave once they’re placed, please see this page.


Place New Orders

Orders can be placed with a POST request to our /v1/orders endpoint.


            
            
        
        
        
        

        
            
            
            
            

            
            
        
        
        
        

        
        
        
        

        
        
        
        

        
        
        
        

        

Use Client Order IDs

Client Order IDs can be used to organize and track specific orders in your client program.


            
            
        
        
        
        

        
            
            
            
            

            
            
        

Get a List of Existing Orders

If you’d like to see a list of your existing orders, you can send a get request to our /v1/orders endpoint.


            
            
        
        
        
        

        
            
            
            
            

            
            
        
        
        
        

        
        
        
        

        
        
        
        

        
        
        
        

        
        
        
        

        
        
        
        

        

Listen for Updates to Orders

You can use Websockets to receive real-time updates about the status of your orders as they change. You can see the full documentation here.


            
            
        
        
        
        

        
            
            
            
            

            
            
        
        
        
        

        
        
        
        

        

Suggestions or questions?
We're always happy to hear from you. You can contribute to these docs on GitHub, or you can join our Community Slack to get help from other community members and the Alpaca team.