{"adoption": {"forks": 208, "observed_at": "2026-08-28T04:05:41.811818+00:00", "stars": 1831}, "canonical_url": "https://ross.abutalabs.com/products/stock-api", "card": {"archived": false, "artifact_type": "library", "description": "查询 A 股、美股、港股与场内基金行情，并通过 Node.js、浏览器、CLI 或 MCP 快速接入。", "domain": ["fintech", "apis", "developer-tools"], "enriched": true, "function": ["sdk", "cli", "mcp", "http-client"], "health_score": 99, "homepage": "https://zhangxiangliang.github.io/stock-api/", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "active", "member_repos": ["zhangxiangliang/stock-api"], "name": "zhangxiangliang/stock-api", "platform": ["browser", "cli"], "pushed_at": "2026-08-26T18:18:39+00:00", "repo": "zhangxiangliang/stock-api", "stars": 1831, "tags": ["stock-market-data", "quotes", "klines", "a-share", "hong-kong-stock", "us-stock", "zero-dependency", "mcp-server", "nodejs", "typescript"], "topics": ["browser", "mcp", "nodejs", "stocks"], "urls": [], "use_cases": ["fetch current stock quotes for A-share, HK, and US markets", "get historical K-line candlestick data for a stock", "search stocks by name or code", "batch query multiple stock quotes", "expose stock market data to AI assistants via MCP", "query exchange-traded fund prices from the command line"], "what_it_is": "A zero-runtime-dependency TypeScript library for querying stock quotes, K-line data, and stock search across A-share, Hong Kong, US markets, and exchange-traded funds. It can be used from Node.js, browsers via CDN, a CLI, or as an MCP server for AI clients, with automatic fallback across Tencent, Sina, and Eastmoney data sources.", "when_to_avoid": ["you need real-time tick-level or streaming market data", "you require trading/order execution, not just quotes", "you need markets outside A-share, Hong Kong, and US exchanges", "you depend on officially licensed market data feeds with SLAs"], "when_to_choose": ["you need a lightweight, zero-dependency stock quote library in TypeScript", "you want unified access to Chinese, Hong Kong, and US market data with automatic source fallback", "you want to give MCP-compatible AI clients stock data tools", "you need both a programmatic API and a CLI for quick lookups"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/stock-api", "repo": "zhangxiangliang/stock-api", "role": "main", "score": 96}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:19:13.878878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a464f9e8f4838dee6af050f588542936c989a940bddd50fd2cc43b688dd66f8", "fetched_at": "2026-08-28T04:05:41.811818+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zhangxiangliang/stock-api"}, {"content_hash": "5a2105b57b0436f44e22e3f2784ad6b44b903cff9ccf1106ebcd5fa8de37ab21", "fetched_at": "2026-08-29T10:58:05.060877+00:00", "kind": "homepage", "missing": false, "url": "https://zhangxiangliang.github.io/stock-api/"}, {"content_hash": "9ec859b4b99ae0bb59a8fba1d00b10537d0f120ba5b85584b82faa4dc984c1de", "fetched_at": "2026-08-29T10:58:05.063387+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/stock-api"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:19:13.878878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a464f9e8f4838dee6af050f588542936c989a940bddd50fd2cc43b688dd66f8", "fetched_at": "2026-08-28T04:05:41.811818+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zhangxiangliang/stock-api"}, {"content_hash": "5a2105b57b0436f44e22e3f2784ad6b44b903cff9ccf1106ebcd5fa8de37ab21", "fetched_at": "2026-08-29T10:58:05.060877+00:00", "kind": "homepage", "missing": false, "url": "https://zhangxiangliang.github.io/stock-api/"}, {"content_hash": "9ec859b4b99ae0bb59a8fba1d00b10537d0f120ba5b85584b82faa4dc984c1de", "fetched_at": "2026-08-29T10:58:05.063387+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/stock-api"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:19:13.878878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a464f9e8f4838dee6af050f588542936c989a940bddd50fd2cc43b688dd66f8", "fetched_at": "2026-08-28T04:05:41.811818+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zhangxiangliang/stock-api"}, {"content_hash": "5a2105b57b0436f44e22e3f2784ad6b44b903cff9ccf1106ebcd5fa8de37ab21", "fetched_at": "2026-08-29T10:58:05.060877+00:00", "kind": "homepage", "missing": false, "url": "https://zhangxiangliang.github.io/stock-api/"}, {"content_hash": "9ec859b4b99ae0bb59a8fba1d00b10537d0f120ba5b85584b82faa4dc984c1de", "fetched_at": "2026-08-29T10:58:05.063387+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/stock-api"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:19:13.878878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a464f9e8f4838dee6af050f588542936c989a940bddd50fd2cc43b688dd66f8", "fetched_at": "2026-08-28T04:05:41.811818+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zhangxiangliang/stock-api"}, {"content_hash": "5a2105b57b0436f44e22e3f2784ad6b44b903cff9ccf1106ebcd5fa8de37ab21", "fetched_at": "2026-08-29T10:58:05.060877+00:00", "kind": "homepage", "missing": false, "url": "https://zhangxiangliang.github.io/stock-api/"}, {"content_hash": "9ec859b4b99ae0bb59a8fba1d00b10537d0f120ba5b85584b82faa4dc984c1de", "fetched_at": "2026-08-29T10:58:05.063387+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/stock-api"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:19:13.878878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a464f9e8f4838dee6af050f588542936c989a940bddd50fd2cc43b688dd66f8", "fetched_at": "2026-08-28T04:05:41.811818+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zhangxiangliang/stock-api"}, {"content_hash": "5a2105b57b0436f44e22e3f2784ad6b44b903cff9ccf1106ebcd5fa8de37ab21", "fetched_at": "2026-08-29T10:58:05.060877+00:00", "kind": "homepage", "missing": false, "url": "https://zhangxiangliang.github.io/stock-api/"}, {"content_hash": "9ec859b4b99ae0bb59a8fba1d00b10537d0f120ba5b85584b82faa4dc984c1de", "fetched_at": "2026-08-29T10:58:05.063387+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/stock-api"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:19:13.878878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a464f9e8f4838dee6af050f588542936c989a940bddd50fd2cc43b688dd66f8", "fetched_at": "2026-08-28T04:05:41.811818+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zhangxiangliang/stock-api"}, {"content_hash": "5a2105b57b0436f44e22e3f2784ad6b44b903cff9ccf1106ebcd5fa8de37ab21", "fetched_at": "2026-08-29T10:58:05.060877+00:00", "kind": "homepage", "missing": false, "url": "https://zhangxiangliang.github.io/stock-api/"}, {"content_hash": "9ec859b4b99ae0bb59a8fba1d00b10537d0f120ba5b85584b82faa4dc984c1de", "fetched_at": "2026-08-29T10:58:05.063387+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/stock-api"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:41.811818+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:19:13.878878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a464f9e8f4838dee6af050f588542936c989a940bddd50fd2cc43b688dd66f8", "fetched_at": "2026-08-28T04:05:41.811818+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zhangxiangliang/stock-api"}, {"content_hash": "5a2105b57b0436f44e22e3f2784ad6b44b903cff9ccf1106ebcd5fa8de37ab21", "fetched_at": "2026-08-29T10:58:05.060877+00:00", "kind": "homepage", "missing": false, "url": "https://zhangxiangliang.github.io/stock-api/"}, {"content_hash": "9ec859b4b99ae0bb59a8fba1d00b10537d0f120ba5b85584b82faa4dc984c1de", "fetched_at": "2026-08-29T10:58:05.063387+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/stock-api"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:19:13.878878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a464f9e8f4838dee6af050f588542936c989a940bddd50fd2cc43b688dd66f8", "fetched_at": "2026-08-28T04:05:41.811818+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zhangxiangliang/stock-api"}, {"content_hash": "5a2105b57b0436f44e22e3f2784ad6b44b903cff9ccf1106ebcd5fa8de37ab21", "fetched_at": "2026-08-29T10:58:05.060877+00:00", "kind": "homepage", "missing": false, "url": "https://zhangxiangliang.github.io/stock-api/"}, {"content_hash": "9ec859b4b99ae0bb59a8fba1d00b10537d0f120ba5b85584b82faa4dc984c1de", "fetched_at": "2026-08-29T10:58:05.063387+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/stock-api"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:19:13.878878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a464f9e8f4838dee6af050f588542936c989a940bddd50fd2cc43b688dd66f8", "fetched_at": "2026-08-28T04:05:41.811818+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zhangxiangliang/stock-api"}, {"content_hash": "5a2105b57b0436f44e22e3f2784ad6b44b903cff9ccf1106ebcd5fa8de37ab21", "fetched_at": "2026-08-29T10:58:05.060877+00:00", "kind": "homepage", "missing": false, "url": "https://zhangxiangliang.github.io/stock-api/"}, {"content_hash": "9ec859b4b99ae0bb59a8fba1d00b10537d0f120ba5b85584b82faa4dc984c1de", "fetched_at": "2026-08-29T10:58:05.063387+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/stock-api"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:19:13.878878+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6a464f9e8f4838dee6af050f588542936c989a940bddd50fd2cc43b688dd66f8", "fetched_at": "2026-08-28T04:05:41.811818+00:00", "kind": "readme", "missing": false, "url": "https://github.com/zhangxiangliang/stock-api"}, {"content_hash": "5a2105b57b0436f44e22e3f2784ad6b44b903cff9ccf1106ebcd5fa8de37ab21", "fetched_at": "2026-08-29T10:58:05.060877+00:00", "kind": "homepage", "missing": false, "url": "https://zhangxiangliang.github.io/stock-api/"}, {"content_hash": "9ec859b4b99ae0bb59a8fba1d00b10537d0f120ba5b85584b82faa4dc984c1de", "fetched_at": "2026-08-29T10:58:05.063387+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/stock-api"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 99, "longevity": 100, "rhythm": 90}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2234, "days_push": 7, "days_rel": 70, "gap_med": 0, "n_releases_24m": 14}, "score": 96, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}