# NexusAPI Text Diff

> NexusAPI Text Diff is a paid API for AI agents from nexus-api-peach-nine.vercel.app, paid per call via x402, $0.10891/call, status unknown (last checked 2026-10-23).

Computes a text diff between two strings or documents, returning the differences between them

## Facts

- Endpoint: POST https://nexus-api-peach-nine.vercel.app/api/tools/text/diff?utm_source=zero.xyz
- Price: $0.10891/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nexusapi-text-diff-b3ccd66e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6yJpNKAHGqWiXSJ_vza4-

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 nexusapi-text-diff-b3ccd66e -d '<json body>'
```

Example prompt: Show me the differences between these two versions of my paragraph: original: 'The quick brown fox jumps over the lazy dog.' and revised: 'The fast brown fox leaps over the sleeping dog.' — highlight what changed.

## When to prefer this

Use this endpoint when you need a quick, paid-per-call text diff computation without managing API keys, especially in agent workflows on Base where USDC micropayments via x402 are already in use.

## Known failure modes

- Missing or malformed input text returns an error
- Empty query string may produce no diff output
- Excessively large text inputs may time out or be rejected
- Payment failure in USDC results in 402 response blocking execution

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

A structured diff result indicating which portions of the input text were added, removed, or unchanged between the two versions provided.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nexusapi-text-diff-b3ccd66e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nexus-api-peach-nine.vercel.app](https://www.zero.xyz/host/nexus-api-peach-nine.vercel.app/llms.txt)
