Default

Social Sentiment

Changed on

Get social sentiment for stocks on Reddit and Twitter.

get/stock/social-sentiment

Request

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

Query parameters

symbolstring required

Company symbol.

fromstring date

From date <code>YYYY-MM-DD</code>.

tostring date

To date <code>YYYY-MM-DD</code>.

Response

successful operation

symbolstring

Company symbol.

Example response

{
  "symbol": "symbol",
  "data": [
    {
      "positiveMention": 6,
      "atTime": "atTime",
      "score": 2.302136,
      "positiveScore": 5.962134,
      "negativeMention": 1,
      "negativeScore": 5.637377,
      "mention": 0
    },
    {
      "positiveMention": 6,
      "atTime": "atTime",
      "score": 2.302136,
      "positiveScore": 5.962134,
      "negativeMention": 1,
      "negativeScore": 5.637377,
      "mention": 0
    }
  ]
}

Changes

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status