# ApexAPI AI Sentiment Analysis

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

Analyzes the sentiment of a given text or search query, returning a sentiment classification (positive, negative, or neutral) with confidence signals.

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/ai/sentiment
- Price: $0.122078/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-ai-sentiment-analysis-04ee0080
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vZBVClbktK6clMAxZXHXi

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 apexapi-ai-sentiment-analysis-04ee0080 -d '<json body>'
```

Example prompt: Can you analyze the sentiment of this customer review and tell me if it's positive, negative, or neutral: 'The product arrived quickly but the packaging was damaged and customer support was unhelpful.'

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call sentiment classification without managing API keys or subscriptions, particularly in agentic workflows on Base using USDC micropayments. Suitable for single-query sentiment checks on product reviews, social media posts, or any short text.

## Known failure modes

- Empty or missing query field returns a validation error
- Extremely long input text may be truncated or rejected
- Ambiguous or mixed-language text may yield low-confidence or unexpected results
- Payment failure in USDC on Base returns 402 status
- Rate limiting or server overload may return 429 or 503

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

Returns a structured JSON object containing a sentiment label (e.g. positive, negative, neutral) and likely a confidence or score value for the analyzed text query.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apexapi-ai-sentiment-analysis-04ee0080/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
