# DataVault Sentiment Analysis

> DataVault Sentiment Analysis is a paid API for AI agents from zetdatavault.vercel.app, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-14).

Analyzes the sentiment of a given text string and returns a structured sentiment result

## Facts

- Endpoint: POST https://zetdatavault.vercel.app/api/sentiment
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datavault-sentiment-analysis-d9c2c53a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_qRYa8t0g7RljRWCoZB4zN

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 datavault-sentiment-analysis-d9c2c53a -d '<json body>'
```

Example prompt: Analyze the sentiment of this customer review and tell me if it's positive, negative, or neutral: 'The product arrived quickly but the packaging was damaged and the quality felt cheap.'

## When to prefer this

Choose this endpoint when you need quick, pay-per-call sentiment classification of arbitrary text without committing to a subscription. Ideal for agents that occasionally need to assess tone of user-generated content, customer feedback, or social media posts. Best for single-text, real-time sentiment checks rather than bulk batch processing.

## Known failure modes

- Missing required 'text' field returns a 400 error
- Empty string input may return an error or ambiguous result
- Very long text may be truncated or rejected
- Payment failure (402) if USDC payment is not included or insufficient
- Network timeout if the underlying AI model is slow to respond

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

Returns a JSON object with a success boolean and a data object containing the sentiment analysis result for the provided text, likely including sentiment classification (positive/negative/neutral) and possibly a confidence score or numeric sentiment value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datavault-sentiment-analysis-d9c2c53a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetdatavault.vercel.app](https://www.zero.xyz/host/zetdatavault.vercel.app/llms.txt)
