# SperaxOS DeFi Social Sentiment API

> SperaxOS DeFi Social Sentiment API is a paid API for AI agents from chat.sperax.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-22).

Returns AI-analyzed social sentiment data for DeFi tokens, protocols, or topics, payable per-request via x402 USDC on Base

## Facts

- Endpoint: POST https://chat.sperax.io/api/x402/tools/defi-analytics/getSocialSentiment?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speraxos-defi-social-sentiment-api-527228b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wdOb6czvPDIWof9gN2APZ

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 speraxos-defi-social-sentiment-api-527228b1 -d '<json body>'
```

Example prompt: What's the current social sentiment around Aave right now — is the community bullish or bearish based on recent social media activity?

## When to prefer this

Choose this endpoint when you need AI-powered social sentiment specifically for DeFi tokens and protocols and want to pay per-request in USDC without managing API keys. Ideal for agents operating in Web3 environments that already handle x402 payments on Base. Prefer this over traditional sentiment APIs when your use case is DeFi-native and you want pre-processed, AI-curated signals rather than raw social data.

## Known failure modes

- Missing or malformed body fields may result in a 400 validation error
- Insufficient USDC payment or failed x402 payment header results in 402 Payment Required
- Unknown token or protocol identifier may return empty or null sentiment data
- Rate limiting or quota exceeded errors if payment processing fails
- Network or upstream data source unavailability may cause 503 errors

## How this service works

AI-powered DeFi intelligence APIs payable via the x402 HTTP payment protocol. No API key required — pay per request with USDC on Base. Identity-only (SIWX) endpoints are free for wallets with an agentcash identity.

## Output

Returns AI-analyzed social sentiment data for a specified DeFi token or protocol, including sentiment scores (bullish/bearish/neutral) and social signal intelligence derived from community discussions and social media, powered by Sperax's AI DeFi analytics engine.

## 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": {
     "type": "object",
     "required": [],
     "properties": {},
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speraxos-defi-social-sentiment-api-527228b1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from chat.sperax.io](https://www.zero.xyz/host/chat.sperax.io/llms.txt)
