Default

Get company's news sentiment and statistics. This endpoint is only available for US companies.

get/news-sentiment

Request

  • Base URL
    https://finnhub.io/api/v1
  • URL
    https://finnhub.io/api/v1/news-sentiment
  • Auth
    API key in query parameter token

Query parameters

symbolstring required

Company symbol.

Response

successful operation

companyNewsScorenumber float

News score.

sectorAverageBullishPercentnumber float

Sector average bullish percent.

sectorAverageNewsScorenumber float

Sectore average score.

symbolstring

Requested symbol.

Example response

{
  "sentiment": {
    "bearishPercent": 7.0614014,
    "bullishPercent": 9.301444
  },
  "symbol": "symbol",
  "sectorAverageBullishPercent": 5.637377,
  "sectorAverageNewsScore": 2.302136,
  "buzz": {
    "weeklyAverage": 1.4658129,
    "articlesInLastWeek": 0,
    "buzz": 6.0274563
  },
  "companyNewsScore": 5.962134
}

Changes

    • breaking

      the / response's property type changed from integer to number, and format from int64 to float for status

    • breaking

      the / response's property type changed from integer to number, and format from int64 to float for status

    • info

      api tag Default added