Data for every Agent.AI that ships.

See how it works

Every answer can be checked
Catalog contract
ready
Coverage and rights
explicit when unknown
Research process
traceable

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])

Ten data and research jobs. Open one and start asking.

Choose a category to see specific examples.

Try asking

4 examples

Review one year of daily bars

Retrieve one year of daily bars for Kweichow Moutai (600519) and summarize the trend in plain language.

Try online

Review a long-term trend

Use weekly and monthly bars to explain the CSI 300 Index trend over the last three years.

Try online

Review minute bars

Retrieve 5-minute bars for 600519 on a specified trading day and mark the high and low.

Try online

Compare instruments

Compare six months of daily bars for 600519 and 000858, including the data time.

Try online