# KiHustle Text Diff API

> KiHustle Text Diff API is a paid API for AI agents from kihustle.tech, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Computes the difference between two text inputs and returns a processed diff result

## Facts

- Endpoint: POST https://kihustle.tech/api/v1/text-diff
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/kihustle-text-diff-api-83c11b3c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RHaTBfTV8JRGz52NpckIs

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 kihustle-text-diff-api-83c11b3c -d '<json body>'
```

Example prompt: Compare these two versions of my article intro and show me what changed: the original says 'AI is transforming work' and the revised version says 'AI and automation are transforming how we work and earn online'.

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call text comparison without setting up a full diffing library. Best suited for comparing short to medium-length text strings where a simple JSON result is sufficient. Priced at $0.002 USDC per call via x402, making it economical for low-frequency comparisons.

## Known failure modes

- Missing or malformed input text bodies returns an error
- Empty string inputs may return an empty or trivial diff
- Network timeout if text payloads are excessively large
- Invalid JSON body returns a 400-level error
- Payment not settled via x402 protocol results in 402 Payment Required

## How this service works

Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.

## Output

A JSON object with a 'result' field containing the processed diff output and a 'status' field confirming success. The diff highlights insertions, deletions, or modifications between the two input texts.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "tags": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "text_a",
      "text_b"
     ],
     "properties": {
      "text_a": {
       "type": "string"
      },
      "text_b": {
       "type": "string"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  },
  "category": {
   "type": "string"
  },
  "toolName": {
   "type": "string"
  },
  "description": {
   "type": "string"
  },
  "serviceName": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "processed",
  "status": "success"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/kihustle-text-diff-api-83c11b3c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from kihustle.tech](https://www.zero.xyz/host/kihustle.tech/llms.txt)
