Sign Up

Log In

Getting Started

The StockSent API provides an interface for accessing news sentiment from various sources

Options

Option Type Description
symbol string Ticker symbol to get market news for
key string API key

Responses

Key Type Description
ticker string Ticker symbol for market news
totalResults int Total number of articles in request
timestamp int Unix Timestamp of when request was made
results array Array of all articles from search
article string Article title
confidence float Confidence of analysis
description string Article description
sentiment string Sentiment: positive, negative, neutral
url string url of article
averageConfidence float Average confidence of all the articles
averageSentiment string Average sentiment of all the articles

Python Example

            import requests
            r = requests.get("https://stocksent.io/api/1.0/AAPL?key=3ekTxXeyh6cb5fJGkGt0bgFhHtwUy0ov")
            data = r.json()