Over a million developers have joined DZone.

News Analysis via AlchemyAPI for Topics, Companies, and People

DZone 's Guide to

News Analysis via AlchemyAPI for Topics, Companies, and People

Bluemix's AlchemyAPI service offers API access to blogs and other news content over a two month period. Learn more about AlchemyAPI, and news aggregation with this neat service.

· Integration Zone ·
Free Resource

The AlchemyAPI service on Bluemix provides an API to access news and blog content from the last 60 days enriched with meta information like sentiments and entities identified through natural language processing. This allows, for example, to build applications focussed on trend analysis for certain topics, companies or people.

The AlchemyData News API indexes 250k to 300k English language news and blog articles every day and stores the last two months. The News API uses internally several of the AlchemyLanguage APIs to analyze text and to perform more than just simple keyword based searches.

Here is a quick sample. With the following command you can invoke a query for positive news about IBM in the last two days. Since currently the IBM Connect conference is going on, news about this event is found.

curl -G "https://access.alchemyapi.com/calls/data/GetNews?apikey=[YOUR_API_KEY]&return=enriched.url.title,enriched.url.url,enriched.url.author,enriched.url.publicationDate,enriched.url.enrichedTitle.docSentiment&start=now-2d&end=now&q.enriched.url.enrichedTitle.entities.entity=|text=IBM,type=company|&q.enriched.url.enrichedTitle.docSentiment.type=positive&count=25&outputMode=json"


To find out more about this service read the documentation and watch the videos “Building With Watson – Using the News API” and “Using AlchemyAPI for Finance."

There is also an online demo where you can enter your own queries. A more sophisticated application is the “News Explorer." My colleague Jonathan Kaufman open sourced another sample “Election Insights."


Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}