List Roots
FreeValueStandardPro
REQUIRED
The Theta Terminal must be running to access data.
Behavior
A root can be defined as a unique identified for a stock / underlying asset.
Common terms also include: symbol, ticker, and underlying.
This endpoint returns all traded roots for a given security type (i.e. stock, index, or option).
This endpoint is updated overnight.
Sample URL
Paste the URL below into your browser while the Theta Terminal is running.
List all roots for options
http://127.0.0.1:25510/v2/list/roots/option
List all roots for stocks
http://127.0.0.1:25510/v2/list/roots/stock
List all roots for indices
Parameters
Path Parameters
secRequired -
The security type.
Type: string
Enumoption, stock, index
Query Parameters
use_csv -
Output is in comma-separated values if true
, legacy JSON if false
.
Type: boolean (Default: false)
Responses
OK
Sample Code
py