# x402-tools-Hub Sentiment Analysis

> x402-tools-Hub Sentiment Analysis is a paid API for AI agents from tools-hub-v4-xi.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-13).

Analyzes the sentiment of a given text input and returns a positive, negative, or neutral classification with confidence scoring

## Facts

- Endpoint: POST https://tools-hub-v4-xi.vercel.app/api/sentiment?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-hub-sentiment-analysis-aa5881de
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uSAEFOgrR0FpQeeXWSwqj

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402-tools-hub-sentiment-analysis-aa5881de -d '<json body>'
```

Example prompt: Classify this customer review as positive, negative, or neutral and give me a confidence score: "The product arrived quickly but the packaging was completely crushed and one item was broken."

## When to prefer this

Use this endpoint when you need a quick, pay-per-call sentiment classification of text without requiring a subscription or standing up your own NLP model. Best suited for sporadic or low-volume sentiment scoring tasks where cost predictability ($0.05 per call) matters and you want a simple positive/negative/neutral label with confidence.

## Known failure modes

- Empty or missing text body returns a 400 error
- Text too long may exceed token limits and return an error
- Payment not included or invalid results in 402 Payment Required
- Network timeout on the Vercel serverless function
- Ambiguous or very short text may yield low confidence scores

## How this service works

Agent Toolkit + AI Gateway + Alpha Scraper — 13 paid endpoints for AI agents.

## Output

Returns a sentiment label (positive, negative, or neutral) along with a confidence score indicating how strongly the model believes in its classification for the provided text input.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-hub-sentiment-analysis-aa5881de/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools-hub-v4-xi.vercel.app](https://www.zero.xyz/host/tools-hub-v4-xi.vercel.app/llms.txt)
