#
# # # # #

Sentiment Analyzer API

API:Components

US$5US$15

  • Generate content sentiment data ratio from any form of text content. Social sentiment data include 5 main metrics of sentiment data, which is respectively polarity, subjectivity, negative, positive and neutral. 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 content sentiment data ratio from any form of text content.
  • 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-analyzer
  • Type of Data: JSON & 20/minute
  • Data Source: Texture Content
  • Request Limit: 500 request/month
  • Script & Integration: Code to integrate with cURL, JS, Python, Ruby, Php, Node.js, Java, .NET, Rust, Go, Typescript
Sentiment Analyzer API Endpoint Basic Info

API Endpoint Path

required

Content Sentiment Analyzer API

api/1/sentiment-analyzer


Call Method

Required

POST

Type of Data Return

JSON

Output structured JSON data on Content Sentiment Ratio


Available API Arguments & Parameters

token

required

BUYFROMLO API token. Free and paid subscription APIs are both available: /api/1/sentiment-analyzer, and accessible to on-site APP on /app/1/sentiment-analyzer as well

originalContent

required

Input a piece of content. The max.character ceiling in English is 8000


language

Optional

Enter the content language. Default is english


Content Sentiment Analyzer API

api/1/sentiment-analyzer


Code Integration and Response

Python Code Sample


import requests

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

## Required Arguments & Parameters ##
token = ""your buyfromlo token""
originalContent = "raw content materials or context for reference"

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

## Call the api ##
response = requests.post(apiendpoint, json={"originalContent":originalContent}, headers=headers)
print(response.status_code)
print(response.json())
                        

JSON Response Sample


{
    "originalContent": " " (string),
    "Subjectivity": " " (float),
    "Polarity": " " (float)
}
                        

4.5 (Overall)

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

Latest Reviews

FAQs

The Content Sentiment Analyzer API provides sentiment data for any form of text content. It uses a unique algorithm to analyze text and generate 5 sentiment metrics: polarity, subjectivity, negative, positive, and neutral.

You can access the Content Sentiment Analyzer API through its endpoint path: \/api\/1\/sentiment-analyzer. It offers paid and free subscription options for both API and on-site app services.

The Content Sentiment Analyzer API delivers sentiment data in JSON format, allowing for seamless integration and analysis.

The sentiment analysis data is derived from real-world content sourced from Texture Content.

Yes, the Content Sentiment Analyzer API has a request limit of 500 requests per month per token.

Yes, the Content Sentiment Analyzer API offers integration with various programming languages such as cURL, JS, Python, Ruby, PHP, Node.js, Java, .NET, Rust, Go, and Typescript.

Yes, there is a free version of the Content Sentiment Analyzer API. However, it has certain limitations compared to the paid subscription.

You can find detailed documentation for the Content Sentiment Analyzer API at https:\/\/www.buyfromlo.com\/docs\/#\/Content%20&%20Sentiment%20Barometer\/post_api_1_sentiment_analyzer.

You can obtain an API token by signing up for a free or paid subscription on the BUYFROMLO website.

The API allows you to integrate sentiment analysis functionality into your own applications, while the on-site app provides a user-friendly interface for sentiment analysis directly on the BUYFROMLO platform.