# OmniAPI AI Sentiment Analysis

> OmniAPI AI Sentiment Analysis is a paid API for AI agents from omni-api-cyan.vercel.app, paid per call via x402, $0.062018/call, status unknown (last checked 2026-09-15).

Analyzes the sentiment of a given text input and returns a sentiment classification (e.g. positive, negative, neutral) with associated scores.

## Facts

- Endpoint: POST https://omni-api-cyan.vercel.app/api/ai/sentiment
- Price: $0.062018/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/omniapi-ai-sentiment-analysis-2a6f1780
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Joqb60-lZ_vOkFL5ya-08

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 omniapi-ai-sentiment-analysis-2a6f1780 -d '<json body>'
```

Example prompt: Can you analyze the sentiment of this customer review and tell me whether it's positive, negative, or neutral: 'The product shipped quickly but the quality was disappointing and the customer support never responded.'

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call sentiment classification without a long-term API subscription. It suits agents that need to analyze individual text snippets — such as customer reviews, social media posts, or news headlines — on demand and pay in USDC via x402. It is less suitable for bulk batch processing or when you need deep emotion categorization beyond basic positive/negative/neutral.

## Known failure modes

- Missing required 'query' field returns a 400 or validation error
- Empty or very short text may yield low-confidence or ambiguous results
- Ambiguous or mixed-tone text may return inconsistent sentiment labels
- Payment failure via x402 results in a 402 Payment Required response before the call is processed
- Very long inputs may be truncated or rejected depending on token limits

## How this service works

444 endpoints across 9+ chains. Crypto, AI, Social, Finance, Weather, Tools. Pay per call in USDC via x402 with 4 facilitators: Dexter, Meridian, FluxA, GoPlausible.

## Output

Returns a sentiment classification (e.g. positive, negative, neutral) and likely an associated confidence score or sentiment polarity value for the submitted text input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Input data for the endpoint"
  },
  "query": {
   "type": "string",
   "description": "Search query or input text"
  },
  "params": {
   "type": "object",
   "description": "Additional parameters"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/omniapi-ai-sentiment-analysis-2a6f1780/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from omni-api-cyan.vercel.app](https://www.zero.xyz/host/omni-api-cyan.vercel.app/llms.txt)
