# Strale Sentiment Analysis

> Strale Sentiment Analysis is a paid API for AI agents from api.strale.io, paid per call via x402, $0.054001/call, status unknown (last checked 2026-09-14).

Analyzes text sentiment returning overall polarity (positive/negative/neutral/mixed), confidence scores, and aspect-level sentiment breakdown.

## Facts

- Endpoint: GET https://api.strale.io/x402/sentiment-analyze
- Price: $0.054001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-f3f03a34
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cGHWEnkLwO6Sut2awVMcr

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 api-strale-io-f3f03a34
```

Example prompt: Analyze the sentiment of this customer review and tell me if it's positive, negative, neutral, or mixed along with a confidence score: "The product quality is excellent but shipping took forever and customer support was unhelpful."

## When to prefer this

Use this endpoint when you need both overall sentiment classification and granular aspect-level sentiment in a single call, especially when confidence scores are required for downstream decision-making. Prefer over simpler polarity classifiers when mixed sentiment detection is important.

## Known failure modes

- Missing required 'text' query parameter returns validation error
- Empty string input may return undefined or error response
- Very long text inputs may be truncated or rejected
- Non-English text may produce lower accuracy results
- Rate limiting or quota exceeded returns 402/429 error
- Network timeout for unusually complex or long inputs

## How this service works

Analyze the sentiment of text. Returns overall sentiment (positive/negative/neutral/mixed), confidence scores, and aspect-level sentiment.

## Output

Returns an overall sentiment label (positive, negative, neutral, or mixed), confidence scores indicating certainty, and aspect-level sentiment identifying sentiment toward specific aspects or topics mentioned in the text.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "text": "The product quality is excellent but shipping took forever and customer support was unhelpful."
  }
 }
}
```

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Text to analyze"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-f3f03a34/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
