> This page is for Web API.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://ibkrcampus.com/docs/llms.txt.

# Market Data

In order to retrieve top-of-book, depth-of-book, or historical market data from the Web API, the following must be available:

* Username with relevant live market data subscriptions and permission to trade the desired instruments
* Authorized Web API session
* Brokerage session (access to IServer endpoints)