Language
/v1/diff
Submit two text strings and receive a line-by-line diff showing additions, deletions, and unchanged lines. The output follows the unified diff format.
The original text.
The modified text.
curl -X POST https://api.botoi.com/v1/diff \ -H "Content-Type: application/json" \ -d '{"original":"line 1\nline 2\nline 3","modified":"line 1\nline 2 updated\nline 3\nline 4"}'
Compare two versions of a blog post or document to highlight edits before publishing, like a simplified track-changes view.
Compare the expected and actual configuration files in your deployment to detect unauthorized or accidental changes.
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.