# CoinOpSelect Sentiment Score API

> CoinOpSelect Sentiment Score API is a paid API for AI agents from coinop.publicvm.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Scores the sentiment of a given text string, returning a sentiment result via a pay-per-call x402 on-chain payment on Base.

## Facts

- Endpoint: GET https://coinop.publicvm.com/api/v1/sentiment/score?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/coinopselect-sentiment-score-api-b1a8fe61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aR1GdiwW6KXVdgXxTK2uN

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 coinopselect-sentiment-score-api-b1a8fe61
```

Example prompt: Can you score the sentiment of this text: 'Bitcoin just hit a new all-time high and the market is showing massive bullish momentum' — I want to know if it reads as positive, negative, or neutral.

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call sentiment score for arbitrary text without setting up a subscription or API key — especially useful in crypto/on-chain agent workflows where you want to pay $0.01 USDC per query via x402 on Base. Prefer it when you are already operating within the CoinOpSelect data ecosystem and need lightweight text sentiment as part of a broader token or market research pipeline.

## Known failure modes

- Missing 'text' query parameter causes a 400 or empty result
- Payment failure via x402 if wallet has insufficient USDC on Base
- Empty or overly long text may return empty result object
- Network or server errors on publicvm.com hosting returning 5xx
- Ambiguous or non-English text may yield unreliable sentiment scoring

## How this service works

Paid on-chain token, wallet, contract and research data over x402 on Base.

## Output

Returns a JSON object with a 'query' field set to 'sentiment-score' and a 'result' object containing the sentiment analysis output for the submitted text. The result object structure may include a score or classification indicating the positive, negative, or neutral tone of the input text.

## Request schema (JSON Schema)

```json
{
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Text to score"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "query": {
     "type": "string"
    },
    "result": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "sentiment-score",
  "result": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coinopselect-sentiment-score-api-b1a8fe61/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coinop.publicvm.com](https://www.zero.xyz/host/coinop.publicvm.com/llms.txt)
