同花顺金融数据
Official HiThink A-share financial data service for AI agents, quant research, and app development, with real-time and historical quotes, financials, indices, sectors, and limit-up data via REST API, MCP, CLI, and Python SDK.
Visit Hithink-Tech-Org/Financial-APIOverview
同花顺金融数据 is an official A-share financial data service maintained by HiThink (Tonghuashun) for AI agents, quantitative researchers, and application developers. A unified API key provides access to A-share quotes, financial statements, indices and sectors, public funds, public futures and options, news, and specialized data. It can connect to existing workflows through REST API, MCP, CLI, Python SDK, a local DuckDB database, or an Agent Skill.
Key Features
- The service queries A-share real-time quotes, historical K-lines, call auction data, financial statements, valuation snapshots, and trading calendars. It covers indices and sectors, public funds, public futures and options, news, and specialized data such as limit-up/limit-down,
Use Cases
- Use cases include letting AI agents automatically query and analyze financial data; preparing historical market and financial data for quantitative research and backtesting; integrating financial data into websites, apps, or backend services through REST API; and retrieving
Getting Started
- Obtain an API key or use OAuth login in the CLI. Install the CLI with npm install -g @hithink-tech/hithink-finance-cli, then run hithink-finance auth login and hithink-finance capabilities --format json. For REST calls, include X-api-key in the request header. For MCP, configure
Deployment & Requirements
- Python SDK requires Python 3.11+. The CLI requires Node.js 22.12+. REST, MCP, Python, and CLI API-key access require a key from the API Key management page. An MCP client must support MCP and set type, url, and the X-api-key header according to the service configuration
Before You Adopt
- License: MIT. Review its terms before using, modifying, or distributing the project.