# diff-checker.api.klymax402.com

> diff-checker.api.klymax402.com is a paid API for AI agents from diff-checker.api.klymax402.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-13).

Compares two text strings and returns a line-by-line diff showing what changed between them

## Facts

- Endpoint: GET https://diff-checker.api.klymax402.com/api/diff
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/diff-checker-api-klymax402-com-5719f834
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hAyWY5cKBBkf-oRrPdjH3

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 diff-checker-api-klymax402-com-5719f834
```

Example prompt: Can you compare these two versions of my README and show me exactly what lines changed? Original: 'This is a simple tool.
It works well.' — Modified: 'This is a powerful tool.
It works very well.
Try it today.'

## When to prefer this

Use this endpoint when you need a quick, lightweight line-by-line text comparison without setting up a local diff tool — ideal for comparing document revisions, code snippets, configuration files, or any two strings where you want to programmatically identify what changed

## Known failure modes

- Missing text1 or text2 parameter returns an error
- Very large text inputs may cause timeouts or truncated results
- If both texts are identical, returns an empty or no-change diff
- Non-UTF-8 or binary content may produce garbled output

## How this service works

Compare two texts and show line-by-line differences

## Output

A line-by-line diff output showing which lines were added, removed, or unchanged between the two input texts

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text1": {
   "type": "string",
   "description": "The original text (base)"
  },
  "text2": {
   "type": "string",
   "description": "The modified text to compare against"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/diff-checker-api-klymax402-com-5719f834/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from diff-checker.api.klymax402.com](https://www.zero.xyz/host/diff-checker.api.klymax402.com/llms.txt)
