Skip to main content

Getting Started with News Sentiment API

Introduction

News Sentiment API by Dalalstreet.ai is an advanced artificial intelligence solution that allows financial services providers to seamlessly integrate sentiment analysis of news data into their existing applications. Designed specifically for the financial services industry, the API processes and categorizes news articles from a wide range of sources, evaluating their sentiment as positive, negative, or neutral. This powerful tool empowers financial professionals and individual investors to make data-driven decisions by providing a comprehensive understanding of the impact of news on equity stocks.

API Endpoints

Authentication

For running this API, you would need an platformToken which you can get by booking a demo our team here. You can then use this token to authenticate your requests.

Get News Sentiment

This endpoint returns the sentiment score of a news article. The sentiment score is a number between Positive, Neutral and Negative.

  POST https://api.dalalstreet.ai/news/v1/news-sentiment

For futher more information about the API, please go through the setup documentation here.

SDKs (Software Development Kits)

We have created SDKs for the following languages:

Python SDK

The Python SDK can be installed using the following command:

pip install dalalstreet-news-sentiment

For futher more information about the Python SDK, please go through the setup documentation here.

NodeJS SDK

The NodeJS SDK can be installed using the following command:

npm install news-sentiment

For futher more information about the NodeJS SDK, please go through the setup documentation here.