Loading...
Loading...
This skill is based on the search capability of Eastmoney Miaoxiang, with intelligent source screening tailored for financial scenarios. It is used to obtain time-sensitive information or event-specific information, including news, announcements, research reports, policies, trading rules, specific events, various impact analyses, and non-common-sense information that requires external data retrieval. It prevents AI from referencing non-authoritative and outdated information when searching for financial scenario information.
npx skill4agent add meission/eastmoney eastmoney_financial_searchEASTMONEY_APIKEYecho $EASTMONEY_APIKEY⚠️ Security Notes
- External Requests: This Skill will send the user's query keywords (Keyword) to the official Eastmoney API interface (
) for parsing and retrieval.mkapi2.dfcfs.com- Data Usage: The submitted data is only used for information search and does not contain personal privacy information.
- Credential Protection: The API Key is only used in the server or trusted runtime environment through the environment variable
, and will not be exposed in plain text on the front end.EASTMONEY_APIKEY
curl -X POST --location 'https://mkapi2.dfcfs.com/finskillshub/api/claw/news-search' \
--header 'Content-Type: application/json' \
--header "apikey: $EASTMONEY_APIKEY" \
--data '{"query":"User query content"}'| Field Path | Brief Explanation |
|---|---|
| Information title, highly summarizing the core content |
| List of related securities, including code, name, type, etc. |
| Securities code (e.g., 002475) |
| Securities name (e.g., Luxshare Precision) |
| Securities type (e.g., stock / bond) |
| Core text of information / structured data block, carrying specific business data |
import os
import requests
api_key = os.getenv("EASTMONEY_APIKEY")
if not api_key:
raise ValueError("Please set the EASTMONEY_APIKEY environment variable first")
url = "https://mkapi2.dfcfs.com/finskillshub/api/claw/news-search"
headers = {
"Content-Type": "application/json",
"apikey": api_key
}
data = {
"query": "Information on Luxshare Precision"
}
response = requests.post(url, headers=headers, json=data)
response.raise_for_status()
result = response.json()
print(result)