DataBull — Claude Code Skill
Query A-share, Hong Kong and US data directly inside Claude Code, Cursor or any AI tool that supports Skills. Once installed, just ask in natural language.
1 One-click install
Run the command below in your project directory; the skill files
are downloaded automatically into .claude/skills/databull/.
Hand the prompt below to any agent (OpenClaw, etc.); it reads the install instructions on the page and downloads, understands and installs the skill itself.
2 Set your API Key
Sign up free to get an API Key, then set the environment variable.
3 Start using it
Type /databull in Claude Code, then ask in natural language.
Supported data endpoints
All methods below are verified working against the live DataBull API. Capital flows, margin trading, dragon-tiger lists and chip distribution are not open yet and return empty results.
Index daily history
OHLCV & change, from 2020
client.get_index_history()
Index list
~10,600 indices, filter by market/class
client.get_index_list()
Index search
Name/code keyword, relevance ranked
client.search_index()
Index constituents
Constituents & weights, by weight desc
client.get_index_constituents()
US index history
S&P / Nasdaq / Dow, daily to monthly
client.get_us_index_history()
US index list
Paged, with quote availability flag
client.get_us_index_list()
US index search
By code / short name, relevance ranked
client.search_us_index()
A-share / ETF / index list
Full universe filtered by keyword/exchange
client.get_stock_list()
Stock basics
symbol / name / market / shares
client.get_stock_info()
Company profile
Company fundamentals
client.get_company_profile()
Stock history
Daily / minute, from 2020
client.get_stock_history()
Stock financials
Balance / Income / CashFlow / PershareIndex
client.get_stock_financial_data()
US stock basics
US stock code basics
client.get_us_stock_info()
US stock history
US daily / minute
client.get_us_stock_history()
HK stock basics
HK stock code basics
client.get_hk_stock_info()
HK stock history
HK daily / minute
client.get_hk_stock_history()
ETF list
Filter by keyword / exchange
client.get_etf_list()
ETF basics
Scale / tracking index, etc.
client.get_etf_info()
ETF creation/redemption
Live PCF
client.get_etf_pcf()
ETF constituents
Holding detail
client.get_etf_composition()
ETF history
ETF daily
client.get_etf_history()
News flash
Cailian / Jin10 / Sina sources
client.get_news_flash()
Flash sources
List of available sources
client.get_news_flash_sources()
Market news
Paginated news list
client.get_market_news()
News detail
Single news detail
client.get_market_news_detail()
Fear & Greed Index
Daily market sentiment
client.get_fear_greed()
SW sector change
SW tier-1 / 2 / 3
client.get_sector_data()
SW sector catalog
Synced weekly from Tushare
client.get_sector_catalog()
Stock realtime tick
Intraday order book
client.get_realtime()
Trading calendar
SSE/SZSE trading days
client.get_trading_calendar()
Compatible platforms