# Crypto News Sentiment Classifier

> Crypto News Sentiment Classifier is a paid API for AI agents from x402.agentutility.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Classifies crypto news headlines, project updates, or Web3 community posts by sentiment and emotion category

## Facts

- Endpoint: POST https://x402.agentutility.ai/crypto-news-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/crypto-news-sentiment-classifier-1fb31350
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_38WC8fANUNVfmYSGIOvH6

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 crypto-news-sentiment-classifier-1fb31350 -d '<json body>'
```

Example prompt: Can you classify the sentiment and emotion of this crypto headline for me: 'Ethereum ETF approval sends ETH surging to all-time highs'?

## When to prefer this

Choose this endpoint when you need fast, cheap ($0.01 USDC), crypto-domain-specific sentiment classification of headlines, project updates, or community posts, and you want a purpose-built crypto/Web3 classifier rather than a general-purpose NLP sentiment API. Ideal for agents monitoring crypto news feeds, token launch sentiment, or DAO community tone.

## Known failure modes

- Empty or missing text input returns a 400 error
- Non-crypto or off-domain text may return low-confidence or generic classification
- Payment failure via x402 returns 402 Payment Required
- Rate limiting or overload may return 429 or 503
- Very long input text may be truncated or rejected

## How this service works

Classifies supplied crypto news headlines, project updates, or community posts by sentiment and emotion. Classification only, not investment advice. Same sentiment-analysis backend. Use it as a crypto news sentiment API, token headline sentiment tool, or Web3 community tone scorer.

## Output

Returns a sentiment classification (e.g. positive, negative, neutral) and an emotion label or tone score for the submitted crypto-domain text. Does not provide investment advice — purely a classification result.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Text to analyze. Max 12,000 chars."
      },
      "aspects": {
       "type": "array",
       "description": "Optional. Up to 15 aspect names (e.g. 'food', 'service') to score individually alongside overall sentiment."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "confidence": {
       "type": "number"
      },
      "overall_score": {
       "type": "number"
      },
      "overall_sentiment": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "confidence": 0.88,
  "overall_score": -0.66,
  "overall_sentiment": "negative"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-news-sentiment-classifier-1fb31350/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentutility.ai](https://www.zero.xyz/host/x402.agentutility.ai/llms.txt)
