hithink-tech/financial-api

同花顺官方 A股金融数据服务,提供股票实时行情、历史行情、财务报表、指数、板块、涨停等数据,适用于 AI Agent、量化研究和应用开发,支持 API、MCP、CLI 和 Python。Official Tonghuashun (HiThink) A-share financial data service...

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 43 seconds ago
Added to GitGenius on September 19th, 2026
Created on June 9th, 2026
Open Issues & Pull Requests: 39 (+0)
GitHub issues: Enabled
Number of forks: 322
Total Stargazers: 3,677 (+0)
Total Subscribers: 14 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 40.6 hours
Mean response time: 4.4 days
90th percentile: 17.8 days
Tracked items: 59

Most active contributors

Sign in to see contributor activity.

How this project is maintained

Roughly one issue in four opened in the past year never receives a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Almost all tracked open issues have seen activity in the last three months. Only 42% of issues opened in the past year have been closed. Three people close 94% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 49
New in 7 days: 16
Closed in 7 days: 14
Avg open age: 30 days
Stale 30+ days: 14
Stale 90+ days: 0

Recent activity

Opened in 7 days: 11
Closed in 7 days: 14
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Detailed Description

Financial-api is a financial data service that provides A-share market data through multiple interfaces including REST API, MCP, CLI, and Python SDK.

The service solves the problem of accessing comprehensive Chinese stock market data for AI agents, quantitative researchers, and application developers. It aggregates real-time and historical stock prices, financial statements, valuations, indices, sectors, mutual funds, futures and options data, and market anomalies through a single API key. The tool offers multiple integration paths: a REST API for direct HTTP requests, an MCP interface for compatible AI tools like Claude and Cursor, a command-line interface for scripting, a Python SDK for research workflows, and a local DuckDB database for offline analysis and incremental synchronization.

Developers should choose this service if they work with Chinese A-share markets and need official data from Tonghuashun (HiThink), a major financial data provider in China. It suits quantitative research, AI agent development, and applications requiring comprehensive market coverage including limit-up pools, board-smashing detection, individual stock anomalies, and hot stock rankings. The project recommends starting with the Agent Skill interface, which automatically selects the appropriate underlying method based on the environment and task.

The project maintains active development across multiple integration channels with comprehensive documentation covering API endpoints, MCP specifications, CLI commands, and Python usage patterns. The repository includes detailed guides for different use cases and provides tools for building local data infrastructure through DuckDB integration.