infotrie

infotrie / Articles_Index / 0.2.0

README.md

Articles (Index)

This API provides all articles details with mention of the index or the stocks composing the index.

Input:

  • indexid (required): Will be a  concatenation of class type and id (please refer to https://market.mashape.com/infotrie/index for full list of index). Format is in form of “in_x” where x is the index id.
  • startDate : This is the maximumvalue. The format is “YYYY-MM-DD”
  • endDate : This is the minimum value.The format is “YYYY-MM-DD. If only start date is given, then the default end date is 24 hours past start date.


Output:

  • Domain: Main domain.
  • Sentiment Score: A numeric measure of the bullishness / bearishness of news coverage.
  • URL: Is a reference (an address) to a resource on the Internet.
  • Image Name.
  • Teaser: Short extract of the article.
  • Time: Time at which the article was extracted from the web.
  • Relevance : High/Medium/Low score.Correspond to an assessment on how “relevant” the article is for the entity searched (index in this case).

Please refer to our static data user guide for more information: http://www.infotrie.com/interestingreads/static-data-user-guide and our API Help: http://www.infotrie.com/interestingreads/api-help.
See also http://www.finsents.com.

Example

In the below example in_9 refers to SP500

{"indexId":"in_9","startDate":"2015-11-09","endDate":"2015-10-09"}

Output

{
        "domain": "nasdaq.com",
        "sentiment": 1,
        "title": "Nordstrom Cuts Outlook After Disappointing Quarter",
        "url": "http://www.nasdaq.com/article/nordstrom-cuts-outlook-20160512-01201",
        "image_name": "http://api.finsents.com/static/images/logo/0",
        "teaser": "Nordstrom Inc. on Thursday cut its financial projections for the year...",
        "time": "12:05:2016",
        "relevance": "high"
},