Tool Skill
Get Hist Data
get_hist_dataGet historical stock market data. 'eastmoney_direct' support all A,B,H shares
$0.01/call
Flat rate
AkShare
When to Use
Use this tool when you need to get historical stock market data. 'eastmoney_direct' support all a,b,h shares. This is part of the AkShare provider on xpay✦.
MCP Connection
Connect to xpay✦ to access this tool (and 8+ others):
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
How to Execute
Use the xpay✦ meta-tools to run this tool:
xpay_details— Get full input schema:xpay_details("akshare/get_hist_data")xpay_run— Execute:xpay_run("akshare/get_hist_data", { ...inputs })
Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
end_date | string | No | End date in YYYY-MM-DD format |
symbol | string | Yes | Stock symbol/ticker (e.g. '000001') |
recent_n | string | No | Number of most recent records to return |
adjust | string | No | Adjustment type |
interval_multiplier | integer | No | Interval multiplier |
indicators_list | string | No | Technical indicators to add |
interval | string | No | Time interval |
source | string | No | Data source |
start_date | string | No | Start date in YYYY-MM-DD format |
Pricing
- Cost: $0.01/call
- Balance check: Use
xpay_balanceto check remaining credits - Get your API key at xpay.tools — $5 free credits included
Related Skills
- AkShare (all tools) — 9 tools
- Get Realtime Data — $0.01/call
- Get News Data — $0.01/call
- Get Balance Sheet — $0.01/call
- Get Income Statement — $0.01/call
- Get Cash Flow — $0.01/call
Links
- Tool page: https://xpay.tools/akshare/get-hist-data/
- Provider: https://xpay.tools/akshare/
- All tools: https://xpay.tools/explore
How to Execute
// 1. Get full schema
xpay_details("akshare/get_hist_data")// 2. Execute
xpay_run("akshare/get_hist_data", { ...inputs })Input Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
end_date | string | No | End date in YYYY-MM-DD format |
symbol | string | Yes | Stock symbol/ticker (e.g. '000001') |
recent_n | string | No | Number of most recent records to return |
adjust | string | No | Adjustment type |
interval_multiplier | integer | No | Interval multiplier |
indicators_list | string | No | Technical indicators to add |
interval | string | No | Time interval |
source | string | No | Data source |
start_date | string | No | Start date in YYYY-MM-DD format |
Install Skill
Claude Code
claude /install-skill https://xpay.tools/skills/akshare/get-hist-data/SKILL.md
CLI
npx @xpaysh/cli install akshare/get-hist-data
Manual
curl -o SKILL.md https://xpay.tools/skills/akshare/get-hist-data/SKILL.md
Pricing
Cost
$0.01/call
Model
Flat rate
Provider
AkShare

