All AI Data API - Apply a unified diff to text: fuzzy hunk matching, reverse, whitespace-tolerant, per-hunk report
https://allai-api.allaihq.workers.dev/v1/tools/patch_applyOverview
Takes original text and a unified diff (the output of diff -u or git diff for one file) and returns the patched text. Each hunk is located by its context, searching up to a configurable number of lines away when line numbers have drifted, and the result reports where every hunk landed, with its offset and status (applied, applied with offset, or failed with the reason). Options $0.005 per successful call (USDC on Base). 3 free trial calls a day. Operated by All AI LLC.
Health
x402 Payment Validation
Recent Health Checks
| Time | Status | HTTP | Latency | Error |
|---|---|---|---|---|
| 2026-12-05 14:41:05 | healthy | 402 | 354ms | |
| 2026-12-05 13:40:45 | healthy | 402 | 1570ms | |
| 2026-12-05 12:40:35 | healthy | 402 | 378ms | |
| 2026-12-05 11:45:26 | healthy | 402 | 367ms | |
| 2026-12-05 10:41:05 | healthy | 402 | 352ms | |
| 2026-12-05 09:39:56 | healthy | 402 | 1366ms | |
| 2026-12-05 08:43:18 | healthy | 402 | 399ms | |
| 2026-12-05 07:39:52 | healthy | 402 | 366ms | |
| 2026-12-05 06:37:12 | healthy | 402 | 360ms | |
| 2026-12-05 05:37:50 | healthy | 402 | 1419ms | |
| 2026-12-05 03:49:20 | healthy | 402 | 1324ms | |
| 2026-12-05 02:39:48 | healthy | 402 | 350ms | |
| 2026-12-05 01:39:12 | healthy | 402 | 360ms | |
| 2026-12-05 00:53:57 | healthy | 402 | 380ms | |
| 2026-12-03 17:55:32 | healthy | 402 | 2344ms |