Skip to content
Fourohtwo

Sentiment analysis API

agent-data-tools.revmesh2074.workers.dev/ai/sentiment-analysis

Sentiment analysis API. Sentiment analysis of text: positive or negative with a confidence score, from a DistilBERT model fine-tuned on SST-2, for English text. Use to classify reviews, support tickets, social posts, headlines and replies at scale, or as the scoring step of a monitoring agent.

BasePolygonArbitrumSolanaAnswering
GEThttps://agent-data-tools.revmesh2074.workers.dev/ai/sentiment-analysis

Uptime100% of 2 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/ai/sentiment-analysis?text=The+checkout+was+fast+and+support+answered+within+minutes.");
console.log(await res.json());

Example input

{
  "text": "The checkout was fast and support answered within minutes."
}