Run one command. The Skill includes its query tool and initializes itself.
curl -fsSL https://spark-data.cn/install.sh | shSPARKDATA · DATA & RESEARCH
Structured, ready-to-use APIs for market data and company fundamentals, built for research, business systems, and AI applications.
Start with Agent install. Use the Python SDK for research code, or HTTP and CLI for existing systems and terminals.
Run one command. The Skill includes its query tool and initializes itself.
curl -fsSL https://spark-data.cn/install.sh | shPut your key in the request header, then call the data endpoint.
curl -H "Authorization: Bearer $SPARKDATA_API_KEY" \
"https://spark-data.cn/v1/market-data/quotes/latest?symbols=XSHG%3A600519"Install the standalone CLI, configure a key, then verify it with a real query.
curl -fsSL https://spark-data.cn/install-cli.sh | shThe full key is shown once. This command masks input and configures only the current terminal session.
read -r -s -p 'SparkData API key: ' SPARKDATA_API_KEY; printf '\n'; export SPARKDATA_API_KEYsparkdata-cli context XSHG:600519Install the official zero-runtime-dependency client for catalog, market-data, factor, and experiment APIs.
python -m pip install https://spark-data.cn/downloads/sparkdata-python-sdk.tgzfrom sparkdata import SparkData
client = SparkData()
quotes = client.quotes(["XSHG:600519"])
print(quotes[0])Historical market data, fundamentals, and research data for your applications.
Complete daily, weekly, monthly, and minute bars for China A-shares
Statements, metrics, company, ownership, and industry data
Money-flow data for equities, industries, and the whole market
Indexes, constituents, sectors, margin data, price limits, and statistics
Trading events, institutional research, consensus, filings, and sentiment
Technical indicators, valuation, and macroeconomic data
Research templates, factor definitions and experiment records