77trust / 100

Text Sentiment

by manylives.me in Other

x402 APIPassing, checked 2 h ago

Sentiment of a text: positive, negative, neutral or mixed, a score from -1 to 1, the emotions present and a one-line reason.

POST https://manylives.me/paid/text/sentiment

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
415 ms typical, 498 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://manylives.me/paid/text/sentiment" \
  -H "content-type: application/json" \
  -d '{"text":"The delivery was fast and the result was exactly what we needed. Great service!"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fmanylives.me%2Fpaid%2Ftext%2Fsentiment
const res = await pay("https://manylives.me/paid/text/sentiment", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"text":"The delivery was fast and the result was exactly what we needed. Great service!"}),
});
console.log(await res.json());

Example input

{
  "text": "The delivery was fast and the result was exactly what we needed. Great service!"
}

Example output

{
  "emotions": [
    "joy"
  ],
  "reason": "…",
  "score": 0.7,
  "sentiment": "positive"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402405 ms$0.01
6 h agoPassed402415 ms$0.01
10 h agoPassed402382 ms$0.01
14 h agoPassed402498 ms$0.01
18 h agoPassed402425 ms$0.01
21 h agoPassed402500 ms$0.01
25 h agoPassed402492 ms$0.01
28 h agoPassed402487 ms$0.01
32 h agoPassed402386 ms$0.01
36 h agoPassed402355 ms$0.01
39 h agoPassed402462 ms$0.01
43 h agoPassed402482 ms$0.01
46 h agoPassed402362 ms$0.01
2 days agoPassed402474 ms$0.01
2 days agoPassed402413 ms$0.01