Documents

Document comparison

Two versions of a contract or document → every material change, what it means, and the risk it carries.

POST /v1/compare$0.15/comparison · 15 credits, charged only on success

Send this

{
  "a": {
    "fileUrl": "https://…/msa-2025.pdf"
  },
  "b": {
    "fileUrl": "https://…/msa-2026.pdf"
  }
}

Every response carries usage — the credits burned and your remaining balance. A failed call never burns credits.

Try it live against your own key in the interactive reference; every account gets 500 free credits a month, no card.

Get this back

{
  "changes": [
    {
      "section": "Term & Renewal",
      "change": "modified",
      "before": "30 days' notice",
      "after": "90 days' notice",
      "materiality": "high",
      "note": "Cancellation window tripled — easy to miss the exit."
    }
  ],
  "changeCount": 6,
  "summary": "The 2026 draft raises fees 8% and tightens the renewal window…",
  "riskNotes": [
    "Notice period tripled to 90 days",
    "Liability cap now excludes data breaches"
  ],
  "usage": {
    "credits": 15,
    "balanceRemaining": 377
  }
}

Four ways in. Same $0.15/comparison.

curl
curl https://api.kynth.studio/v1/compare \
  -H "Authorization: Bearer ksk_live_…" \
  -H "Content-Type: application/json" \
  -d '{"a":{"fileUrl":"https://…/msa-2025.pdf"},"b":{"fileUrl":"https://…/msa-2026.pdf"}}'
TypeScript
import { KynthCore } from "@kynth/api";

const kynth = new KynthCore({ apiKey: process.env.KYNTH_API_KEY! });
const result = await kynth.compare({
  "a": {
    "fileUrl": "https://…/msa-2025.pdf"
  },
  "b": {
    "fileUrl": "https://…/msa-2026.pdf"
  }
});
Python
from kynth import Kynth

client = Kynth(api_key=os.environ["KYNTH_API_KEY"])
result = client.compare(
    a={
    "fileUrl": "https://…/msa-2025.pdf"
  },
    b={
    "fileUrl": "https://…/msa-2026.pdf"
  },
)
MCP
// One-time setup in your MCP client (Claude, Cursor, …):
{ "mcpServers": { "kynth-core": {
    "command": "npx", "args": ["@kynth/api-mcp"],
    "env": { "KYNTH_API_KEY": "ksk_live_…" } } } }

// Then the agent just calls the kynth_compare tool.

More from documents