# DDG Sentiment Analysis

> DDG Sentiment Analysis is a paid API for AI agents from agents.daedalusdevelopmentgroup.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Analyzes text input and returns a sentiment score or classification via a machine-payable API endpoint priced at $0.002 USDC per call.

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/sentiment?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-sentiment-analysis-689e62d9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MXYCixI7uEjj7-Q3257tE

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 ddg-sentiment-analysis-689e62d9 -d '<json body>'
```

Example prompt: Can you analyze the sentiment of this customer review and tell me if it's positive, negative, or neutral: 'The product arrived on time and works exactly as described, but the packaging was a bit flimsy'?

## When to prefer this

Choose this endpoint when you need a micro-priced, per-call sentiment analysis that can be paid programmatically via x402 USDC on-chain payment without a subscription or API key setup. It is well-suited for AI agents that need to autonomously pay for and consume bounded NLP results on a pay-as-you-go basis.

## Known failure modes

- Payment not fulfilled — returns HTTP 402 if x402 USDC payment is missing or invalid
- Malformed request body — missing required 'input' or 'output' fields returns an error
- Unsupported HTTP method — only POST/PUT/PATCH accepted
- Empty or missing text body — may return an error or empty sentiment result
- Provider environment not live for MPP/Stripe — those payment rails may fail silently

## How this service works

DDG agent-payable service request

## Output

Returns a JSON object with an 'ok' boolean and presumably a sentiment classification or score for the submitted text. The exact sentiment fields (e.g. label, confidence, score) are not fully documented in the available schema, but the response is JSON and indicates success via the 'ok' field.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input",
  "output"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": true
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "ok": true
    }
   },
   "additionalProperties": true
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ddg-sentiment-analysis-689e62d9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.daedalusdevelopmentgroup.com](https://www.zero.xyz/host/agents.daedalusdevelopmentgroup.com/llms.txt)
