API Documentation
Getting Started
Compare text, documents, images, and spreadsheets programmatically with the Diffchecker API.
https://api.diffchecker.com/publicThe Diffchecker API provides HTTP endpoints for comparing text, PDF documents, images, and Excel spreadsheets. Compute text diffs, document comparisons, image diffs, and spreadsheet diffs, all with varying output types.
Authentication
There are two ways of interacting with the Diffchecker API:
X-Api-Key header. This will allow you to make as many diffs as your paid plan allows.When both are provided, email gets ignored in favor of the API key. The examples in these docs assume you are authenticating via email.
Rate Limiting
API requests are rate-limited based on your authentication method. Free tier (email) users have lower limits than paid subscribers using an API key. If you exceed the rate limit, the API will return a `429 Too Many Requests` response.
Resources
You may find the following resources helpful when dealing with PDF, Image, or Excel diffs: