Skip to content
Fourohtwo

Sentiment analysis (positive / negative)

mpp-ai.fmf-x402.workers.dev/mpp/sentiment

Sentiment analysis (positive / negative) — Binary sentiment (POSITIVE / NEGATIVE with confidence) for up to 25 texts per call, using DistilBERT SST-2 (Apache-2.0) on Cloudflare Workers AI. English works best. Free sample: add ?sample=1. Price $0.0005. A call with no input uses the documented defaults.

BaseAnswering
GEThttps://mpp-ai.fmf-x402.workers.dev/mpp/sentiment

Uptime100% of 4 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://mpp-ai.fmf-x402.workers.dev/mpp/sentiment?text=I+love+how+fast+this+API+is.");
console.log(await res.json());

Example input

{
  "text": "I love how fast this API is."
}

More from FMF Tools mpp-aiProvider status