This repository contains a Bruno collection for interacting with Yahoo Finance's public API endpoints. Although Yahoo Finance discontinued their official API documentation in 2017, these endpoints remain publicly accessible and functional.
- Install Bruno.
- Git (optional, for cloning this repository).
- Clone this repository:
git clone https://github.com/gzurowski/bruno-yahoo-finance.git
Alternatively, you can download the collection as a ZIP file.
- Open the
bruno-yahoo-finance
folder in Bruno. - Click on Open Collection.
- Navigate to the cloned repository folder and click Open.
All Yahoo Finance endpoints require authentication using:
- A cookie.
- A token named
crumb
which must be included as a query parameter in every request. Both the cookie and the token are obtained through two separate requests. These requests are automatically run by a pre-request script on collection-level. Once retrieved, the cookie and the token are stored as variables and automatically included in all requests. The script is stored in scripts/auth.js. For reference, this repository also includes separate requests in the Auth folder. These are provided for informational purposes only and do not need to be manually run.
- The endpoints are not officially documented and are subject to change.
- Rate limiting may apply.