# Stelar Digital Sentiment Scorer

> Stelar Digital Sentiment Scorer is a paid API for AI agents from api.stelardigital.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns a sentiment score (-1 bearish to +1 bullish) and a label for arbitrary text or for a crypto asset based on its recent price action, powered by Claude Haiku.

## Facts

- Endpoint: GET https://api.stelardigital.com/sentiment
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/stelar-digital-sentiment-scorer-ecccb510
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fHhnBuYbxLAA-j56EBZeL

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 stelar-digital-sentiment-scorer-ecccb510
```

Example prompt: Score the sentiment of this tweet for me: 'Solana just hit a new ATH and the ecosystem is thriving — this bull run is far from over.' Give me the score and whether it's bullish or bearish.

## When to prefer this

Choose this endpoint when you need a fast, quantified sentiment score (-1 to +1) for crypto-related text or for gauging market mood from price action on a specific asset. It is ideal for pipelines that process news headlines, social posts, or commentary at scale and need a numeric signal rather than qualitative analysis. Prefer it over generic sentiment APIs when crypto domain framing matters, and when you need both free-text and price-action sentiment from a single endpoint.

## Known failure modes

- Missing both 'text' and 'asset' query params — API returns an error requiring at least one input
- Unsupported asset symbol not in the allowed enum (ADA, BTC, DOGE, ETH, LTC, SOL, XLM, XRP) — returns validation error
- Claude Haiku inference timeout or unavailability — may return 5xx error
- Ambiguous or very short text may produce low-confidence scores near 0
- Payment not completed or insufficient USDC balance — returns 402 Payment Required

## How this service works

Sentiment score (-1 bearish to +1 bullish) and label for arbitrary text, or for a crypto asset based on its recent price action, via Claude Haiku. For agents gauging market mood or scoring news, social posts, or free text.

## Output

A numeric sentiment score between -1 (fully bearish) and +1 (fully bullish) and a corresponding label (e.g. bullish, bearish, neutral) for either the provided text or the specified crypto asset's recent price behavior.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "text": {
       "type": "string",
       "description": "Text to score (or use asset)"
      },
      "asset": {
       "enum": [
        "ADA",
        "BTC",
        "DOGE",
        "ETH",
        "LTC",
        "SOL",
        "XLM",
        "XRP"
       ],
       "type": "string",
       "description": "Asset symbol, e.g. SOL (or use text)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "input": "SOL",
  "label": "bullish",
  "sentiment": 0.42
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/stelar-digital-sentiment-scorer-ecccb510/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.stelardigital.com](https://www.zero.xyz/host/api.stelardigital.com/llms.txt)
