# GEDX402 Sentiment Analysis

> GEDX402 Sentiment Analysis is a paid API for AI agents from ged-x402-embed.jvalamis.workers.dev, paid per call via x402, $0.0075/call, status unknown (last checked 2026-09-15).

Classifies a short piece of text as POSITIVE or NEGATIVE with a confidence score, paid via USDC on-chain with no API keys required

## Facts

- Endpoint: GET https://ged-x402-embed.jvalamis.workers.dev/v1/sentiment
- Price: $0.0075/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gedx402-sentiment-analysis-5a4bfd10
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1kCcyOn1g7ofMO2k_W2N7

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 gedx402-sentiment-analysis-5a4bfd10
```

Example prompt: Classify this sentence as positive or negative and give me a confidence score: 'The delivery was incredibly fast and the product exceeded my expectations.'

## When to prefer this

Choose this endpoint when you need a quick, keyless sentiment classification paid per-call via USDC on Base, Polygon, Arbitrum, World, or Solana — ideal for agents operating in crypto-native environments without traditional API credentials.

## Known failure modes

- Missing or empty 'text' parameter returns an error
- Text too long may exceed model context limits
- Payment failure on unsupported chain blocks the request
- Low-confidence edge cases may still return a label but with score near 0.5

## How this service works

x402 workers ai. pay with usdc on base, polygon, arbitrum, world, or solana. no api keys.

## Output

Returns a JSON object with a 'label' field (POSITIVE or NEGATIVE) and a 'score' field (0-1 float) indicating confidence in the classification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "label": "POSITIVE",
  "score": 0.99
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gedx402-sentiment-analysis-5a4bfd10/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ged-x402-embed.jvalamis.workers.dev](https://www.zero.xyz/host/ged-x402-embed.jvalamis.workers.dev/llms.txt)
