Skip to main content
GET
/
v1
/
watchlist
/
{watchlist_id}
Python (SDK)
from finance_dev import FinanceDev, models
import os


with FinanceDev(
    security=models.Security(
        client_id=os.getenv("FINANCEDEV_CLIENT_ID", ""),
        client_secret=os.getenv("FINANCEDEV_CLIENT_SECRET", ""),
    ),
) as fd_client:

    res = fd_client.watchlist.watchlist_get_watchlist_by_id(watchlist_id=951056)

    # Handle response
    print(res)
{
  "id": 12345,
  "name": "Tech Stocks",
  "symbols": [
    "AAPL",
    "GOOGL",
    "MSFT",
    "TSLA",
    "NVDA"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

watchlist_id
string
required

Unique identifier of the watchlist

Example:

"watchlist_abc123"

Response

Watchlist retrieved successfully

id
integer<int64>

Watchlist ID

name
string

Watchlist name

symbols
string[]

List of stock symbols in the watchlist