AKStock API - China A-Share Research
60-second first call: start with `GET /api/v1/stocks/lookup?query=600519` to resolve a China A-share code/name and confirm your RapidAPI headers are working. AKStock API helps developers reach China A-share research data faster: no AKShare jobs to run, no Chinese public-web adapters to maintain, and no custom cache/fallback layer to build before a dashboard or AI agent can answer basic…
AKStock API - China A-Share Research endpoints
| Method | Endpoint | Description |
|---|---|---|
| Stock | ||
| GET |
get_stock_financial_history_api_v1_stock__code__financial_history_get /api/v1/stock/{code}/financial/history |
|
| GET |
get_stock_margin_api_v1_stock__code__margin_get /api/v1/stock/{code}/margin |
Source-limited add-on. Single-stock margin trading history; source and source_limited fields describe coverage limits. |
| GET |
get_stock_info_api_v1_stock__code__info_get /api/v1/stock/{code}/info |
|
| GET |
get_stock_valuation_api_v1_stock__code__valuation_get /api/v1/stock/{code}/valuation |
Source-limited add-on. Lightweight valuation fields such as PE/PB/PS/market cap/dividend yield; nullable and date-limited, not a full fundamentals feed. |
| GET |
get_stock_dividends_api_v1_stock__code__dividends_get /api/v1/stock/{code}/dividends |
Source-limited add-on. Dividend/bonus plan records from validated public web sources; fields are nullable/source_limited when upstream data is incomplete. |
| GET |
get_stock_announcements_api_v1_stock__code__announcements_get /api/v1/stock/{code}/announcements |
|
| GET |
get_stock_financial_api_v1_stock__code__financial_get /api/v1/stock/{code}/financial |
Fetch fundamental data for a single stock (PE, PB, ROE, revenue, etc.). Data source: Sina Finance profit analysis page. Cache: Redis 24h per stock code. Args: code: Stock code in… |
| GET |
get_stock_spot_api_v1_stock_spot_get /api/v1/stock/spot |
|
| GET |
get_stock_hist_api_v1_stock__code__hist_get /api/v1/stock/{code}/hist |
|
| GET |
get_stock_spot_one_api_v1_stock__code__spot_get /api/v1/stock/{code}/spot |
Precisely query the cached market snapshot of a single stock (from Redis HGET, O(1) complexity). The supported code formats are: - With prefix: sz000001, sh600519, bj888888 -… |
| Index | ||
| GET |
get_index_hist_api_v1_index__code__hist_get /api/v1/index/{code}/hist |
|
| GET |
get_index_spot_api_v1_index_spot_get /api/v1/index/spot |
|
| Fund Flow | ||
| GET |
get_fund_flow_api_v1_stock_fund_flow_get /api/v1/stock/fund-flow |
Compatibility endpoint. This route returns a Redis-snapshot-derived market activity ranking proxy, not real stock fund-flow indicators. New integrations should use… |
| GET |
get_stock_fund_flow_rank_api_v1_fund_flow_stocks_get /api/v1/fund-flow/stocks |
Stock Fund-flow Indicators Ranking, separate from the legacy /api/v1/stock/fund-flow market activity proxy. Empty results can occur on holidays or when upstream coverage is… |
| GET |
get_concept_fund_flow_api_v1_stock_fund_flow_concept_get /api/v1/stock/fund-flow/concept |
Source-limited add-on. Concept board fund-flow data from the validated Tonghuashun concept fund-flow page. Independent from /stock/fund-flow proxy ranking; source_limited may be… |
| GET |
get_stock_fund_flow_single_api_v1_fund_flow_stocks__code__get /api/v1/fund-flow/stocks/{code} |
Single-stock Fund-flow Indicators snapshot for a requested date. Returns nullable/source_limited fields when upstream coverage is missing; source_limited=true does not prove zero… |
| GET |
get_stock_fund_flow_history_api_v1_fund_flow_stocks__code__history_get /api/v1/fund-flow/stocks/{code}/history |
Single-stock Fund-flow Indicators History backed by collected DB rows. History depth depends on collector retention and available upstream records; source_limited=true does not… |
| Market | ||
| GET |
get_limit_pool_api_v1_market_limit_pool_get /api/v1/market/limit-pool |
涨跌停池 — reads from LimitPoolCollector's dedicated Redis keys. type=zt: 涨停池 (limit-up) type=dt: 跌停池 (limit-down) |
| GET |
get_market_summary_api_v1_market_summary_get /api/v1/market/summary |
|
| GET |
get_profit_effect_api_v1_market_profit_effect_get /api/v1/market/profit-effect |
Market profit-effect derived from the current full-market cached snapshot. This is a screening/breadth indicator, not investment advice. |
| GET |
get_northbound_api_v1_market_northbound_get /api/v1/market/northbound |
Northbound Flow Historical Archive. Official daily net buy/sell disclosure stopped after the 2024 policy change, so latest is intentionally null by design and this endpoint does… |
| GET |
get_northbound_active_api_v1_market_northbound_active_get /api/v1/market/northbound/active |
Launch-ready. HKEX Stock Connect active-stock turnover ranking. This endpoint reports active traded stocks only and does not include buy_amount, sell_amount, net_buy or net_flow… |
| GET |
get_limit_up_signals_api_v1_market_limit_up_signals_get /api/v1/market/limit-up-signals |
Launch-ready. Limit-Up Context uses the validated Eastmoney limit-up pool path when available and falls back to the basic limit pool. Advanced fields such as consecutive_boards,… |
| LHB | ||
| GET |
get_lhb_by_code_api_v1_lhb__code__get /api/v1/lhb/{code} |
Return 龙虎榜 history for a specific stock code, ordered by trade_date descending. |
| GET |
get_daily_lhb_api_v1_lhb_daily_get /api/v1/lhb/daily |
Return all 龙虎榜 entries for the specified date, ordered by change_pct descending. |
| Concept | ||
| GET |
get_concept_spot_api_v1_concept_spot_get /api/v1/concept/spot |
|
| GET |
get_concept_constituents_api_v1_concept__code__constituents_get /api/v1/concept/{code}/constituents |
|
| System | ||
| GET |
stats_api_v1_system_stats_get /api/v1/system/stats |
|
| GET |
health_api_v1_system_health_get /api/v1/system/health |
|
| Industry | ||
| GET |
get_industry_spot_api_v1_industry_spot_get /api/v1/industry/spot |
|
| Metadata | ||
| GET |
get_openapi_ai_api_v1_metadata_openapi_ai_get /api/v1/metadata/openapi-ai |
|
| GET |
get_akshare_map_api_v1_metadata_akshare_map_get /api/v1/metadata/akshare-map |
|
| Stocks | ||
| GET |
get_risk_flags_api_v1_stocks__code__risk_flags_get /api/v1/stocks/{code}/risk-flags |
|
| GET |
lookup_stocks_api_v1_stocks_lookup_get /api/v1/stocks/lookup |
Resolve an A-share stock code or name into normalized stock identity metadata. Supports six-digit codes, prefixed codes, Chinese names, English names and pinyin-style fragments.… |
| GET |
get_trading_status_api_v1_stocks__code__trading_status_get /api/v1/stocks/{code}/trading-status |
Trading Status Trust Layer for a single stock. Unknown/source_limited states must not be interpreted as normal trading. |
| POST |
lookup_stocks_batch_api_v1_stocks_lookup_batch_post /api/v1/stocks/lookup/batch |
Resolve multiple A-share stock codes or names in one request while preserving input order and duplicate inputs. Each query returns count and results. Empty results for one query… |
| GET |
get_suspended_stocks_api_v1_stocks_suspended_get /api/v1/stocks/suspended |
Trading Status Trust Layer for suspended stocks. Empty items with source_limited=true mean the suspension source is not covered or verified; they do not prove absence of… |
| Block Trades | ||
| GET |
get_block_trades_daily_api_v1_block_trades_daily_get /api/v1/block-trades/daily |
Launch-ready. Eastmoney block-trade daily disclosure-style data. Empty results can occur on holidays or when no block trades are disclosed for the requested date. |
| Events | ||
| GET |
get_restricted_unlock_events_api_v1_events_restricted_unlock_get /api/v1/events/restricted-unlock |
Source-limited add-on. Restricted-share unlock events for a requested window. Supply-pressure screening data only, not investment advice. |
| GET |
get_event_calendar_api_v1_events_calendar_get /api/v1/events/calendar |
|
| GET |
get_shareholder_changes_api_v1_events_shareholder_changes_get /api/v1/events/shareholder-changes |
Source-limited add-on. Shareholder/executive increase/reduction event metadata. Names, ratios and amounts may be nullable/source_limited. |
| GET |
get_restricted_unlock_events_by_code_api_v1_events_restricted_unlock__code__get /api/v1/events/restricted-unlock/{code} |
Source-limited add-on. Single-stock restricted-share unlock events. Empty results/source_limited must not be interpreted as no risk. |
| GET |
get_announcement_events_api_v1_events_announcements_get /api/v1/events/announcements |
Source-limited add-on. Material event metadata only: title, event_type, source link/name and confidence. Does not cache or redistribute announcement full text/PDF. |
| GET |
get_earnings_events_api_v1_events_earnings_get /api/v1/events/earnings |
Source-limited add-on. Earnings forecast/express event metadata from validated Eastmoney datacenter report paths. Does not provide full financial statements. |
| GET |
get_shareholder_changes_by_code_api_v1_events_shareholder_changes__code__get /api/v1/events/shareholder-changes/{code} |
Source-limited add-on. Single-stock shareholder/executive change events. Use source/source_limited to explain coverage limits. |
| GET |
get_capital_actions_api_v1_events_capital_actions_get /api/v1/events/capital-actions |
|
| Margin | ||
| GET |
get_margin_stocks_api_v1_margin_stocks_get /api/v1/margin/stocks |
Launch-ready. Margin trading stock-level source-limited data. Exchange/vendor口径差异 and source_limited coverage should be preserved in client displays. |
| GET |
get_margin_market_api_v1_margin_market_get /api/v1/margin/market |
Launch-ready. Margin trading market summary source-limited data. Not an investment signal or trading recommendation. |
AKStock API - China A-Share Research pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 1 / second |
|
| PRO | $1 / month | 3 / second |
|
| ULTRA | $19 / month | 10 / second |
|
| MEGA | $59 / month | 20 / second |
|