ParseRail
api.thecompound.tech/v1
39 endpoints1 paused242/242 checks passingcredits from $20

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 success30 calls a minute per keyasync capable

The example in the published schema

charged 0 credits
  1. auth (bearer key)
  2. per-key throttle
  3. validate body
  4. balance precheck
  5. run the capability
  6. charge credits ON SUCCESS ONLY
  7. JSON
The request body/v1/compare
{
  "a": {
    "fileUrl": "https://…/msa-2025.pdf"
  },
  "b": {
    "fileUrl": "https://…/msa-2026.pdf"
  }
}
The responsepublished example
// sending the call
// 0 credits charged so far
curl https://api.thecompound.tech/v1/compare \
  -H "Authorization: Bearer $COMPOUND_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"a":{"fileUrl":"https://…/msa-2025.pdf"},"b":{"fileUrl":"https://…/msa-2026.pdf"}}'

Scored

3 of 3 field checks passed when the eval suite last ran against production, on 2026-07-08. Every endpoint's score

The Documents guide has this endpoint with its example response. The reference has every parameter.

More from Documents

Get a key and buy credits