# lobre.lat Sentiment Analysis

> lobre.lat Sentiment Analysis is a paid API for AI agents from lobre.lat, paid per call via x402, $0.03/call, status down (last checked 2026-09-15).

Classifies up to 2000 characters of text as positive, negative, or neutral and returns a confidence score.

## Facts

- Endpoint: POST https://lobre.lat/api/v1/analysis/memory/sentiment
- Price: $0.03/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/lobre-lat-sentiment-analysis-032093b4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_3KPL4ggzJE_30cHyi8W0P

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 lobre-lat-sentiment-analysis-032093b4 -d '<json body>'
```

Example prompt: Classify this customer review as positive, negative, or neutral and give me a confidence score: "The onboarding was smooth but the support team took three days to respond to a simple question."

## When to prefer this

Use this endpoint when you need a fast, scored sentiment label on a short text snippet (up to 2000 characters) and are comfortable with a per-call micropayment via x402. Ideal for classifying individual reviews, feedback messages, or social posts where a confidence score matters for downstream filtering or routing logic.

## Known failure modes

- Text exceeds 2000 character limit — request rejected or truncated
- Empty or missing text field — validation error returned
- Non-UTF-8 or malformed input — parse error
- Network timeout for unusually complex inputs
- Payment failure via x402 — 402 response before classification runs

## How this service works

Classify text sentiment as positive, negative, or neutral with confidence score.

## Output

Returns a sentiment label (positive, negative, or neutral) along with a numeric confidence score indicating how certain the model is in its classification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Text to classify (max 2000 chars)"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/lobre-lat-sentiment-analysis-032093b4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from lobre.lat](https://www.zero.xyz/host/lobre.lat/llms.txt)
