# HiThink-Tech/Financial-API

同花顺官方 A股金融数据服务，提供股票实时行情、历史行情、财务报表、指数、板块、涨停等数据，适用于 AI Agent、量化研究和应用开发，支持 API、MCP、CLI 和 Python。Official Tonghuashun (HiThink) A-share financial data service providing real-time and historical stock market data, financial statements, indices, sectors and limit-up data for AI agents, quantitative research and application development.

Repository: https://github.com/HiThink-Tech/Financial-API
Canonical: https://ross.abutalabs.com/products/financial-api
Homepage: https://fuyao.aicubes.cn/
Language: TypeScript
License: MIT
License Family: permissive
Topics: a-share, ai-agent, china-stock-market, cli, duckdb, financial-data, mcp, npm-package, quantitative-finance, rest-api
Last push: 2026-08-17T09:16:58+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 98, release rhythm 98, longevity 6
- inputs: {"age_days": 86, "days_push": 16, "days_rel": 16, "gap_med": 3, "n_releases_24m": 6}
- flags: young
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1871, forks 134 (observed 2026-08-28T04:05:46.077527+00:00)

## What it is
Official Tonghuashun (HiThink) A-share financial data service offering real-time and historical stock quotes, financial statements, valuations, indices, sectors, funds, and limit-up data. It is accessible via REST API, hosted MCP, CLI, Python SDK, and a local DuckDB market database for AI agents, quantitative research, and application development.

## Use cases
- query real-time A-share stock quotes for one or many tickers
- fetch historical K-line data for backtesting and trend analysis
- pull income statements, balance sheets, and cash flow statements for listed companies
- batch-query PE, PB, PS, and PCF valuation snapshots
- get limit-up pools, dragon-tiger lists, and unusual stock movement data
- build a local DuckDB database of market data with incremental sync and SQL queries
- let Claude, Cursor, or other MCP-capable AI agents query financial data
- download full-market data dumps for factor research and stock screening

## When to choose
- you need official, reliable A-share market and financial statement data
- you want one API key covering REST, MCP, CLI, and Python access
- you are building AI agents or quant research pipelines that need China stock data
- you want local SQL analysis of historical market data via DuckDB

## When to avoid
- you need non-China or global market data (US, HK, crypto)
- you require fully free data with no API key or paid service
- you need tick-level or high-frequency trading data

## Facets
- artifact type: service
- maturity: active
- function: sdk, cli, mcp, search-engine, data-science, developer-tools
- domain: fintech, apis, data-science, artificial-intelligence
- platform: cli, python, cross-platform
- tags: a-share, china-stock-market, financial-data, stock-market-data, quantitative-finance, mcp-server, duckdb, market-data, rest-api, python-sdk, ai-agents, nodejs

## Member repositories
- HiThink-Tech/Financial-API (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:46.077527+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:15:00.571238+00:00, confidence not recorded.
  - readme: https://github.com/HiThink-Tech/Financial-API (fetched 2026-08-28T04:05:46.077527+00:00, sha ca2dcd4be22c)
  - homepage: https://fuyao.aicubes.cn/ (fetched 2026-08-29T10:54:44.919408+00:00, sha d51f08b8f688)
- Data as of 2026-08-30T08:39:29.467469+00:00.
