# Survey Sentiment Analysis & Aspect Scorer

> Survey Sentiment Analysis & Aspect Scorer is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Scores open-ended survey text by overall sentiment and optionally by named aspects or themes, returning a numeric score and sentiment label.

## Facts

- Endpoint: POST https://x402.agentutility.ai/survey-sentiment-analysis?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/survey-sentiment-analysis-aspect-scorer-cb03fbc6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IpuT_NUBqHEUbFd7q3quS

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 survey-sentiment-analysis-aspect-scorer-cb03fbc6 -d '<json body>'
```

Example prompt: Score the sentiment of this NPS verbatim and break it down by 'food', 'service', and 'value' aspects: 'The burger was amazing but we waited 25 minutes and the prices felt steep for a fast-casual spot.'

## When to prefer this

Use this endpoint when you need to quantify the sentiment of survey free-text responses or NPS verbatims, especially when you want granular aspect-level scores (e.g. 'food', 'service', 'pricing') alongside an overall score. Prefer it over generic sentiment APIs when your use case is explicitly survey or feedback research scoring with multi-aspect decomposition.

## Known failure modes

- Text exceeds 12,000 character limit — request rejected
- More than 15 aspects supplied — may be truncated or rejected
- Empty or missing 'text' field — validation error
- Malformed JSON body — 400 error
- Payment not included or insufficient — 402 payment required

## How this service works

817 pay-per-call APIs for AI agents. Every endpoint is POST /<name> and is payable in USDC over x402 on Base and Solana — no signup, no API key, just pay-per-call. GET https://x402.agentutility.ai/ returns the same catalog as machine-readable JSON.

## Output

Returns a JSON object with an overall_score (numeric, likely -1 to 1) and overall_sentiment label (e.g. 'positive', 'negative', 'mixed'). When aspects are provided, individual aspect scores and sentiment labels are also returned per aspect.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "text"
     ],
     "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."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "overall_score": {
       "type": "number"
      },
      "overall_sentiment": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/survey-sentiment-analysis-aspect-scorer-cb03fbc6/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)
