# NetIntel Sentiment Analysis

> NetIntel Sentiment Analysis is a paid API for AI agents from netintel-production-440c.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Analyzes text to produce a multi-aspect sentiment score with emotional classification, polarity, and confidence rating

## Facts

- Endpoint: POST https://netintel-production-440c.up.railway.app/sentiment/analyze
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/netintel-sentiment-analysis-306a4c95
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_AF9pBH40loxtnn5kuc42M

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 netintel-sentiment-analysis-306a4c95 -d '<json body>'
```

Example prompt: Can you analyze the sentiment of this restaurant review and break it down by aspect — food, price, and service — and tell me the overall grade and how confident you are: 'The pasta was absolutely delicious and the staff were lovely, but the prices are way too high for what you get.'

## When to prefer this

Choose this endpoint when you need fine-grained, aspect-level sentiment breakdown with emotional classification and a confidence score in a single call — especially for review-style text where multiple dimensions (food, service, price) matter. Prefer over simpler positive/negative classifiers when you need graded output, emotion labels, and polarity nuance.

## Known failure modes

- Empty or missing text input returns 400 bad request
- Text too long may be truncated or rejected
- Ambiguous or very short text may yield low confidence score
- Non-English text may produce unreliable results
- Payment failure (x402) blocks the call entirely

## How this service works

Analyze the sentiment of text using Claude Haiku — returns overall polarity (positive/negative/neutral/mixed), a -1 to +1 score, detected emotions, and optional per-aspect sentiment, so agents can gauge tone in reviews, messages, and feedback in one call.

## Output

Returns a letter grade (e.g. A), an overall numeric sentiment score, per-aspect scores with polarity labels (e.g. food: 0.9 positive, price: -0.4 negative), a list of detected emotions (e.g. joy, trust), an overall polarity label (positive/negative/mixed), a confidence score (0–1), and a service_score integer.

## 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": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "The text to analyze sentiment for — a review, message, feedback, or any natural-language text. Max 10000 words or 50KB."
      },
      "aspects": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Optional list of up to 10 aspects for aspect-based sentiment (e.g. [\"price\", \"service\", \"quality\"]). When provided, sentiment toward each named aspect is also returned."
      }
     }
    },
    "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": {
      "grade": {
       "type": "string",
       "description": "Letter grade A-F derived from service_score"
      },
      "score": {
       "type": "number",
       "description": "Sentiment polarity score from -1.0 (very negative) to 1.0 (very positive)"
      },
      "aspects": {
       "type": "object",
       "description": "Per-aspect sentiment (present only when the aspects param was supplied); each aspect maps to { polarity, score }"
      },
      "emotions": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Detected emotions drawn from joy, anger, sadness, fear, surprise, disgust, trust, anticipation"
      },
      "findings": {
       "type": "array",
       "description": "Reserved — currently always [] on success (analysis errors surface as 502s, never findings)"
      },
      "polarity": {
       "type": "string",
       "description": "Overall sentiment: positive, negative, neutral, or mixed"
      },
      "confidence": {
       "type": "number",
       "description": "Model confidence 0.0-1.0"
      },
      "service_score": {
       "type": "numbe
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "grade": "A",
  "score": 0.2,
  "aspects": {
   "food": {
    "score": 0.9,
    "polarity": "positive"
   },
   "price": {
    "score": -0.4,
    "polarity": "negative"
   },
   "service": {
    "score": 0.8,
    "polarity": "positive"
   }
  },
  "emotions": [
   "joy",
   "trust"
  ],
  "findings": [],
  "polarity": "mixed",
  "confidence": 0.86,
  "service_score": 100
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/netintel-sentiment-analysis-306a4c95/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from netintel-production-440c.up.railway.app](https://www.zero.xyz/host/netintel-production-440c.up.railway.app/llms.txt)
