
The Yahoo! Finance Industry News RSS feed enables you to get the most recent 20 news items for an industry as an RSS feed. You can save those results in My Yahoo! or your favorite feed aggregator, or incorporate that data into your own web site or client application. The Yahoo! Finance industry news RSS feed is a dynamically-generated feed based on company stock ticker symbols; it returns the news items for the industry to which that company belongs.
This page describes the format of the industry news RSS request URL and the RSS response for developers. It contains these sections:
Yahoo! Finance also has a dynamic RSS feed for Company News.
The Yahoo! Finance industry news RSS request follows simple
HTTP GET syntax: start with a base URL and then add parameters and values
after a question mark (?). For the industry news RSS feed there is only one
parameter: s for
the ticker symbol(s) to search for.
http://finance.yahoo.com/rss/industry?s=ticker(s)
Every company belongs to a specific industry; Yahoo! Finance returns news items for the industry to which this company belongs. You can find out the ticker symbol for a specific company using the Symbol Lookup feature on Yahoo! Finance. For example, to get industry news items for Yahoo!, use the ticker symbol YHOO and this request URL:
http://finance.yahoo.com/rss/headline?s=yhoo
Ticker symbols are case insensitive. You can separate multiple ticker symbols with a comma:
http://finance.yahoo.com/rss/headline?s=yhoo,msft,tivo
If you specify multiple company ticker symbols from different industries, the RSS feed contains news items from each industry.
Yahoo! Finance returns an RSS 2.0 feed in response to this request. You can subscribe to the request URL with My Yahoo! or another RSS feed aggregator, or you can incorporate the information in the RSS response into your own application. See RSS Response Elements for information on the elements contained in the RSS feed.
The Yahoo! Finance industry news RSS feed is an XML document that conforms to the RSS 2.0 specification. RSS is an XML document containing a single channel element representing the feed, several elements containing metadata about the feed itself, and one or more item elements describing individual items within the feed.
| Element | Description |
|---|---|
| xml | The Yahoo! Finance industry news RSS feed conforms to XML 1.0. No child elements. |
| rss | The Yahoo! Finance industry news RSS feed conforms to RSS 2.0. Child elements: channel |
The channel element contains metadata about the feed and its contents.
| Element | Description |
|---|---|
| title | The title of the feed, which includes the ticker symbols from the request. For example "Yahoo! Finance: YHOO Industry News" |
| link | A URL for the Yahoo! Finance industry page for the ticker symbols in the request. For example http://finance.yahoo.com/q/in?s=yhoo |
| language | The language of the news items, for example, en-us for US English. |
| description | The overall description of the feed including the company names for the ticker symbols in the request, for example "Latest Financial Industry News for YAHOO INC |
| copyright | The Yahoo! copyright statement for this feed. |
| lastBuildDate | The last time the feed was updated (the current date and time). The format is in the date format defined by RFC822 Section 5, for example Mon, 256 Sep 17:25:18 -0700. |
| image | The image used to identify this feed. See Image
Elements for element descriptions Child elements: url, title, link, width, height |
| item | A news headline. Each Yahoo! Finance industry news feed contains multiple item
elements, one for each headline. See Item Elements for
element descriptions. Child elements: title, link, description, guid, pubDate |
The image element describes an image or icon used to identify the feed.
| Element | Description |
|---|---|
| title | The title of the image, for example "Yahoo! Finance" |
| link | The URL of the current search (same as the link element in the parent container) |
| url | The URL of the image |
| width | The width of the image, in pixels |
| height | The height of the image, in pixels |
A feed contains multiple item elements, each element containing a single news item. If the request includes multiple ticker symbols, news items for all the industries those companies represent are returned. Note that the feed simply returns the most recent 20 news items for all the ticker symbols in the request; it does not distinguish which item goes with which company or industry.
| Element | Description |
|---|---|
| title | The news headline, for example "Yahoo! Announces Quarterly Earnings" |
| link | The Yahoo! Finance URL for this news item. |
| description | If given, a short summary of the news item. Many news items include an empty description element. |
| guid | The unique identifier for the item. For news items the guid is the Yahoo! Finance ID for the listing. The attribute isPermaLink is false. |
| pubDate | The date and time this new item was posted, in the date format defined by RFC822 Section 5, for example Mon, 256 Sep 17:25:18 -0700. |
To get news items for the Internet Information Providers industry, to which Yahoo! (YHOO) belongs:
http://finance.yahoo.com/rss/headline?s=yhoo
To get news items for the Entertainment - Diversified industry, to which Disney (DIS) belongs:
http://finance.yahoo.com/rss/headline?s=yhoo,dis
A sample RSS response is shown below:
For more information on the Yahoo! Finance industry news RSS feed, including Terms of Use, see the Yahoo! Finance RSS page.
The Yahoo! Finance RSS Feeds are limited to non-commercial use only. See information on our Usage Policy to learn about acceptable uses.