Links

Get company overview

Tags: #alphavantage #trading #market_data #investors #snippet #dataframe
Author: Florent Ravenel
Description: This notebook provides an overview of the AlphaVantage API, which allows users to access real-time and historical financial data for global equities, commodities, and currencies. It provides a comprehensive set of tools to analyze and visualize financial data for a variety of purposes.

Input

Import libraries

import requests
import pandas as pd

Variables

API_KEY = "demo"
COMPANY = "IBM"

Model

Get company overview

response = requests.get(
f"https://www.alphavantage.co/query?function=OVERVIEW&symbol={COMPANY}&apikey={API_KEY}"
)
data = response.json()

Output

Display result

data