FMP ArticlesFMP文章列表
该接口返回 FMP 发布的最新文章列表,包括标题、摘要片段和文章链接,内容定期更新,覆盖各类金融话题。
https://quote-fmp.com/stable/fmp-articles?page=0&limit=20数据更新周期
N/A · 不适用固定周期
接口说明
- 标题:获取覆盖各类金融话题的最新文章标题,调用后可覆盖
title(标题/职务)、content(content)与tickers(相关证券代码) 等高频字段,适合定时批量归档至本地数据库。 - 摘要业务定位:通过简短摘要快速了解每篇文章的要点,利用
content(content)与tickers(相关证券代码) 等标准字段,可直接计算衍生比率或滚动窗口统计量。 - 文章链接:通过提供的 URL 阅读文章全文,实务中常与同模块的「加密货币新闻」联合调用,先做广度筛查再下钻单标明细。
- 关联数据线接口:Search Stock News(股票新闻检索) · Search Crypto News(加密货币新闻检索) · Earnings Report(公司财报数据) · Stock Quote(股票报价)
请求参数
2 个参数| 参数 | 类型 | 要求 | 示例 | 说明 |
|---|---|---|---|---|
page | number | 可选 | 0 | 分页页码,从 0 开始,配合每页条数翻页取更多数据(从 0 起算的分页游标;当响应返回空数组 [] 时代表已翻至历史末页) |
limit | number | 可选 | 20 | 返回结果条数上限,用于控制单次响应大小。 |
调用代码示例
Python 关键代码拉取 FMP文章列表 只需访问 /stable/fmp-articles(可选 page, limit),结果涵盖 title(标题 / 职务)、content(内容)、tickers(相关证券代码)(title=Centerra Gold (NYSE:CGAU…)。
resp = requests.get(
"https://quote-fmp.com/stable/fmp-articles",
params={"page": 0, "limit": 20, "apikey": FMP_KEY},
timeout=15,
)
resp.raise_for_status()
df = pd.DataFrame(resp.json())
# 提取 FMP文章列表 核心列:title, date, content, tickers
df = df[["title", "date", "content", "tickers"]].dropna(how="all")参数使用和避坑
2 组参数组合 · 2 条避坑以下列出本接口在高频投研与回测场景下的常用 Query 参数组合写法:
| 投研场景 | Query 参数组合示例 | 返回数据特征与用途 |
|---|---|---|
| 读取FMP文章列表最新首屏流(page=0, limit=50) | page=0&limit=50 | 请求 /stable/fmp-articles 首屏记录,获取最新披露的 title、content、tickers(样本 title=Centerra Gold (NYSE:CGAU…)。 |
| 递增游标翻页回填FMP文章列表(page=1, limit=100) | page=1&limit=100 | 向 /stable/fmp-articles 传 page=1&limit=100,向历史纵深翻页归档 title、content、tickers 等 8 列。 |
在FMP文章列表(/stable/fmp-articles)中,首条样本的 title 为 Centerra Gold (NYSE:CGAU…、content 为 <ul> <li><strong>Str…;批量采集时请按可选 page, limit校验传参格式。
存储FMP文章列表(/stable/fmp-articles)数据时,键 (date, title) 能唯一标识每条记录;注意 title(标题 / 职务,样本 Centerra Gold (NYSE:CGAU…)为标准文本字段。
返回数据
8 个字段本接口示例响应共包含 8 个字段(数值型 0 个,文本/日期/布尔型 8 个)。下表列出全部字段名、类型、首条记录真实样本值与中文释义,实际返回会因接口与数据状态有所不同。
| 字段 | 类型 | 示例值 | 说明 |
|---|---|---|---|
title | string | "Centerra Gold (NYSE:CGAU) Driv…" | 标题 / 职务 |
date | string | "2026-07-30 16:11:45" | 日期 |
content | string | "<ul> <li><strong>Strategic Gro…" | 内容 |
tickers | string | "NYSE:CGAU" | 相关证券代码 |
image | string | "https://portal.financialmodeli…" | 图片链接 |
link | string | "https://financialmodelingprep.…" | 详情链接 |
author | string | "Andrew Wynn" | 作者 |
site | string | "Financial Modeling Prep" | 来源站点 |
查看响应数据示例(原始 JSON)
[
{
"title": "Centerra Gold (NYSE:CGAU) Drives Growth with North American Investments and Strong Financials",
"date": "2026-07-30 16:11:45",
"content": "<ul>\n <li><strong>Strategic Growth & Operational Excellence:</strong> Centerra Gold is strategically investing in its North American assets, exemplified by a <strong>29%</strong> increase in gold production at the Mount Milligan mine, driving future growth.</li>\n <li><strong>Robust Financial Health & Increased Guidance:</strong> The company maintains a strong financial position with zero long-term debt and approximately <strong>$450 million</strong> in cash, leading to increased 2026 gold ...",
"tickers": "NYSE:CGAU",
"image": "https://portal.financialmodelingprep.com/positions/6a6b7d9c2514096bb2027277.jpeg",
"link": "https://financialmodelingprep.com/market-news/centerra-gold-cgau-growth-north-american-investments-strong-financials",
"author": "Andrew Wynn",
"site": "Financial Modeling Prep"
}
]常见问题解答(FAQ)
2 个问题使用「Articles」接口族时,FMP文章列表(可选 page, limit)与 综合新闻(无必填参数)怎么选?
按输入参数看,/stable/fmp-articles(FMP文章列表)为可选 page, limit,产出 title(Centerra Gold (NYSE:CGAU…)等 8 列;/stable/news/general-latest(General News(综合新闻))为无必填参数,产出 8 列。
在自动化流水线中对接FMP文章列表(/stable/fmp-articles),怎样平衡拉取深度与请求效率?
最佳实践是向 /stable/fmp-articles 传分页参数并在收到空数组时终止循环;解析响应中的 title(如 Centerra Gold (NYSE:CGAU…)前,请确保对异常空值和网络超时设置退避重试。
同模块相关接口对比
Articles本接口路径 /stable/fmp-articles,无必填参数。 同一模块「Articles」下共 6 个接口,下表列出其余 5 个, 按粒度与查询维度对比,避免选错接口。
| 接口 | 路径 | 核心差异与适用场景 |
|---|---|---|
| 综合新闻General News | /stable/news/general-latest | 多来源的最新综合新闻文章,包括标题、摘要与文章链接,支持按日期范围检索指定时段发布的全部新闻 |
| 公司新闻稿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 | 汇总多来源的最新外汇新闻,返回标题、摘要与文章链接,覆盖汇率市场动态、货币对行情与市场情绪 |