#
# # # # #

Twitter Trending Sentiment Ratio Barometer API

API:Marketing

US$5US$10

  • 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.

  • The API is for personal use. For more details regarding API usage obligation & liability, please read Legal Terms of Service & Condition

1 Mins Video Google Sheets Demo


Twitter Trending Sentiment Ratio Barometer API Applied to Use in Google Sheets.

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 requests per min
  • Data Source: Twitter
  • Request Limit: 500 requests/month
  • Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript

4.5 (Overall)

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

Latest Reviews

Twitter Trending Sentiment Ratio Barometer API Endpoint Basic Info

API Endpoint Path

required

Twitter Trending Content Sentiment Ratio Calculator API

https://www.buyfromlo.com/api/1/sentiment


Call Method

Required

GET

Type of Data Return

JSON

JSON output structured data for Twitter trending content sentiment ratio data


Available API Arguments & Parameters

Token

required

BUYFROMLO API token. Subscription API is available on www.buyfromlo.com/apis, and accessible to on-site APP on www.buyfromlo.com/app 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 Trending Content Sentiment Ratio Calculator API

https://www.buyfromlo.com/api/1/sentiment


Code Integration and Response

Python Code Sample


import requests

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

## Required Arguments & Parameters ##

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

## Call the api ##
response = requests.get(apiendpoint + "?token=" + token + "&keyword=" + keyword)
print(response.status)
print(response.json())
                        

JSON Response Sample


{
    "Query": "",
    "Subjectivity": "",
    "Polarity": "",
    "Positive": "",
    "Negative": "",
    "Neutral": ""
}