# DexL Agents Sentiment Analysis

> DexL Agents Sentiment Analysis is a paid API for AI agents from agents.dexl.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Analyzes the sentiment of a text input and returns a structured sentiment classification result.

## Facts

- Endpoint: POST https://agents.dexl.io/v1/tools/sentiment-text
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/dexl-agents-sentiment-analysis-07816db9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2-oENge3xOU4B48u4g-Eq

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 dexl-agents-sentiment-analysis-07816db9 -d '<json body>'
```

Example prompt: Can you analyze the sentiment of this customer review and tell me if it's positive, negative, or neutral: 'The onboarding was smooth but the support team took three days to respond to a simple question.'

## When to prefer this

Choose this endpoint when you need a fast, pay-per-call sentiment classification with no API key setup, especially within an agentic or machine-to-machine workflow that already uses the DexL x402 payment rail. Ideal for low-volume, sporadic requests where subscription overhead is undesirable.

## Known failure modes

- Text exceeds 8000-character limit — request rejected
- Empty or missing text field — validation error
- Ambiguous or mixed-language input may reduce classification accuracy
- Payment failure via x402 protocol — request not processed
- Service temporarily unavailable — HTTP 5xx response

## How this service works

Sentiment as one of positive, negative, neutral or mixed, with a -1 to 1 score and a one-line reason. "Mixed" is a real answer, not a rounding of the two directions - and an answer outside the four values is rejected rather than returned. Fixed price per call.

## Output

A JSON object containing the sentiment output (e.g. classification label and/or score), the number of units consumed (1), and a flag indicating whether the result was served from cache.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "units": 1,
  "cached": false,
  "output": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/dexl-agents-sentiment-analysis-07816db9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.dexl.io](https://www.zero.xyz/host/agents.dexl.io/llms.txt)
