Macarena Ortt


June 2021

MacarenaOrtt's insights

  • Interacting with Alphacast API on Python

    API References and Authentication Alphacast API is organized around REST. Our API has predictable resource-oriented URLs, accepts form-encoded request bodies, returns JSON-encoded responses or CSV files, and uses standard HTTP response codes, authentication, and verbs. All API requests must be authenticated. Alphacast API uses an API key to authenticate requests. When you sign up and login to your account at, on the left side of the screen you will find your user name, and then if you go to “Settings”, on the general page you will find your own API Key. Anyway, if you have any issue in obtaining your API key, please contact Downloading and uploading data Interacting with the Alphacast API on python to upload and download data is very straightforward. You will only need the API key (see the previous section) and some basic libraries. The are 3 python libraries for requesting and uploading data that you will need to install: requests: It allows you to replicate a browser request using different methods like GET or POST and setting different parameters. Another option would be to use urllib3. io : It will help you to decode the server response and make it readable. pandas: It...