How it works
Three API calls. No SDKs, no setup, no visual diffing tools.
Upload documents
Send two PDFs, text files, or URLs via the REST API. Up to 10MB per document.
Diff + Classify
Section-level deterministic diffing finds every change. An LLM classifies each by type, significance, and category.
Structured JSON
Get back a JSON array of changes — each with section, old/new text, significance score, and a one-line description.
Built for agent workflows
Contract Monitoring
Track changes to vendor agreements, SLAs, and legal terms. Get alerted when liability caps or payment terms shift.
Compliance Tracking
Monitor regulatory documents for material changes. Know when new requirements appear before they take effect.
TOS / Policy Monitoring
Compare website terms and privacy policies over time. Detect scope changes, data sharing updates, and liability shifts.
API preview
One POST, one GET. That's it.
# Submit two documents for comparison
curl -X POST https://diffai.kofikodr.com/v1/compare \
-H "Authorization: Bearer dk_your_key" \
-H "Content-Type: application/json" \
-d '{
"source": "text",
"document_a": {"text": "...", "name": "contract-v1.txt"},
"document_b": {"text": "...", "name": "contract-v2.txt"}
}'
{
"status": "completed",
"changes": [
{
"section": "Payment Terms (Section 3.1)",
"change_type": "modification",
"significance": "high",
"category": "financial",
"description": "Payment window extended from 30 to 60 days"
}
],
"summary": { "total_changes": 8, "high_significance": 2 }
}
Pricing
Pay per comparison. No setup fees, no minimums.
Starter
- 500 comparisons/month
- PDF + TXT
- URL comparison
- Priority support
Pro
- 2,500 comparisons/month
- All file types
- URL comparison
- Priority support
Scale
- 10,000 comparisons/month
- All file types
- URL comparison
- Dedicated support