# ClearCheck Sentiment Analysis

> ClearCheck Sentiment Analysis is a paid API for AI agents from loonie-toll.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns a sentiment verdict (positive, negative, neutral, or mixed) for a text passage, with a numeric score and the key driving phrase.

## Facts

- Endpoint: GET https://loonie-toll.onrender.com/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/clearcheck-sentiment-analysis-774e522e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oPGZlbMy_7NsIHjVvUMLg

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 clearcheck-sentiment-analysis-774e522e
```

Example prompt: Can you analyze the sentiment of this customer review and tell me whether it's positive, negative, neutral, or mixed, along with a score and the phrase that drove it: 'The product arrived quickly but the packaging was completely destroyed and customer support never responded to my emails.'

## When to prefer this

Choose this endpoint when you need a quick, structured sentiment verdict with a supporting driver phrase for a single text passage — ideal for routing customer feedback, flagging negative content, or scoring user-generated text in an automated pipeline. Prefer this over general-purpose LLM prompting when you need a consistent, schema-backed response with a numeric score for downstream logic.

## Known failure modes

- Missing or empty 'text' query parameter returns an error
- Text exceeding 6000 characters may be rejected or truncated
- Ambiguous or very short text may yield a 'mixed' or low-confidence verdict
- Service unavailability on Render.com free tier may cause timeouts or cold-start delays
- Non-English text may produce unreliable sentiment classifications

## How this service works

Sentiment verdict for a passage: positive, negative, neutral or mixed, with a score and the phrase that drove it.

## Output

Returns a JSON object containing: the sentiment verdict (positive, negative, neutral, or mixed), a numeric score, the specific driver phrase that most influenced the verdict, the model used, the source label, and a disclaimer. Enables downstream routing or flagging based on tone.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "The text to work on. 6000 characters maximum."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "model": {
       "type": "string"
      },
      "score": {
       "type": "integer"
      },
      "driver": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "verdict": {
       "type": "string"
      },
      "sentiment": {
       "type": "string"
      },
      "disclaimer": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/clearcheck-sentiment-analysis-774e522e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from loonie-toll.onrender.com](https://www.zero.xyz/host/loonie-toll.onrender.com/llms.txt)
