POST /api/score
Send JSON with text (up to 20,000 characters) and optionally variant, either en-GB (the default) or en-US.
curl -s https://slopcheck.comparethecloud.net/api/score \
-H 'content-type: application/json' \
-d '{"text": "Paste one or more paragraphs here.", "variant": "en-GB"}' The reply lists each paragraph with its character range, the rules that fired and the exact spans that set each one off, plus a document-level score from the house model when the text is long enough to measure (about 300 words).
GET /api/rules
The full rulebook as JSON: 92 rules with their detectors, fixes and before and after examples.
POST /api/rewrite
Send text (up to 4,000 characters), scope (sentence, paragraph or
text) and opinion (true keeps first-person stance under stricter guards). The reply holds the
rewrite, the rules it removed and any that remain, and a word-level diff. A rewrite that drops or adds a fact, pads the
text or flattens its rhythm is refused and the original comes back unchanged.
Keys and limits
Send a key as Authorization: Bearer ctc_sk_…. Keys are created on your account page
and shown once. Limits reset daily at midnight UTC; a 429 reply means the day's allowance is used.