#
# # # # #

Twitter Content Sentiment Ratio Barometer API

API:Components

US$19US$21

  • Generate social media topic sentiment data from Twitter API data source. Social sentiment data include 5 main metrics of sentiment data, which is respectively polarity, subjectivity, negative, positive and neutral. Sentiment dataset is refreshed everyday. Token supports both API and onsite app with respectively paid and free version.

  • For more details regarding API usage obligation & liability, please read Legal Terms of Service & Condition

Features

  • Generate social media topic sentiment data from Twitter API data source
  • Social sentiment data include 5 main metrics of sentiment data, which is respectively polarity, subjectivity, negative, positive and neutral
  • Sentiment dataset is refreshed everyday
  • Token supports both API and onsite app with respectively paid and free version

API Endpoint Specifications

  • Endpoint Path: /api/1/sentiment
  • Type of Data: JSON & 20/minute
  • Data Source: Twitter
  • Request Limit: 500 request/month
  • Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
Twitter Content Sentiment Ratio Barometer API Endpoint Basic Info

API Endpoint Path

required

Twitter Content Sentiment Ratio Calculator API

api/1/sentiment


Call Method

Required

POST

Type of Data Return

JSON

Output structured JSON data on Twitter trending content sentiment ratio


Available API Arguments & Parameters

token

required

BUYFROMLO API token. Paid subscription API is available: /api/1/sentiment, and accessible to on-site APP on /app/1/sentiment as well

keyword

required

Input a keyword query related to the trending content from Twitter


language

Optional

Input the language iso-id, such as en, ja, fr, etc. The default language is en


Twitter Content Sentiment Ratio Calculator API

api/1/sentiment


Code Integration and Response

Python Code Sample


import requests

apiendpoint = "https://api.buyfromlo.com/api/1/sentiment"

## Required Arguments & Parameters ##

token = ""your buyfromlo token""
keyword = ""Input a keyword""

data={"keyword": keyword}
headers={"Authorization": "Bearer " + token}

## Call the api ##
response = requests.post(apiendpoint, json=data, headers=headers)
print(response.status_code)
print(response.json())
                        

JSON Response Sample


{
    "Query": " " (string),
    "Subjectivity": " " (float),
    "Polarity": " " (float),
    "Positive": " " (float),
    "Negative": " " (float),
    "Neutral": " " (float)
}
                        

4.5 (Overall)

  • 5 stars - 38
  • 4 stars - 10
  • 3 stars - 3
  • 2 stars - 1
  • 1 star - 0

Latest Reviews

FAQs

The Twitter Content Sentiment Ratio Barometer API is a social media topic sentiment data generation tool that pulls data from the Twitter API. It provides five key sentiment metrics: polarity, subjectivity, negativity, positivity, and neutrality. The sentiment dataset is refreshed daily and can be accessed via both API and on-site app, with paid and free versions available.

The Twitter Content Sentiment Ratio Barometer API solely relies on Twitter as its data source.

The Twitter Content Sentiment Ratio Barometer API delivers data in JSON format, with a maximum request rate of 20 per minute.

The Twitter Content Sentiment Ratio Barometer API has a request limit of 500 requests per month per token.

The Twitter Content Sentiment Ratio Barometer API offers integration with a wide range of programming languages, including cURL, JS, Python, Ruby, PHP, Node.js, Java, .NET, Rust, Go, and TypeScript.

Yes, a paid subscription API is available for the Twitter Content Sentiment Ratio Barometer API, offering access to the API endpoint via \/api\/1\/sentiment.

Yes, the Twitter Content Sentiment Ratio Barometer API can also be accessed through an on-site app at \/app\/1\/sentiment.

The paid version of the Twitter Content Sentiment Ratio Barometer API provides access to additional features and functionalities, while the free version offers limited usage and capabilities.

Yes, comprehensive documentation for the Twitter Content Sentiment Ratio Barometer API is provided at https:\/\/www.buyfromlo.com\/docs\/#\/.

To get started with the Twitter Content Sentiment Ratio Barometer API, you can visit the documentation at https:\/\/www.buyfromlo.com\/docs\/#\/, which includes detailed instructions on how to obtain an API token and use the API.