General News综合新闻
该接口返回多来源的最新综合新闻文章,包括标题、摘要与文章链接,支持按日期范围检索指定时段发布的全部新闻。
https://quote-fmp.com/stable/news/general-latest?page=0&limit=20数据更新周期
5 Minutes
接口说明
- 标题:及时获取时事新闻的最新标题,调用后可交付
publishedDate(发布日期)、publisher(发布方)与title(标题/职务) 等结构化信息,降低多资产投研系统的数据接入复杂度。 - 摘要业务定位:通过简要概括快速了解文章要点,支撑个股与多资产实时资讯聚合、上市公司一手公告监控及基于大语言模型(LLM)的事件驱动舆情打分。
- 文章链接:通过提供的 URL 阅读文章获取详细信息,若需补充上下文维度,可搭配同模块的「外汇新闻」交叉比对核心指标。
- 上下游关联接口:Search Press Releases(新闻稿检索) · Search Stock News(股票新闻检索) · Stock Quote(股票报价) · Biggest Stock Gainers(涨幅榜)
请求参数
4 个参数| 参数 | 类型 | 要求 | 示例 | 说明 |
|---|---|---|---|---|
from | date | 可选 | 2026-01-27 | 查询起始日期,格式 YYYY-MM-DD,包含当天。 |
to | date | 可选 | 2026-04-28 | 查询结束日期,格式 YYYY-MM-DD,包含当天。 |
page | number | 可选 | 0 | 分页页码,从 0 开始,配合每页条数翻页取更多数据(从 0 起算的分页游标;当响应返回空数组 [] 时代表已翻至历史末页) |
limit | number | 可选 | 20 | 返回结果条数上限,用于控制单次响应大小。 |
调用代码示例
Python 关键代码访问 /stable/news/general-latest 获取综合新闻(可选 from, to),单条记录含 publishedDate(发布日期)、publisher(发布方)、title(标题 / 职务) 等 8 个字段。
resp = requests.get(
"https://quote-fmp.com/stable/news/general-latest",
params={"from": "2026-01-27", "to": "2026-04-28", "page": 0, "limit": 20, "apikey": FMP_KEY},
timeout=15,
)
resp.raise_for_status()
df = pd.DataFrame(resp.json())
# 提取 综合新闻 核心列:symbol, publishedDate, publisher, title
df = df[["symbol", "publishedDate", "publisher", "title"]].dropna(how="all")参数使用和避坑
2 组参数组合 · 2 条避坑以下列出本接口在高频投研与回测场景下的常用 Query 参数组合写法:
| 投研场景 | Query 参数组合示例 | 返回数据特征与用途 |
|---|---|---|
| 限定 2025-01-01 至 2025-03-31 获取综合新闻 | from=2025-01-01&to=2025-03-31 | 通过 from 与 to 限定三个月跨度访问 /stable/news/general-latest,获取 综合新闻 的 publishedDate、publisher、title(如 2026-07-30 12:53:41)。 |
| 切换 2024-07-01 至 2024-12-31 补齐综合新闻 | from=2024-07-01&to=2024-12-31 | 传 from=2024-07-01&to=2024-12-31 访问 /stable/news/general-latest,分段建立本地 综合新闻 的 publishedDate、publisher、title 历史底表。 |
访问 /stable/news/general-latest 提取综合新闻(可选 from, to),单条 JSON 含 publishedDate(2026-07-30 12:53:41)、publisher(Seeking Alpha)等 8 个字段,空列表响应代表该条件下无披露记录。
从 /stable/news/general-latest 抽取 publishedDate(样本 2026-07-30 12:53:41)入库时,以 (symbol, publishedDate, title) 建唯一索引可安全支持定时全量或增量刷新。
返回数据
8 个字段本接口示例响应共包含 8 个字段(数值型 0 个,文本/日期/布尔型 8 个)。下表列出全部字段名、类型、首条记录真实样本值与中文释义,实际返回会因接口与数据状态有所不同。
| 字段 | 类型 | 示例值 | 说明 |
|---|---|---|---|
symbol | null | null | 证券代码 |
publishedDate | string | "2026-07-30 12:53:41" | 发布日期 |
publisher | string | "Seeking Alpha" | 发布方 |
title | string | "Polaris Renewable Energy Inc. …" | 标题 / 职务 |
image | string | "https://images.financialmodeli…" | 图片链接 |
site | string | "seekingalpha.com" | 来源站点 |
text | string | "Polaris Renewable Energy Inc. …" | 正文内容 |
url | string | "https://seekingalpha.com/artic…" | 链接地址 |
查看响应数据示例(原始 JSON)
[
{
"symbol": null,
"publishedDate": "2026-07-30 12:53:41",
"publisher": "Seeking Alpha",
"title": "Polaris Renewable Energy Inc. (PIF:CA) Q2 2026 Earnings Call Transcript",
"image": "https://images.financialmodelingprep.com/news/polaris-renewable-energy-inc-pifca-q2-2026-earnings-call-transcript-20260730.jpg",
"site": "seekingalpha.com",
"text": "Polaris Renewable Energy Inc. (PIF:CA) Q2 2026 Earnings Call Transcript",
"url": "https://seekingalpha.com/article/4927956-polaris-renewable-energy-inc-pif-ca-q2-2026-earnings-call-transcript"
}
]常见问题解答(FAQ)
2 个问题如何区分「Articles」模块的综合新闻与 FMP文章列表?/stable/news/general-latest 的传参要求是什么?
两者的差异在于入口与字段集:/stable/news/general-latest(综合新闻)要求可选 from, to并产出 8 列(含 publishedDate=2026-07-30 12:53:41);FMP Articles(FMP文章列表)要求无必填参数并产出 8 列。
拉取 /stable/news/general-latest 的综合新闻数据时,如何处理历史回溯、空结果判定或代码格式?
针对 /stable/news/general-latest,推荐利用 from 至 to 闭区间对 /stable/news/general-latest 做分段回溯;这样既能稳定获取 publishedDate(发布日期),又能避免单次请求载荷过大。
同模块相关接口对比
Articles本接口路径 /stable/news/general-latest,无必填参数。 同一模块「Articles」下共 6 个接口,下表列出其余 5 个, 按粒度与查询维度对比,避免选错接口。
| 接口 | 路径 | 核心差异与适用场景 |
|---|---|---|
| FMP文章列表FMP Articles | /stable/fmp-articles | FMP 发布的最新文章列表,包括标题、摘要片段和文章链接,内容定期更新,覆盖各类金融话题 |
| 公司新闻稿Press Releases | /stable/news/press-releases-latest | 全市场上市公司通过商业通讯社最新发布的官方新闻稿流 |
| 个股新闻Stock News | /stable/news/stock-latest | 最新的股票市场新闻,标题、摘要、原文链接与相关股票代码,来源覆盖多家媒体 |
| 加密货币新闻Crypto News | /stable/news/crypto-latest | 汇集各大来源的加密货币最新报道,标题、摘要与原文链接一并返回 |
| 外汇新闻Forex News | /stable/news/forex-latest | 汇总多来源的最新外汇新闻,返回标题、摘要与文章链接,覆盖汇率市场动态、货币对行情与市场情绪 |