S SPARKDATA

SPARKDATA · DATA & RESEARCH

Data for every Agent.AI that ships.

Structured, ready-to-use APIs for market data and company fundamentals, built for research, business systems, and AI applications.

See how it works↓

Every data call can be checked
API documentation
parameters and examples
Data availability
details per endpoint
Research process
traceable
Market data, financials and news↗6 evidence-oriented templates↗Python · Agent · HTTP · CLI↗

Choose one of four ways to start.

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.

Claude CodeCodexOpenClawWorkBuddyHermes
Paste into a terminal and press Entercurl -fsSL https://spark-data.cn/install.sh | sh

Put your key in the request header, then call the data endpoint.

Request the latest quotecurl -H "Authorization: Bearer $SPARKDATA_API_KEY" \ "https://spark-data.cn/v1/market-data/quotes/latest?symbols=XSHG%3A600519"
API docs ↗

Install the standalone CLI, configure a key, then verify it with a real query.

  1. 01Install the CLI
    Install the CLIcurl -fsSL https://spark-data.cn/install-cli.sh | sh
  2. 02Create and configure an API keyOpen API key management ↗

    The full key is shown once. This command masks input and configures only the current terminal session.

    SPARKDATA_API_KEYread -r -s -p 'SparkData API key: ' SPARKDATA_API_KEY; printf '\n'; export SPARKDATA_API_KEY
  3. 03Verify the call
    Get the full Kweichow Moutai contextsparkdata-cli context XSHG:600519

Install the official zero-runtime-dependency client for catalog, market-data, factor, and experiment APIs.

  1. Install the downloaded package
  2. Set the SPARKDATA_API_KEY environment variable
  3. Run the example
Install the official Python SDKpython -m pip install https://spark-data.cn/downloads/sparkdata-python-sdk.tgz
example.pyfrom sparkdata import SparkData client = SparkData() quotes = client.quotes(["XSHG:600519"]) print(quotes[0])

Data services

Historical market data, fundamentals, and research data for your applications.

Historical bars

Complete daily, weekly, monthly, and minute bars for China A-shares

Financials and fundamentals

Statements, metrics, company, ownership, and industry data

Money flow

Money-flow data for equities, industries, and the whole market

Indexes and market

Indexes, constituents, sectors, margin data, price limits, and statistics

Events and research

Trading events, institutional research, consensus, filings, and sentiment

Analysis tools

Technical indicators, valuation, and macroeconomic data

Reproducible research

Research templates, factor definitions and experiment records