Double 11 annual ¥1,699/yrView
Decorative market-board background (illustrative, not live quotes; data as of 2026-09-16 14:55:38)
AI-nativeMulti-source channels70 sources · auto-switchingMCP ready

A-Share Data API — The data foundation for Agent quant
No signup. Just call it.

102 endpoints covering quotes, full profile, order book, financials, money flow, top-trader boards, sectors, macro and convertible bonds — plus a quant factor library (87 factors) / quant strategies (29) / quant backtest / quant playbooks (25). No application, no scraping, no data-source maintenance.

30-second startGET
curl -H "Authorization: Bearer YOUR_KEY" \
  "https://api.ashareapi.com/v1/quote?code=sh600667"

# 快速测试:https://api.ashareapi.com/v1/quote?code=sh600667&key=YOUR_KEY

# → {"ok":true,"elapsed_ms":862,"data":[{"date":"2026-09-16","last":"19.72", ...}]}
CSI 300 over the last 120 trading days (decorative, data as of 2026-09-16)

No signup needed

The free endpoints need no key at all — just call the URL. For the full set, get a key: no signup, no application, no review queue.

Works with your AI Agent

Drop three lines into Claude Code, Codex or any MCP client. Then just ask "how is 600667 doing today" and the agent fetches it. If you cannot get it working, we will get it working.

70 sources in one pool

You are not depending on a single upstream. If one is unavailable, the next one is used automatically — 100% success rate in our tests. Your code does not have to handle it.

Data coverage

102 endpoints by category. Full parameters and examples in theendpoint reference. Daily objective summaries (pre-market / midday / post-close) live in thedaily A-share report.

Quotes
Watching intraday / trends
  • Real-time quote
  • Full profile
  • Order book
  • Up/down distribution
K-line
Trends / backtests
  • Daily / weekly / monthly / quarterly / yearly
  • Minute bars m1–m120
  • Full 10-year history
  • Adjustment: forward / back / raw
  • Intraday (today / last 5 days)
Fundamentals
Company quality & valuation
  • Three statements
  • Technical indicators (MA / MACD / KDJ / RSI / BOLL)
  • Shareholder research
  • Dividends & splits
  • Event tags
  • Company profile
Money flow
Is smart money buying?
  • Main capital flow
  • Margin trading
  • Block trades
  • Chip distribution
Top-trader boards
Institutions & hot money
  • Institutions
  • Hot money
  • Active seats
  • Brokerage detail
Sectors
Finding today's hot themes
  • Industry / concept moves
  • Sector valuation percentile
Macro
Reading the big picture
  • GDP / CPI / PMI
  • Treasury yields
  • LPR / MLF
Screening
Filtering the market by rules
  • Factor expressions
  • 87 factors
  • 22 presets
  • Label screening
Quant backtest
Does the strategy actually work?
  • Single-stock / portfolio backtest
  • Batch backtest (many stocks × many strategies)
  • Costs included: commission / stamp duty / slippage / price limits
Quant strategies & factors
No need to build from scratch
  • 29 built-in strategies
  • 87-factor library
  • 25 playbooks
  • Historical factor cross-sections
Convertible bonds
New issues / redemption / double-low
  • Conversion terms
  • Double-low ranking
  • Redemption alerts
More
Supporting data & tools
  • ETF data
  • IPO calendar
  • Research digest
  • Stock search
  • Usage & quota

For developers: two lines to a DataFrame

Official Python / Node.js SDKs — no URL building, no retry handling, no response parsing. Free endpoints work right after install.

InstallSHELL
pip install ashareapi
npm install ashareapi
Runs right after installPython
from ashareapi import AShareAPI

cli = AShareAPI()                       # free endpoints need no key
df = cli.quote("sh600667")              # quote → pandas DataFrame
print(df[["date", "last", "turnover"]])
import { AShareAPI } from "ashareapi";

const cli = new AShareAPI();            // free endpoints need no key
const rows = await cli.quote("sh600667");  // real-time quote
console.log(rows[0]);                   // array of objects, no DataFrame
Free endpoints — no key requiredquoteklinehotmarket_overviewchangedistwiki
Python 3.9+·only depends on requests·no pandas? falls back to list[dict]·5 error types each say what to do

Pricing

Buyout per call, or monthly unlimited.Full comparison

Trial
¥9.9/ 10k calls
Trials and light scripts
Choose
Standard
¥29.9/ 100k calls
All data · build a small tool
Choose
Unlimited
¥199/ month
Stop counting calls
Choose
Live source status

70 sources back each other up. If one is unavailable, the next takes over. Publicly verifiable.

70
sources
100%
success today
862ms
avg latency
View status