Tushare Stock Basic

1 credits/call
ae_tushare_stock_basic

Look up A-share security details by stock name, TS code, exchange, market, or listing status.

Productivity
1 credits/call

Pricing

1 credits/call
ConditionCharge
Each call1 credits/call

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
namestringNo名称—
is_hsstringNo是否沪深港通标的,N否 H沪股通 S深股通—
fieldsarrayNo指定返回字段,不传则返回默认字段。 默认字段: ts_code, symbol, name, area, industry, cnspell, market, list_date, act_name, act_ent_type 额外可选字段: is_hs: 是否沪深港通标的,N否 H沪股通 S深股通 enname: 英文全称 exchange: 交易所代码 fullname: 股票全称 curr_type: 交易货币 delist_date: 退市日期 list_status: 上市状态 L上市 D退市 G过会未交易 P暂停上市—
marketstringNo市场类别 (主板/创业板/科创板/CDR/北交所)—
ts_codestringNoTS股票代码(格式说明)—
exchangestringNo交易所 SSE上交所 SZSE深交所 BSE北交所—
list_statusstringNo上市状态 L上市 D退市 P暂停上市 G过会未交易,默认是L—

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_tushare_stock_basic' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "fields": [
      "ts_code",
      "name",
      "industry",
      "market",
      "list_date",
      "is_hs"
    ],
    "ts_code": "600629.SH"
  }
}'
Response exampleresponse.json
JSON
[
  {
    "industry": "建筑工程",
    "is_hs": "H",
    "list_date": "19930209",
    "market": "主板",
    "name": "华建集团",
    "ts_code": "600629.SH"
  }
]

Guides using this tool

See how this tool fits into real workflows