# Syraa Sentiment Analysis API

> Syraa Sentiment Analysis API is a paid API for AI agents from api.syraa.fun, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-13).

Analyzes sentiment of text or market chatter, returning a sentiment score, label (positive/negative/neutral), and confidence value.

## Facts

- Endpoint: GET https://api.syraa.fun/sentiment
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-syraa-fun-abf06fc2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Gc4IfGsmV8TRCG9IFmAzb

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 api-syraa-fun-abf06fc2
```

Example prompt: What's the current sentiment for BTC — is the market feeling bullish or bearish, and how confident is the signal?

## When to prefer this

Use this endpoint when you need fast, paid-quality sentiment analysis specifically for crypto tickers or general market text, and you want a structured score plus confidence level rather than a raw NLP output. Prefer it over general-purpose NLP APIs when the domain is financial/crypto market chatter and when you are operating within a USDC micropayment workflow.

## Known failure modes

- Missing required 'input' parameter returns a 400 error
- Invalid or unsupported ticker symbol may return null or low-confidence results
- Payment not fulfilled (402) if USDC payment via x402 is not completed
- Service unavailable or timeout on high-load periods
- General text with no clear sentiment may return neutral with low confidence

## How this service works

Machine money for agents on Solana: live x402 pay-per-call APIs, MCP tools, typed SDK. Earn · Treasury · Invest · Spend · Grow.

## Output

Returns a sentiment label (e.g. positive, negative, neutral), a numerical sentiment score, and a confidence value indicating how strong the signal is for the queried ticker or general market chatter.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "ticker": "general"
  }
 }
}
```

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "queryParams": {
      "ticker": {
       "type": "string",
       "required": false,
       "description": "Ticker or 'general'"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-syraa-fun-abf06fc2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.syraa.fun](https://www.zero.xyz/host/api.syraa.fun/llms.txt)
