# AgentUtility Patient Feedback Sentiment Analyzer

> AgentUtility Patient Feedback Sentiment Analyzer is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Analyzes patient feedback text to produce an overall sentiment score, sentiment label, and confidence level

## Facts

- Endpoint: POST https://x402.agentutility.ai/patient-feedback-sentiment
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentutility-patient-feedback-sentiment-analyzer-91cfc264
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4ycM6v4LbA2drn3NZ75Kq

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 agentutility-patient-feedback-sentiment-analyzer-91cfc264 -d '<json body>'
```

Example prompt: Analyze the sentiment of this patient feedback and tell me the overall sentiment, score, and how confident you are: 'The nursing staff was attentive and kind, but the wait times were frustratingly long and nobody explained the billing process.'

## When to prefer this

Use this endpoint when you need sentiment analysis specifically tuned or labeled for patient/healthcare feedback contexts, and you want a structured score plus confidence alongside a categorical sentiment label (positive/negative/mixed). Prefer this over generic sentiment APIs when working in healthtech, patient experience management, or clinical feedback pipelines.

## Known failure modes

- Empty or missing feedback text returns a validation error
- Extremely short or ambiguous input may yield low confidence scores
- Non-English text may produce inaccurate sentiment classification
- Payment failure via x402 returns 402 with payment details required

## How this service works

Paid x402 endpoints organized into product clusters. USDC-settled on Base. MCP-callable. ERC-8004 identity registry agentId 47167.

## Output

Returns a JSON object with: overall_sentiment (e.g. 'mixed', 'positive', 'negative'), overall_score (float from roughly -1.0 to 1.0 indicating sentiment polarity), and confidence (float 0–1 indicating model certainty in the classification).

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "properties": {
      "text": {
       "type": "string",
       "description": "Text to analyze. Max 12,000 chars."
      },
      "aspects": {
       "type": "array",
       "description": "Optional. Up to 15 aspect names (e.g. 'food', 'service') to score individually alongside overall sentiment."
      }
     },
     "required": [
      "text"
     ]
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "overall_sentiment": {
       "type": "string"
      },
      "overall_score": {
       "type": "number"
      },
      "confidence": {
       "type": "number"
      }
     }
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "confidence": 0.82,
  "overall_score": -0.12,
  "overall_sentiment": "mixed"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentutility-patient-feedback-sentiment-analyzer-91cfc264/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
