# alvarobartt/investpy

Financial Data Extraction from Investing.com with Python

Repository: https://github.com/alvarobartt/investpy
Canonical: https://ross.abutalabs.com/products/investpy
Homepage: https://investpy.readthedocs.io/
Language: Python
License: MIT
License Family: permissive
Topics: investing-api, historical-data, investing, investing-python, investing-com, financial-data, hacktoberfest
Last push: 2026-04-13T18:10:47+00:00

## Health v2 (maintenance only)
Score: 57/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 77, release rhythm 8, longevity 100
- inputs: {"age_days": 2836, "days_push": 142, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1851, forks 377 (observed 2026-08-28T04:05:44.335404+00:00)

## What it is
investpy is a Python package for retrieving recent and historical financial data from Investing.com, covering stocks, funds, ETFs, indices, currency crosses, bonds, commodities, and cryptocurrencies worldwide. It is currently broken due to Investing.com API changes, and the author recommends using the successor library investiny instead.

## Use cases
- download historical stock prices from investing.com
- get cryptocurrency historical data in python
- retrieve ETF and fund data without a paid API
- fetch currency cross exchange rates
- scrape financial market data for backtesting
- get index and commodity price history

## When to choose
- you need free, unlimited financial data from Investing.com and the site's API still works for your endpoints
- you want broad asset coverage including funds, bonds, and certificates in one package

## When to avoid
- you need a currently working solution - the README states investpy is broken and recommends investiny
- you need guaranteed uptime or official API support for production trading systems

## Facets
- artifact type: library
- maturity: maintenance
- function: web-scraping, data-science, etl
- domain: fintech, data-science, analytics
- platform: python, cross-platform
- tags: financial-data, investing-com, historical-data, stocks, etfs, cryptocurrencies, market-data, unofficial-api

## Member repositories
- alvarobartt/investpy (main) score 57

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:44.335404+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:16:54.804987+00:00, confidence not recorded.
  - readme: https://github.com/alvarobartt/investpy (fetched 2026-08-28T04:05:44.335404+00:00, sha 0b4629472113)
  - homepage: https://investpy.readthedocs.io/ (fetched 2026-08-29T10:56:19.313670+00:00, sha 449c2c8f0d7f)
  - registry_pypi: https://pypi.org/pypi/investpy/json (fetched 2026-08-29T10:56:19.316608+00:00, sha 039ccd0c49e6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
