AI Inference · x402 · early usage

Sentiment analysis API — analyze sentiment of text and get a text sentiment score in on…

Sentiment analysis API — analyze sentiment of text and get a text sentiment score in one call: classifies positive / negative / neutral / mixed polarity with a -1 to +1 sentiment score, plus emotion detection in text (joy, anger, sadness, fear, surprise, disg…

by netintel.dev · discovered, not yet claimed by its owner · updated 2026-10-13

30d calls6
30d payers5
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Sentiment analysis API — analyze sentiment of text and get a text sentiment score in one call: classifies positive / negative / neutral / mixed polarity with a -1 to +1 sentiment score, plus emotion detection in text (joy, anger, sadness, fear, surprise, disgust, trust, anticipation). Aspect-based sentiment and opinion mining for customer feedback analysis — analyze reviews, support tickets, social posts, chat messages. Via Claude Haiku.

Tags: sentiment analysis · aspect sentiment · emotion detection · text analysis · llm · bazaar

Call contract

Method
POST
Input
json
Output
json
Last paid call
2026-10-13
Input example from Bazaar metadata
{
  "aspects": [
    "food",
    "service",
    "price"
  ],
  "text": "The food was absolutely delicious and the staff were so friendly, but the prices were a bit steep."
}
Output example
{
  "aspects": {
    "food": {
      "polarity": "positive",
      "score": 0.9
    },
    "price": {
      "polarity": "negative",
      "score": -0.4
    },
    "service": {
      "polarity": "positive",
      "score": 0.8
    }
  },
  "confidence": 0.86,
  "emotions": [
    "joy",
    "trust"
  ],
  "findings": [],
  "grade": "A",
  "polarity": "mixed",
  "score": 0.2,
  "service_score": 100
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/29487.json for the price and payment options.
  3. Pay. Call GET https://netintel.dev/sentiment/analyze. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.002 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base, Solana
Demand
6 calls · 5 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0020xdaDc335482AD545296Fd7b28518A251fFCbEb9Df300s
exactSolana
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
USDC$0.0028FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xdaDc335482AD545296Fd7b28518A251fFCbEb9Df",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "amountUsd": 0.002,
    "maxTimeoutSeconds": 300
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "payTo": "8FVeybWnB4dYrxTuPK7WzFZNAiEcFVaDLFnKpRwVGr5s",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "amountUsd": 0.002,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "aspects": {
          "description": "Per-aspect sentiment (present only when the aspects param was supplied); each aspect maps to { polarity, score }",
          "type": "object"
        },
        "confidence": {
          "description": "Model confidence 0.0-1.0",
          "type": "number"
        },
        "emotions": {
          "description": "Detected emotions drawn from joy, anger, sadness, fear, surprise, disgust, trust, anticipation",
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        "findings": {
          "description": "Reserved — currently always [] on success (analysis errors surface as 502s, never findings)",
          "type": "array"
        },
        "grade": {
          "description": "Letter grade A-F derived from service_score",
          "type": "string"
        },
        "polarity": {
          "description": "Overall sentiment: positive, negative, neutral, or mixed",
          "type": "string"
        },
        "score": {
          "description": "Sentiment polarity score from -1.0 (very negative) to 1.0 (very positive)",
          "type": "number"
        },
        "service_score": {
          "description": "Endpoint health score 0-100 (100 on success) — distinct from the sentiment score",
          "type": "number"
        }
      },
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "aspects": {},
    "confidence": 0,
    "emotions": [
      "string"
    ],
    "findings": [
      "value"
    ],
    "grade": "string",
    "polarity": "string",
    "score": 0,
    "service_score": 0
  },
  "type": "string"
}

Examples

curl
curl "https://netintel.dev/sentiment/analyze"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://netintel.dev/sentiment/analyze");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://netintel.dev/sentiment/analyze")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
netintel.dev
Endpoint
https://netintel.dev/sentiment/analyze
Machine-readable
/resources/29487.json