Daily Sentiment Score

GET /social_sentiment/{ticker}

Get today's high, low, and average social sentiment scores and their corresponding news article URLs for a S&P500 ticker.

Responses

  • Successful Response

    Hide response attributes Show response attributes object
    • debtor string Required
    • ticker string Required
    • low_article object Required
      Hide low_article attributes Show low_article attributes object
      • date string Required
      • score number Required
      • link string(uri) Required

        Minimum length is 1, maximum length is 2083.

    • high_article object Required
      Hide high_article attributes Show high_article attributes object
      • date string Required
      • score number Required
      • link string(uri) Required

        Minimum length is 1, maximum length is 2083.

    • avg_article object Required
      Hide avg_article attributes Show avg_article attributes object
      • date string Required
      • score number Required
      • link string(uri) Required

        Minimum length is 1, maximum length is 2083.

  • Validation Error

    Hide response attribute Show response attribute object
GET /social_sentiment/{ticker}
curl \
 -X GET https://api.bam.money/social_sentiment/{ticker}?api_key=api_token_value
Response examples (200)
{
  "debtor": "Apple Inc",
  "ticker": "AAPL",
  "low_article": {
    "date": "2023-04-21",
    "score": -0.6591967735439539,
    "link": "https://www.bbc.co.uk/news/articles/cv2w3wnjd8ro?at_medium=RSS&at_campaign=KARANGA"
  },
  "high_article": {
    "date": "2023-04-21",
    "score": "0.13965279050171375",
    "link": "https://www.benzinga.com/news/23/04/31911051/snapchat-takes-a-leaf-out-of-apples-playbook-with-new-location-sharing-option"
  },
  "avg_article": {
    "date": "2023-04-21",
    "score": "-0.21829318629022074",
    "link": "https://www.marketwatch.com/data-news/apple-inc-stock-outperforms-competitors-despite-losses-on-the-day-34a1e224-16b074d39208"
  }
}
Response examples (200)
{
  "debtor": "Apple Inc",
  "ticker": "AAPL",
  "avg_article": {
    "date": "2023-04-21",
    "link": "https://www.marketwatch.com/data-news/apple-inc-stock-outperforms-competitors-despite-losses-on-the-day-34a1e224-16b074d39208",
    "score": "-0.21829318629022074"
  },
  "low_article": {
    "date": "2023-04-21",
    "link": "https://www.bbc.co.uk/news/articles/cv2w3wnjd8ro?at_medium=RSS&at_campaign=KARANGA",
    "score": -0.6591967735439539
  },
  "high_article": {
    "date": "2023-04-21",
    "link": "https://www.benzinga.com/news/23/04/31911051/snapchat-takes-a-leaf-out-of-apples-playbook-with-new-location-sharing-option",
    "score": "0.13965279050171375"
  }
}
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}
Response examples (422)
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}