RESTful API based on YFinance
Using the FastApi web framework for building the API
Using Uvicorn as ASGI web server
uvicorn app.main:app
GET /holders/{symbol}
- Get holders for a symbol
GET /price/current-price/{symbol}
- Current price of a symbol
POST /price/current-price-symbols
- Current price of a list of symbols
GET /price/historical-prices
- Historical prices of a symbol
GET /profile/{symbol}
- Profile of a symbol. Includes data such as location, industry and business summary.
GET /statistics/{symbol}
- Statistics of a symbol. Includes data such as market cap, price to book, price to earnings and earnings per share