# AKShare

AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库

Repository: https://github.com/akfamily/akshare
Canonical: https://ross.abutalabs.com/products/akshare
Homepage: https://akshare.akfamily.xyz
Language: Python
License: MIT
License Family: permissive
Topics: futures, financial-data, data-science, quant, fundamental, akshare, option, stock, data, datasets, bond, asset-pricing, academic, currency, finance, finance-api, economic-data, economics, data-analysis
Last push: 2026-08-26T04:19:00+00:00
Link (homepage): https://akshare.akfamily.xyz
Link (site_page): https://akshare.akfamily.xyz/installation.html
Link (site_page): https://akshare.akfamily.xyz/changelog.html

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 86, longevity 100
- inputs: {"age_days": 2528, "days_push": 7, "days_rel": 12, "gap_med": 1, "n_releases_24m": 214}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 22247, forks 3470 (observed 2026-08-28T04:11:32.501573+00:00)

## What it is
AKShare is a Python library providing a unified interface for fetching financial and economic data (stocks, futures, bonds, options, funds, forex, macro indicators, crypto) primarily from Chinese public data sources. Its companion project AKTools exposes AKShare functions as an HTTP API for use from other languages.

## Use cases
- download historical A-share stock prices in Python
- fetch Chinese futures and options market data
- get macroeconomic indicators for quantitative research
- pull fund and bond data for asset-pricing analysis
- serve financial data over HTTP with AKTools
- build a quant backtesting data pipeline

## When to choose
- you need free programmatic access to Chinese financial market data
- you want a simple pip-installable data interface for quant research
- you need broad coverage across stocks, futures, funds, bonds, and macro data

## When to avoid
- you need guaranteed SLA-backed official market data feeds
- you require non-Chinese market data as the primary focus
- you need real-time tick-level streaming data

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping, data-science, sdk
- domain: fintech, data-science, apis
- platform: python, cross-platform
- tags: financial-data, quant, china-markets, stock-data, futures-data, macroeconomics, http-api, finance, docker

## Member repositories
- akfamily/akshare (main) score 95
- akfamily/aktools (backend) score 50

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:32.501573+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-29T16:57:41.199030+00:00, confidence not recorded.
  - readme: https://github.com/akfamily/akshare (fetched 2026-08-28T04:11:32.501573+00:00, sha 2a9288c57695)
  - homepage: https://akshare.akfamily.xyz (fetched 2026-08-29T07:55:49.934521+00:00, sha 0d1f50cbb785)
  - site_page: https://akshare.akfamily.xyz/installation.html (fetched 2026-08-29T07:55:49.944088+00:00, sha d7a137dc68df)
  - registry_pypi: https://pypi.org/pypi/akshare/json (fetched 2026-08-29T07:55:49.954391+00:00, sha 2ba1f8a021b8)
  - registry_pypi: https://pypi.org/pypi/aktools/json (fetched 2026-08-29T07:55:49.956118+00:00, sha e51f2f80d5ab)
  - site_page: https://akshare.akfamily.xyz/changelog.html (fetched 2026-08-29T07:55:49.947268+00:00, sha a852b6a487a8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
