Company Profile Bulk公司概况批量

该接口以 CSV 流式分片形式一次性返回全市场上市公司的档案主表(Company Profile Bulk),涵盖市值、行业板块、交易所、ISIN/CUSIP/CIK、CEO 与公司简介,用于本地证券主表建库。

GEThttps://quote-fmp.com/stable/profile-bulk?part=0

数据更新周期

4-6 Hours

接口说明

  • 获取完整数据:访问包含股价、市值、行业分类等的公司概况,传入 part 后可读取 price(最新价)、marketCap(总市值)与 beta(Beta系数) 等标准记录,帮助开发团队快速搭建数据管道。
  • 批量请求:一次 API 调用获取多家公司的详细信息,提高数据采集效率,通过单次 CSV 流式响应完成全市场数万标的截面同步。
  • 分析公司信息:利用数据洞察公司的经营、管理层、财务与所属行业,实务中常与同模块的「评级批量」联合调用,先做广度筛查再下钻单标明细。
  • 流式导出响应:调用 /stable/profile-bulk 获取公司概况批量时返回标准 CSV 流,切勿调用 resp.json(),推荐解析后直接存为本地 Parquet 分区文件。
  • 关联数据线接口:Cash Flow Statement Growth Bulk(现金流量表增长批量数据) · Eod Bulk(日线行情批量) · Company Profile Data(公司概况) · Financial Statement Symbols List(报表公司清单)

请求参数

1 个参数
参数类型要求示例说明
partstring必填0SEC 文件的分册编号。

调用代码示例

Python 关键代码

/stable/profile-bulk 单次流式返回全市场公司概况批量(含 price(最新价)、marketCap(总市值)、beta(Beta 系数)),不可调 resp.json(),建议用 pd.read_csv 解析后存为 Parquet。

Python(核心参数与字段清洗逻辑)
import io
resp = requests.get(
    "https://quote-fmp.com/stable/profile-bulk",
    params={"part": "0", "apikey": FMP_KEY},
    timeout=60,
)
resp.raise_for_status()
# 公司概况批量返回 CSV 文本流,使用 io.StringIO 配合 pd.read_csv 解析
df = pd.read_csv(io.StringIO(resp.text))
df["price"] = pd.to_numeric(df["price"], errors="coerce")

参数使用和避坑

2 组参数组合 · 2 条避坑

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

投研场景Query 参数组合示例返回数据特征与用途
按 part=0 拉取公司概况批量part=0向 /stable/profile-bulk 传 part=0,提取匹配的 price、marketCap、beta(如 price=271.36)。
切换 part=MSFT 查询公司概况批量part=MSFT改传 part=MSFT 访问 /stable/profile-bulk,对比不同过滤条件下的 price、marketCap、beta。
CSV 流式解析公司概况批量:/stable/profile-bulk 下发 CSV 文本流,切勿调 resp.json()

公司概况批量接口 /stable/profile-bulk 采用 CSV 流格式下发 price(271.36)等全市场截面,请求时建议设 timeout=60 并以 io.StringIO 解析。

落库主键与口径清洗 /stable/profile-bulk:按 (symbol, cik, exchange) Upsert 并处理 price 空值

对公司概况批量(/stable/profile-bulk)执行增量 ETL 时,通过 (symbol, cik, exchange) 唯一约束幂等写入,并将 price(最新价)与 marketCap(总市值) 统一转为浮点列。

返回数据

36 个字段

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

字段类型示例值说明
symbolstring"AAPL"证券代码
pricenumber271.36最新价
marketCapnumber4009711150080总市值
betanumber1.107Beta 系数
lastDividendnumber1.03最近一次每股派息
rangestring"169.21-288.62"区间
changenumber-0.83涨跌额
changePercentagenumber-0.30493涨跌幅(%)
volumenumber44494594成交量
averageVolumenumber48811139平均成交量
companyNamestring"Apple Inc."公司名称
currencystring"USD"计价币种
cikstring"0000320193"SEC CIK 编号(SEC 10 位定长中央索引键,落库须定义为 VARCHAR(10) 字符串以防前导零丢失)
isinstring"US0378331005"国际证券识别码
cusipstring"037833100"CUSIP 代码
exchangeFullNamestring"NASDAQ Global Select"交易所全称
exchangestring"NASDAQ"交易所代码
industrystring"Consumer Electronics"细分行业
websitestring"https://www.apple.com"官网地址
descriptionstring"Apple Inc. designs, manufactur…"描述
ceostring"Timothy D. Cook"首席执行官(CEO)
sectorstring"Technology"板块
countrystring"US"国家/地区
fullTimeEmployeesstring"164000"全职员工人数
phonestring"(408) 996-1010"联系电话
addressstring"One Apple Park Way"注册地址
citystring"Cupertino"城市
statestring"CA"州/省
zipstring"95014"邮政编码
imagestring"https://images.financialmodeli…"图片链接
ipoDatestring"1980-12-12"IPO(上市)日期
defaultImagebooleanfalse默认图片链接
isEtfbooleanfalse是否为 ETF
isActivelyTradingbooleantrue是否在活跃交易
isAdrbooleanfalse是否为 ADR(美国存托凭证)
isFundbooleanfalse是否为基金
查看响应数据示例(原始 JSON)
[
{
"symbol": "AAPL",
"price": 271.36,
"marketCap": 4009711150080,
"beta": 1.107,
"lastDividend": 1.03,
"range": "169.21-288.62",
"change": -0.83,
"changePercentage": -0.30493,
"volume": 44494594,
"averageVolume": 48811139,
"companyName": "Apple Inc.",
"currency": "USD",
"cik": "0000320193",
"isin": "US0378331005",
"cusip": "037833100",
"exchangeFullName": "NASDAQ Global Select",
"exchange": "NASDAQ",
"industry": "Consumer Electronics",
"website": "https://www.apple.com",
"description": "Apple Inc. designs, manufactures, and markets smartphones, personal computers, tablets, wearables, and accessories worldwide. The company offers iPhone, a line of smartphones; Mac, a line of personal computers; iPad, a line of multi-purpose tablets; and wearables, home, and accessories comprising AirPods, Apple TV, Apple Watch, Beats products, and HomePod. It also provides AppleCare support and cloud services; and operates various platforms, including the App Store that allow customers to discover and download applications and digital content, such as books, music, video, games, and podcasts, as well as advertising services include third-party licensing arrangements and its own advertising platforms. In addition, the company offers various subscription-based services, such as Apple Arcade, a game subscription service; Apple Fitness+, a personalized fitness service; Apple Music, which offers users a curated listening experience with on-demand radio stations; Apple News+, a subscription news and magazine service; Apple TV+, which offers exclusive original content; Apple Card, a co-branded credit card; and Apple Pay, a cashless payment service, as well as licenses its intellectual property. The company serves consumers, and small and mid-sized businesses; and the education, enterprise, and government markets. It distributes third-party applications for its products through the App Store. The company also sells its products through its retail and online stores, and direct sales force; and third-party cellular network carriers, wholesalers, retailers, and resellers. Apple Inc. was founded in 1976 and is headquartered in Cupertino, California.",
"ceo": "Timothy D. Cook",
"sector": "Technology",
"country": "US",
"fullTimeEmployees": "164000",
"phone": "(408) 996-1010",
"address": "One Apple Park Way",

内容已截断,完整字段以实际返回为准。

常见问题解答(FAQ)

2 个问题
投研选型时,什么场景用公司概况批量(/stable/profile-bulk),什么场景改用 评级批量?

当您需要 price(最新价,如 271.36)与 marketCap(总市值)时调 公司概况批量(/stable/profile-bulk,必填 part);反之若侧重 Stock Rating Bulk(评级批量) 的维度,则请求 /stable/rating-bulk(无必填参数)。

在脚本里循环或定时请求 /stable/profile-bulk(公司概况批量)时,有哪些调度细节要注意?

在脚本编排上,建议按 part 过滤条件请求 /stable/profile-bulk 并做非空校验;将每次从 /stable/profile-bulk 拿到的 price(最新价)按批次追加至本地历史表。

同模块相关接口对比

Profile

本接口路径 /stable/profile-bulk,必填参数 part。 同一模块「Profile」下共 11 个接口,下表列出其余 10 个, 按粒度与查询维度对比,避免选错接口。

接口路径核心差异与适用场景
评级批量Stock Rating Bulk/stable/rating-bulk以单次 CSV 流式响应批量导出全市场股票的综合财务评级快照
DCF 批量估值DCF Valuations Bulk/stable/dcf-bulk一次请求即可返回多个代码的现金流折现(DCF)估值,含隐含价格变动空间与百分比差异
财务评分批量Financial Scores Bulk/stable/scores-bulk以单次 CSV 流式响应批量返回全市场股票的 Piotroski F-Score与 Altman Z-Score截面
目标价汇总批量Price Target Summary Bulk/stable/price-target-summary-bulk以单次 CSV 流式响应批量导出全市场覆盖股票的分析师目标价汇总截面
ETF持股批量查询ETF Holder Bulk/stable/etf-holder-bulkETF 持仓资产的详细清单,每项资产的持股数量、权重占比、市值
评级共识批量数据Upgrades Downgrades Consensus Bulk/stable/upgrades-downgrades-consensus-bulk批量获取全部股票代码的分析师评级总览,一次请求即可拿到分析师上调评级、下调评级与共识推荐
TTM 关键指标批量Key Metrics TTM Bulk/stable/key-metrics-ttm-bulk以单次 CSV 流式响应批量导出全市场上市公司的滚动十二个月(TTM)关键财务指标截面
TTM 财务比率批量Ratios TTM Bulk/stable/ratios-ttm-bulk以单次 CSV 流式响应批量导出全市场上市公司的滚动十二个月(TTM)财务比率截面
同业公司批量Stock Peers Bulk/stable/peers-bulk以单次 CSV 流式响应批量导出全市场上市公司的同行业可比公司映射全表
批量财报超预期Earnings Surprises Bulk/stable/earnings-surprises-bulk一次返回多家公司年度财报意外数据,实际 EPS 与预期 EPS 对比

Bulk(批量数据)全部接口目录 →

需要稳定访问 公司概况批量 数据?注册即可获取专属 API Key,免费体验全部接口。
免费试用 1 个月