#37 · Primary category: Financial Data & Analytics Platforms
stock-api
Query A-shares, US stocks, Hong Kong stocks and on-exchange fund quotes, and quickly integrate via Node.js, browser, CLI or MCP.
Project last updated:08/29/26
GitHub Stars
1.8K
Forks
209
Contributors
2
License
MIT
Why we included this project
China's market data is spread across several public feeds, and wiring them all into one app is fiddly. stock-api is a TypeScript library that wraps Tencent, Sina, and Eastmoney behind a single API with automatic failover, so one call returns a quote, a batch, or K-line history without you tracking which upstream is currently up. It carries zero runtime dependencies and runs wherever your code runs: Node.js, the browser, a CLI via npx, or an MCP server that AI agents can call directly. That MCP surface is what lifts it beyond plain data fetching, letting an agent pull a stock on demand. For teams building China-focused tools, it is a practical drop-in, with the caveat that the data comes from third-party public endpoints you should vet before relying on it in production.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
OpenBB
Open Data Platform for analysts, quants and AI agents.
daily_stock_analysis
LLM-powered multi-market stock analysis system with multi-source market data, real-time news, decision dashboard, automated notifications, and cost-free scheduled runs.
ai-hedge-fund
An AI Hedge Fund Team
qlib
AI-oriented quant investment platform supporting diverse ML paradigms and automated R&D for quantitative research and production.
nautilus_trader
Production-grade Rust-native trading engine with deterministic event-driven architecture