# A股数据 API (ashareapi.com)

Serves A-share stock quotes, K-line history, market snapshots and macro indicators through an HTTP API with Python and Node SDKs.

- Atlas card: https://inite.ai/en/atlas/ashareapi.com
- Site: https://ashareapi.com
- For: Developers and AI agent builders needing A-share quotes, K-lines and macro data via API
- Categories: finance
- Use 56/100 · alive 100/100

## Used for

- Pull A-share quotes into pandas DataFrames
- Fetch K-line history for stocks and ETFs
- Feed A-share market data to AI agents via MCP

## Price

- no price printed, no free plan (read 2026-10-16 on https://ashareapi.com/pricing)

## For developers

- OpenAPI: https://ashareapi.com/openapi.json (48 paths)
- API docs: https://ashareapi.com/developers
- MCP server: com.ashareapi/ashare-data-api (namespace; open on 2026-10-15, 38 tools)
- Read 2026-10-15

## Your data

- Certifications stated: none
- Read 2026-10-15

---

Source: INITE Atlas, https://inite.ai/en/atlas/ashareapi.com. JSON: https://inite.ai/api/atlas/ashareapi.com. MCP: https://inite.ai/api/mcp (atlas_lookup).
