Skip to content

公司简介

GET /v1/quote/{symbol}/f10/company-profile

获取公司详情标签列表(公司简介、上市信息、关键指标等以标签名/标签值形式展示的静态资料)。ETF / REIT 自动路由到基金资料源。

请求参数

参数类型位置必填说明
symbolstring路径标的代码,如 HK.00700

请求示例

bash
curl "$ip/v1/quote/HK.00700/f10/company-profile" | jq

响应字段

返回 data.items[],每项为一个公司详情标签。

字段类型说明
namestring标签名(本地化展示文本,如 Symbol / Company Name / Website)。
valuestring标签值。
field_typeint排版类型。0=文本,1=链接,2=独立标题(长文块)。
attribute_typeint标签语义类型(机器可读稳定键)。ETF / REIT 路径不返回。详见下方枚举表。

枚举 attribute_type(标签语义类型)

取值含义取值含义取值含义
1A股简称19公司地址37董事长
2A股代码20办公地址38法人代表
3B股简称21办公地址邮编39董事会秘书
4B股代码22注册地址40营业执照号
5H股简称23公司网址41会计师事务所
6H股代码24城市42证券事务代表
7代码(Symbol)25国家43法律顾问
8ISIN26邮编44公司类别
9公司名称27传真45合资格会计师
10上市时间28邮箱46审计机构
11发行价29公司简介47注册办事处
12发行数量30CEO48总办事处及主要营业地点
13成立日期31证券类型49IR链接
14上市交易所32ADS转换比例50所属行业
15所属市场33省份(A股)51所在地区
16电话34州(美股)52总经理
17年结日35公司业务53股份登记处(目前仅 AU)
18员工数量36经营范围

限制范围

  • 支持市场:HK / US / SH / SZ / BJ / AU / CA / JP / SG。
  • 支持品类:正股 / ETF / REIT。期货、期权等衍生品返回 unsupported。
  • 板块 / 场外债券 / 场外基金等返回 invalid_symbol。

错误码

ret_codeerror.code触发条件处理建议
0成功
-3invalid_parametersymbol 缺失或格式非法检查 symbol 拼写与格式
-7invalid_symbol无法解析为证券确认为受支持市场的正股/ETF 代码
-8unsupported品类不支持(期货/期权等)改查正股
-10no_data标的合法但当前无公司资料该标的暂无资料,无需重试

响应示例

json
{
  "ret_code": 0,
  "ret_msg": "success",
  "data": {
    "items": [
      { "field_type": 0, "attribute_type": 7, "name": "Symbol", "value": "00700" },
      { "field_type": 0, "attribute_type": 9, "name": "Company Name", "value": "TENCENT" },
      { "field_type": 0, "attribute_type": 8, "name": "ISIN", "value": "KYG875721634" },
      { "field_type": 0, "attribute_type": 10, "name": "Listing Date", "value": "Jun 16, 2004" },
      { "field_type": 0, "attribute_type": 18, "name": "Employees", "value": "114848" },
      { "field_type": 1, "attribute_type": 23, "name": "Website", "value": "http://www.tencent.com" },
      { "field_type": 2, "attribute_type": 35, "name": "Business", "value": "Tencent Holdings Ltd is an investment holding company ..." }
    ]
  }
}