Industry Classification Search行业分类检索

该接口按标准产业分类(SIC)代码检索公司信息:返回 SIC 代码、行业名称及公司地址、电话等工商资料,便于按行业定位和分析企业。

GEThttps://quote-fmp.com/stable/industry-classification-search

数据更新周期

N/A · 不适用固定周期

接口说明

  • 按行业查找公司:按行业分类检索公司,返回 SIC 代码、行业名称和公司联系方式等细节,调用后可返回 name(名称)、sicCode(SIC行业代码)与 industryTitle(行业分类名称) 等关键项,满足策略底表自动化更新需求。
  • 工商信息获取:获取公司地址、电话等全面信息,更容易按行业识别和归类企业,读取 sicCode(SIC行业代码)与 industryTitle(行业分类名称) 等结构化数值后,可直接对接估值模型或风控阈值检查。
  • SIC 代码匹配:把公司与对应行业板块匹配起来,增强按行业开展研究和分类的能力,自动化脚本中可与「全行业分类数据」按序调取,一次性补齐该业务模块的核心字段。
  • 上下游关联接口:SEC Filings Company Search By Symbol(股票代码检索公司) · SEC Filings Company Search By CIK(CIK 检索公司) · Search Cik(CIK 检索) · Latest Insider Trading(最新内部人交易)

请求参数

3 个参数
参数类型要求示例说明
symbolstring可选AAPL美国 SEC 监管申报或美股上市公司股票代码,例如 AAPL、MSFT、NVDA(仅覆盖美股及在美上市 ADR,无需附加交易所后缀)。
cikstring可选320193SEC Central Index Key(CIK)编号,用于定位公司 SEC 主体(须传补足前导零的 10 位定长字符串,如 "0000320193",切勿传整型)
sicCodestring可选7371SEC 标准行业分类代码(SIC),用于按行业定位。

调用代码示例

Python 关键代码

从 /stable/industry-classification-search 同步行业分类检索(可选 symbol, cik),一次拿齐 name(名称)、sicCode(SIC 行业代码)、industryTitle(行业分类名称)(样本值 name=Apple Inc.)。

Python(核心参数与字段清洗逻辑)
resp = requests.get(
    "https://quote-fmp.com/stable/industry-classification-search",
    params={"symbol": "AAPL", "cik": "0000320193", "sicCode": "7371", "apikey": FMP_KEY},
    timeout=15,
)
resp.raise_for_status()
df = pd.DataFrame(resp.json())
# 提取 行业分类检索 核心列:symbol, name, cik, sicCode
df = df[["symbol", "name", "cik", "sicCode"]].dropna(how="all")

参数使用和避坑

2 组参数组合 · 2 条避坑

以下列出本接口在高频投研与回测场景下的常用 Query 参数组合写法:

投研场景Query 参数组合示例返回数据特征与用途
按 10 位 CIK(0000320193)检索行业分类检索cik=0000320193向 /stable/industry-classification-search 传补零 10 位 cik=0000320193,获取 name、sicCode、industryTitle(样本 name=Apple Inc.)。
切换代表性机构/主体(cik=0001067983)对比行业分类检索cik=0001067983改传 cik=0001067983 调用 /stable/industry-classification-search,横向比较不同 SEC 申报主体的 name、sicCode、industryTitle。
参数与空值防守行业分类检索首行校验:name=Apple Inc. 与空数组拦截

针对 /stable/industry-classification-search(行业分类检索,可选 symbol, cik),返回首行的 name 为 Apple Inc.;入库前请先拦截 200 [] 空响应。

落库主键与口径行业分类检索维表设计:(symbol, cik, industryTitle) 唯一键与 name 字典映射

持久化 /stable/industry-classification-search(行业分类检索)的 7 个字段时,自然键取 (symbol, cik, industryTitle);标识列 name(样本 Apple Inc.)请保持大小写与上游一致。

返回数据

7 个字段

本接口示例响应共包含 7 个字段(数值型 0 个,文本/日期/布尔型 7 个)。下表列出全部字段名、类型、首条记录真实样本值与中文释义,实际返回会因接口与数据状态有所不同。

字段类型示例值说明
symbolstring"AAPL"证券代码
namestring"Apple Inc."名称
cikstring"0000320193"SEC CIK 编号(SEC 10 位定长中央索引键,落库须定义为 VARCHAR(10) 字符串以防前导零丢失)
sicCodestring"3571"SIC 行业代码
industryTitlestring"ELECTRONIC COMPUTERS"行业分类名称
businessAddressstring"['ONE APPLE PARK WAY', 'CUPERT…"营业地址
phoneNumberstring"4089961010"电话号码
查看响应数据示例(原始 JSON)
[
{
"symbol": "AAPL",
"name": "Apple Inc.",
"cik": "0000320193",
"sicCode": "3571",
"industryTitle": "ELECTRONIC COMPUTERS",
"businessAddress": "['ONE APPLE PARK WAY', 'CUPERTINO CA 95014']",
"phoneNumber": "4089961010"
}
]

常见问题解答(FAQ)

2 个问题
在「Industry Classification」下,行业分类检索(/stable/industry-classification-search)与 行业分类清单(/stable/standard-industrial-classification-list)如何分工?

行业分类检索(/stable/industry-classification-search,可选 symbol, cik)重在输出 name(名称)与 sicCode 等 7 列;而 Industry Classification List(行业分类清单)返回 3 列,两者按查询维度互补。

在批量同步行业分类检索时,/stable/industry-classification-search 的查询窗口与参数组合该如何安排?

推荐做法:向 /stable/industry-classification-search 传入标准 symbol(港股带 .HK、A 股带 .SS);当 /stable/industry-classification-search 正常返回含 name 的 JSON/CSV 后,即可直接合入本地策略宽表。

同模块相关接口对比

Industry Classification

本接口路径 /stable/industry-classification-search,无必填参数。 同一模块「Industry Classification」下共 3 个接口,下表列出其余 2 个, 按粒度与查询维度对比,避免选错接口。

接口路径核心差异与适用场景
行业分类清单Industry Classification List/stable/standard-industrial-classification-list标准产业分类(SIC)代码及对应行业名称的完整目录,可按行业归类公司
全行业分类数据All Industry Classification/stable/all-industry-classification按行业归类的公司完整清单,SIC 行业代码、行业名称、公司名称、CIK、联系电话与地址等关键信息

SecFilings(SEC 文件)全部接口目录 →

需要稳定访问 行业分类检索 数据?注册即可获取专属 API Key,免费体验全部接口。
免费试用 1 个月