Webinar
June 11, 2020

Video Tutorial: How to Get Started with the IEX Cloud API

Learn how to build requests from step one, including how to access real-time stock prices, historical stock prices, use international symbols, and more.

Cloud icon

Timothy Kou

https://iexcloud.io/community/blog/video-tutorial-how-to-get-started-with-the-iex-cloud-api
@iexcloud
https://iexcloud.io/community/blog/video-tutorial-how-to-get-started-with-the-iex-cloud-api
@iexcloud

Since recording this video, we updated our pricing plans and changed the term “messages” to “credits.” Credits work the same way as messages – we just updated the terminology to make their definition and usage clearer. Learn more in our Help Center

Whether youʼre new to the platform or looking for extra examples, this tutorial will guide you on how to get started with the most frequently used API calls on IEX Cloud. See how to build requests from step one, including how to access real-time stock prices, historical stock prices, use international symbols, and more.

Directory

00:00 – 04:57: Introduction to the platform

04:57 – 13:38: The basic components of the API

13:38 – 29:56: Examples

29:56 – 36:40: Python sample

36:40 – 39:29: Next steps and additional resources

39:29 – 52:33: Q&A recording

Example API Requests

During the session, we build the following API requests together.

Note that the below use our sandbox environment.

1. Historical daily end-of-day stock prices for international symbols:

See international symbol suffixes

2. Historical minute-by-minute stock prices for a specific day:

Minute-by-minute data is available for the last 30 trailing calendar days.

3. The current dayʼs minute-by-minute stock prices, using free IEX data:

4. Real-time stock prices using the Quote endpoint:

To access a specific field from the Quote endpoint, such as latestPrice, you can set up your request as seen below:

Read more about accessing real-time stock prices and which fields mean what in our help guide.

5. A batch request for accessing historical prices from multiple symbols in one API call – this also has a range of the last 5 days:

6. A batch request for accessing historical prices and intraday prices from multiple symbols in one API call. Intraday prices are set to use free IEX data only:

7. Retrieving specific values from the Stats endpoint, such as Market Cap:

Sample Python Code

Hereʼs a basic example of how you can implement the IEX Cloud API within a simple Python script that prints the data.

The second example shows how to retrieve a specific value from the Key Stats endpoint.

Help Articles from the Tutorial

The resources below will help you get started.

The Essentials

Getting started guide

A walk-through of the platformʼs basics.

Credits

Read more about the fundamental units used for accessing data on the platform.

International Data

Learn how to structure your requests to access historical end-of-day prices for non-U.S. symbols.

Real-time and 15-minute delayed stock prices

See which fields to use from our Quote endpoint.

Premium Data

Access curated alternative datasets from third-party partners.

Next steps and additional tools

Rules Engine

Set up rule-based alerts that push data to you when conditions of your choice are met across IEX Cloud datasets.

Keep your token secure

Set domain restrictions on your API token.

SSE Streaming

Stream updated stock prices and forex rates from IEX Cloud.