Text Diff API
A lightweight REST API that compares two text versions and returns structured JSON showing additions, removals, and edits. Features smart granularity detection (character/word/line/sentence), 60% similarity threshold for intelligent edit detection, and sub-millisecond processing times. Perfect for version control visualization, content monitoring, document change tracking, and data migration…
Text Diff API endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET |
root / |
Root endpoint - health check. |
| POST |
text_diff /v1/diff |
Compute diff between two texts. Returns structured JSON with changes, statistics, and metadata. |
| GET |
health /health |
Health check endpoint. |