Skip to main content
Back to Home

API Documentation

ToolMono processes most tools locally on your device for security and speed. However, certain complex tools rely on our backend API. Below is the documentation for our public API endpoints.

Note: These APIs are currently rate-limited to 60 requests per minute per IP address.

Text Diff API

Compares two blocks of text and returns a granular breakdown of changes.

Endpoint

POST /api/tools/text-diff

Request Body

{
  "original": "string",
  "modified": "string",
  "ignoreWhitespace": boolean (optional),
  "ignoreCase": boolean (optional)
}

Response

{
  "diffs": [
    {
      "value": "string",
      "added": boolean (optional),
      "removed": boolean (optional)
    }
  ]
}

Status Codes