SuperAPI AI Directory

investoday-finance-data

Data & analytics

View repository

Updated 10-15 22:38

About this skill

InvestToday Data Marketplace (InvestToday)

InvestToday Data Marketplace provides 180+ financial data interfaces for A-shares, Hong Kong stocks, funds, indices, macroeconomic data, and more.

API Key

  • Register to get an API Key
  • Create in the root directory where the current Skill is located the .env file (in the same directory as SKILL.md ), for example:
    • Cursor:.cursor/skills/investoday-finance-data/.env
    • Claude Code:.claude/skills/investoday-finance-data/.env
INVESTODAY_API_KEY=<your_key>
  • It can also be configured via environment variables (note: do not leave plaintext Key in terminal history)

⚠️ API Key security rules (must be strictly followed):

  1. It is prohibited to display the plaintext content of the API Key in any console output, log, or chat message
  2. When the user provides an API Key:
    • Write it directly to the .env file,do not echo / print / echo back the Key content
    • Confirm that .env has been added to .gitignore
    • After writing is complete,mustoutput the following prompt to the user:

✅ API Key configuration is complete. The API Key is your only credential for accessing data. Please keep it safe and never leak it to others through chat, screenshots, code commits, or any other means.

  1. When calling the API,do notinclude the API Key in command-line arguments, logs, or error messages
  2. If you need to verify whether the Key is configured, only output "configured" or "not configured",do notoutput any part of the Key

Call the interface

# GET(默认)
python skills/scripts/call_api.py <接口路径> [key=value ...]

# POST(参数以 JSON body 发送)
python skills/scripts/call_api.py <接口路径> --method POST [key=value ...]

# array 参数:同一 key 重复传入
python skills/scripts/call_api.py <接口路径> --method POST codes=000001 codes=000002

For the interface's GET / POST methods, see the markers in the references/ documents. Output is JSON; on failure, an error message is printed.

Example

python skills/scripts/call_api.py search key=贵州茅台 type=11
python skills/scripts/call_api.py stock/basic-info stockCode=600519
python skills/scripts/call_api.py stock/adjusted-quotes stockCode=600519 beginDate=2024-01-01 endDate=2024-12-31
python skills/scripts/call_api.py fund/daily-quotes --method POST fundCode=000001 beginDate=2024-01-01 endDate=2024-12-31

Interface Index

Look up in the references/ documents of the corresponding categoryInterface pathandinput parameters。

Category Subcategory Number of interfaces Document
Basic Data — 5 Basic Data.md
Market Data — 1 Market Data.md
Shanghai-Shenzhen-Beijing Data Basic Information 4 Basic Information.md
Stock Quotes 17 Stock Quotes.md
Financial Data 24 Financial Data.md
Special Data 18 Special Data.md
Corporate Actions 29 Corporate Actions.md
Sectors Basic Quotes 3 Basic Quotes.md
Derived Quotes 2 Derived Quotes.md
Basic Data 3 Basic Data.md
Financial Data 1 Financial Data.md
Special Data 1 Special Data.md
Analysis and Forecasting 1 Analysis and Forecasting.md
Index Basic Quotes 2 Basic Quotes.md
Technical Indicators 1 Technical Indicators.md
Quote Derived Data 1 Quote Derived Data.md
Index Information 1 Index Information.md
News and Views Basic Data 2 Basic Data.md
Research Reports Basic Data 1 Basic Data.md
Featured Data 1 Featured Data.md
Investment Ratings 2 Investment Ratings.md
Announcements — 2 Announcements.md
Hong Kong Stocks Financial Data 3 Financial Data.md
Basic Data 3 Basic Data.md
Hong Kong Stock Quotes 7 Hong Kong Stock Quotes.md
Corporate Actions 2 Corporate Actions.md
Tools Icons 2 Icons.md
Macroeconomics Domestic Macro 2 Domestic Macro.md
Large Model Corpus — 2 Large Model Corpus.md
Funds Fund Quotes 4 Fund Quotes.md
Fund Information 12 Fund Information.md
Fund Performance 12 Fund Performance.md
Fund Portfolio 6 Fund Portfolio.md
Fund Holders 2 Fund Holders.md
Featured Data 3 Featured Data.md
ETF Funds 2 ETF Funds.md
Fund Financial Data 2 Fund Financial Data.md

Security and Privacy

  • Data that leaves this machine: endpoint path, query parameters,INVESTODAY_API_KEY(sent via HTTPS to data-api.investoday.net)
  • Data that does not leave this machine: local files, other variables in the environment, conversation content
  • The API Key is used only for authentication and will not be logged or forwarded to third parties

External Interfaces

Endpoint Purpose Data Sent
https://data-api.investoday.net/data/cloud/* Financial Data Query API Key (Header), query parameters

Trust Statement: This Skill will send query requests to the Today's Investment Data Platform (data-api.investoday.net). Please install and use it only after you trust this platform.

Related Links

Official Website · FAQ · Contact Us

Keywords

stock, fund, ETF, index, bond, A-share, HK stock, China market, financial data, market data, quote, realtime quote, financial statement, balance sheet, income statement, cash flow, valuation, dividend, IPO, announcement, research report, analyst rating, macro economics, quantitative, investment research, portfolio, backtesting, finance API, stocks, funds, market quotes, financials, A-shares, Hong Kong stocks, indices, macroeconomics, research reports, announcements, quantitative, investment research, net asset value, dividends, financial reports, dragon-tiger list, margin trading and securities lending, block trades, shareholders, top ten tradable shareholders, sectors, industry analysis