# DDG Text Diff Service

> DDG Text Diff Service 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-11).

Computes and returns the diff (differences) between two text inputs as a bounded, machine-payable artifact

## Facts

- Endpoint: POST https://agents.daedalusdevelopmentgroup.com/v1/diff-text?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ddg-text-diff-service-74e6c54b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1PpLtJpwTIMOCyS4m3hzy

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-text-diff-service-74e6c54b -d '<json body>'
```

Example prompt: Can you diff these two paragraphs for me and show what changed — here's the original: 'The quick brown fox jumps over the lazy dog.' and the new version: 'The quick brown fox leaped over the sleeping dog.'

## When to prefer this

Choose this endpoint when you need a lightweight, per-call paid text diff computation without managing your own diffing infrastructure, especially in agentic workflows that support x402 micropayments in USDC. It is well-suited for comparing discrete text artifacts (documents, code snippets, paragraphs) on a pay-per-use basis rather than running a persistent diff service.

## Known failure modes

- Missing required 'input' or 'output' fields returns a validation error
- Payment not provided or insufficient USDC balance results in HTTP 402 payment required
- Malformed JSON body causes a 400 Bad Request
- Unsupported bodyType enum value rejected with validation error
- Network timeout if payload is excessively large
- x402 payment rail misconfiguration may cause payment verification failure

## How this service works

Machine-payable DDG services for AI agents. Current public live payment rails are x402 multi-chain USDC and direct-crypto auto/manual for public receiving-address families. MPP/Stripe/Tempo is installed but pending live provider env plus penny-settlement proof before any MPP-live advertisement. DDG sells bounded artifacts/results, not raw provider account access.

## Output

Returns a JSON object with an 'ok' boolean and the computed diff result showing differences between the two input texts, including additions, deletions, and unchanged regions

## 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-text-diff-service-74e6c54b/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)
