Skip to main content
Version: v5

rss

Fetch a registered RSS feed.

Examples​

from openbb import obb
obb.news.rss(source='yahoo_finance')

Parameters​

outlet: str
Outlet id.

source: str
Configured feed key.

limit: int
Default: 20
Maximum articles to return.

fetch_body: bool
Default: True
Fetch each article URL for its body.


Returns​

results: list[NewsItemData]

Serializable results.

provider: str

Provider name.

warnings: Optional[list[Warning_]]

List of warnings.

chart: Optional[Chart]

Chart object.

extra: dict[str, Any]

Extra info.


Data​

title: str
Article headline.

date: date | datetime | str
ISO 8601 publication date.

author: str
Author (falls back to the feed name).

url: str
Canonical article URL from the RSS feed.

excerpt: str
Short plain-text summary.

body: str
Article body as markdown with inline images.