POST
/
stock
/
former-names
股票曾用名
curl --request POST \
  --url https://data-api.investoday.net/data/stock/former-names \
  --header 'Content-Type: application/json' \
  --header 'apiKey: <api-key>' \
  --data '
{
  "stockCode": "000001",
  "stockCodes": [
    "000001",
    "600519"
  ],
  "pageNum": 1,
  "pageSize": 10
}
'
{
  "code": 0,
  "message": "success",
  "data": [
    {
      "changeDate": "1991-04-03 00:00:00",
      "changeReason": "新上市",
      "stockCode": "000001",
      "stockName": "深发展A"
    }
  ]
}

Authorizations

apiKey
string
header
required

API访问的安全令牌

Body

application/json

通过股票代码查询该股票的历史曾用名信息,包括变更日期、变更原因、股票代码及对应的股票名称。

stockCode
string

股票代码【与stockCodes组成多选一参数,必须且只能传递其中一个】

Example:

"000001"

stockCodes
string[]

股票代码列表【与stockCode组成多选一参数,必须且只能传递其中一个】

Example:
["000001", "600519"]
pageNum
integer<int32>

页码。 最小值:1;

Example:

1

pageSize
integer<int32>

页长。 最小值:1; 最大值:500;

Example:

10

Response

成功响应

code
integer<int32>

响应状态码

Example:

0

message
string

响应消息

Example:

"success"

data
object[]