Home / Market & alternative data

akshare

Market & alternative data23,545 GitHub starsPython⏱ Last commit 6 days ago
Plain-language introduction · AKShare

Bring financial data into Python tables for research.

AKShare is an open-source financial data interface library. It helps retrieve data such as stocks, funds and economic indicators from different sources so you can process it in code. It is not a ready-made trading app and does not make buy or sell decisions for you.

Good fit: researchers willing to learn Python, a terminal and data handling. Not a fit: someone seeking a ready-to-use quote website, a guaranteed commercial data service or automatic trading advice.

Cost and use: the software is free and open source; the project describes its purpose as primarily academic research. Individual data sources may impose their own terms, restrictions or fees. Check source permissions before commercial use or redistribution.

First step (about 3 minutes): open the official quickstart below, find the first-call example for China’s consumer price index (CPI), and look at what the table’s columns and values mean. Reading requires no installation, account or key. Running it later requires Python 3.11 or newer and additional setup.

Source sites may change, limit requests or stop service; interfaces and data can change, lag or fail. Check the source, timestamp, units and license, and cross-check important conclusions. Data is not investment advice. Sources checked 2026-11-05; we did not install or run this project.

Official quickstart ↗ · Project introduction and research purpose ↗

No project-authorized introductory video has been verified for this page. Use the official documentation and text above.

Elegant Python interface for open financial data

What it is

An open-source Python library that provides a simple, unified interface for fetching financial data, aiming to let users write less code to get more. It covers market data retrieval through one-line calls, ships an offline interface registry for keyword-based interface lookup (useful for LLM-driven programs), and includes plotting utilities plus a companion HTTP API via AKTools. The library fits Python developers and academic researchers who want quick access to financial data for quantitative research. Its documentation is primarily in Chinese, some data interfaces may be removed due to uncontrollable factors, and all data is intended for academic research only rather than investment decisions.

At a glance

RecommendedOur rating, based on popularity, maintenance and how ready it is for real use.

Best forProfessional quants
Used forData source, Data analysis
MarketsChina A-shares, Futures
StackPython
Learning curveEasy to start
Practical valueHigh practical value
CostFree and open source
HardwareNo GPU needed
MaintenanceLast commit 6 days ago

Popularity snapshots

Daily snapshots of GitHub stars. Star changes are not a count of users or usage. Snapshots since 2026-11-02 (up to 30 days): first-to-last change +383 , latest 23,545. Gaps mean no snapshot was taken that day.

In the author's words

AkShare is an elegant and simple financial data interface library for Python, built for human beings! <https://akshare.readthedocs.io>.

Open on GitHub ↗This week's trending toolsChinese page

Similar tools