Twelve Data Get Stocks

0.5积分/次
ae_twelvedata_get_stocks

浏览每日更新的可用股票代码列表,并可按交易所、国家、资产类型和标识符筛选。

效率工具
0.5积分/次

价格说明

0.5积分/次
条件费用
每次调用0.5积分/次

API 调用

通过统一工具网关发起同步请求,鉴权和计费由 AgentEarth 处理。

cURL
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_twelvedata_get_stocks' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {}
}'
请求方式
POST
接口地址
/agent-api/v1/tool/execute
鉴权方式
X-Api-Key
超时时间
60 秒
响应示例
{
  "error_no": 0,
  "error_msg": "",
  "result": [
    {
      "type": "text",
      "text": "xxx"
    }
  ],
  "platform_annotations": {
    "source": "AgentEarth",
    "platform_note": "xxx",
    "platform_suggestion": "xxx"
  }
}

工具参数

未传入的可选参数将使用平台默认值。

参数类型必填说明默认值
cikstring否The CIK of an instrument for which data is requested—
isinstring否ISIN of the instrument. Use a real non-empty identifier; if this instrument is unavailable by ISIN, resolve its ticker symbol first.—
pageinteger否Zero-based page index when outputsize is provided: 0 is the first page, 1 is the second page, and so on. Use page together with outputsize for pagination. For an exact single-symbol lookup, omit pagination unless needed.0
typeenum (American Depositary Receipt | Bond | Bond Fund | Closed-end Fund | Common Stock | Depositary Receipt | Digital Currency | ETF | Exchange-Traded Note | Global Depositary Receipt | Limited Partnership | Mutual Fund | Physical Currency | Preferred Stock | REIT | Right | Structured Product | Trust | Unit | Warrant)否The asset class to which the instrument belongs—
cusipstring否CUSIP of the instrument. Use a real non-empty identifier; if this instrument is unavailable by CUSIP, resolve its ticker symbol first.—
formatenum (JSON | CSV)否The format of the response dataJSON
symbolstring否The ticker symbol of an instrument for which data is requested—
countrystring否Filter by country name or alpha code, e.g., `United States` or `US`—
exchangestring否Filter by exchange name—
mic_codestring否Filter by market identifier code (MIC) under ISO 10383 standard—
delimiterstring否The separator used in the CSV response data;
show_planboolean否Adds info on which plan symbol is availablefalse
outputsizeinteger否Number of records per page. Combine with page=0 for the first page, then page=1, page=2, etc. Page and outputsize are not mutually exclusive. If omitted, all matching available records may be returned.—
include_delistedboolean否Include delisted identifiersfalse