Skip to content

Upitep/alpaca-postman

 
 

Repository files navigation

alpaca-postman

Postman collections for Alpaca's APIs can be found in a public workspace located here.

Alpaca Postman Collections

There are Postman collections for the Data, Trader, and Broker APIs.

Getting Started

To demonstrate how to get started, let's walk through the Broker API collection.

The first step is forking the collection.

Go ahead and enter the name for your fork and select the workspace where you'll be working from.

Screen Shot 2021-09-27 at 5 53 38 PM

You can fork the example environment as well. Name your fork and select the same workspace you forked the collection to.

Get your API keys from here. Upon creating an account you will be prompted to generate your keys. Be sure to store your api_key and api_secret somewhere private. Once you have your keys, head to the workspace where you forked your collection and environment. Keep in mind, this sample environment already has the host value for a sandbox account. If you would like to work in a production environment you will need to change the host URL and obtain the correct api keys for a production account. To continue with the sandbox environment, simply enter your api_key and api_secret in their respective place. Once you enter your keys, select this environment in the upper right corner as pictured below.

Once your environment is configured you’re ready to make your first call! The Clock or Calendar resources are a great place to start to make sure your environment is configured correctly. Head to the GET Clock request and press Send. You should receive a similar response to the one pictured below.

Screen Shot 2021-09-27 at 6 07 16 PM

Issues

As an API-first product company, we are committed to providing the best developer experience. If you notice any bugs or just have a recommendation for how we can improve the collections please don't hesitate to file an issue.

About

Postman collections for Alpaca's APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published