Skip to main content

Equity/commodity/currency information API; sources content from Yahoo! Finance

Project description

yfinanceapi (Equity and currency information API)


The yfinanceapi is an API for Python that builds on top of the Yahoo! finance JSON API to provide equity and currency information, such as price, volume, last trade time etc.


The API can be installed from PyPi using the following command:
pip install yfinanceapi
Instructions on installing pip can be found here:

Alternatively, it can be installed using github:
pip install git+

The installation may require root permissions.


The API can be imported in the following manner:

import yfinanceapi as api

Stock/equity information is obtained as follows:


Prices are in currency values of the country in which symbol is listed

Currency information is obtained as follows:


Currency values are measured with respect to USD.

Additional functions, information on usage and allowed symbol values can be found in the docstrings of the file.


Copyright 2015, Karthik.S


This project is licensed under GNU v2.0. For more information read the LICENSE.txt file.

Bugs and requests

Bugs and feature requests can be reported at

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yfinanceapi-1.0.2.tar.gz (10.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page