---
title: Analyze Multiple Text Sentiment API
slug: analyze-sentiment
url: https://apyhub.com/dosvak/service/analyze-sentiment
provider: Dosvak LLC
categories: [Artificial Intelligence]
tags: [sentiment-analysis, text-classification, nlp, customer-feedback, content-moderation]
auth: api_key
---

# Analyze Multiple Text Sentiment API

Classify text as positive or negative with a confidence score. Process single messages or batches for feedback triage and content moderation.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Classifies an input text as positive or negative and returns the text, the predicted l… | 10 |
| POST | `/batch` | What it does Classifies multiple input texts in a single request and returns an array of sentiment… | 10 |

## About

## What it does
Sentiment Analysis classifies text as positive or negative and returns a confidence score for each result. Send a single text up to 512 characters in the `body.text` field, or submit multiple strings with the batch endpoint in `body.texts`.

Use it when you need to score customer feedback, triage support comments, or filter review streams by tone. The single-text endpoint returns the original `text`, a `label` of `positive` or `negative`, and a `score` between 0 and 1. The batch endpoint returns a `results` array, with each item containing a `label` and `score` for the corresponding input text.

Because the output is compact, it fits cleanly into moderation workflows, analytics pipelines, and product dashboards. You can run one-off checks on a message, or process a list of short texts in one request when you need to classify many comments at once.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/dosvak/service/analyze-sentiment
