Sentiment Analysis API logo

Sentiment Analysis API

Bydataandapis.com
|
AI
|
10 tokens / call

Classify any text as positive or negative with a confidence score, using a DistilBERT model that runs on the platform. Send a short string with GET or a longer body with POST. No third-party keys and nothing leaves the platform.

Quick Start

Subscribe to get instant API access with your unique API key.

View Pricing Plans

Available Endpoints

Request Parameters

API URL

Please subscribe to see the API URL

Headers

X-Api-Key

Query Parameters

text(Required)

Please subscribe to see the actual API URL

import axios from 'axios';

const url = '{API_URL}';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});