SlopCheck
← SlopCheck

Check posts where you write them.

The score is free everywhere, with no key and no sign-up: up to 50 checks a day per IP address.

On any page: the bookmark button

On a computer, drag this button to your bookmarks bar. Nothing to install.

SlopCheck this

Then select the text of a post on any site, X included, and click the button. SlopCheck opens in a new tab with the post and its score. You can try it here: select this paragraph and click the button above.

Google Sheets

If you plan posts in a sheet, add two functions. In the sheet, open Extensions, then Apps Script, paste the code below and save. Then =SLOPCHECK(A2) gives the score of the post in A2 and =SLOPVERDICT(A2) says slop or not slop. Both take a range, like =SLOPCHECK(A2:A20).

/**
 * SlopCheck for Google Sheets. In your sheet: Extensions > Apps Script, paste this file, save.
 * Then =SLOPCHECK(A2) gives the slop score of the post in A2 (0 to 100; 50 or more reads as slop),
 * and =SLOPVERDICT(A2) gives "slop" or "not slop". Both take a range too: =SLOPCHECK(A2:A20).
 *
 * The score is free and needs no key. Sheets sends its requests from addresses Google shares between
 * many sheets, so the free daily limit can run out early. If it does, put a Premium API key in KEY.
 */
var KEY = "";
var ENDPOINT = "https://slopcheck.io/api/v1/check";

/**
 * Slop score of a post, from 0 to 100. 50 or more reads as slop.
 * @param {string|Array<Array<string>>} text The post, or a range of posts.
 * @return {number|Array<Array<number>>} The score.
 * @customfunction
 */
function SLOPCHECK(text) {
  return slopEach_(text, function (r) { return Math.round(r.score * 100); });
}

/**
 * "slop" or "not slop" for a post.
 * @param {string|Array<Array<string>>} text The post, or a range of posts.
 * @return {string|Array<Array<string>>} The verdict.
 * @customfunction
 */
function SLOPVERDICT(text) {
  return slopEach_(text, function (r) { return r.verdict === "slop" ? "slop" : "not slop"; });
}

function slopEach_(input, pick) {
  if (Array.isArray(input)) return input.map(function (row) { return row.map(function (cell) { return slopEach_(cell, pick); }); });
  var text = input == null ? "" : String(input).trim();
  if (text === "") return "";
  return pick(slopFetch_(text));
}

/** One check. Answers are kept for six hours, so a sheet that recalculates doesn't spend the daily limit again. */
function slopFetch_(text) {
  var cache = CacheService.getScriptCache();
  var id = "slop:" + Utilities.base64Encode(Utilities.computeDigest(Utilities.DigestAlgorithm.SHA_256, text, Utilities.Charset.UTF_8));
  var hit = cache.get(id);
  if (hit) return JSON.parse(hit);
  var headers = KEY ? { Authorization: "Bearer " + KEY } : {};
  var body = KEY ? { text: text, feedback: false } : { text: text };
  var res = UrlFetchApp.fetch(ENDPOINT, { method: "post", contentType: "application/json", headers: headers, payload: JSON.stringify(body), muteHttpExceptions: true });
  var data = {};
  try { data = JSON.parse(res.getContentText()); } catch (e) { data = {}; }
  if (res.getResponseCode() !== 200) throw new Error(data.error || "SlopCheck answered " + res.getResponseCode());
  var out = { score: data.score, verdict: data.verdict };
  cache.put(id, JSON.stringify(out), 21600);
  return out;
}

Sheets sends requests from addresses Google shares between many sheets, so the free daily limit can run out early. If it does, put a Premium API key in KEY at the top of the code.

Zapier, Make, n8n and other automation

Add one HTTP request step before the step that posts.

MethodPOST
URLhttps://slopcheck.io/api/v1/check
HeaderContent-Type: application/json
Body{"text": "The post you want to check"}
Answer{"verdict": "not_slop", "score": 0.35, "confidence": "medium"}

Then add a filter: go on only when verdict is not_slop, or when score is under 0.5.

Cloud automation tools also share their addresses between customers. For a limit of your own, add a Premium key as the header Authorization: Bearer your_key.

https://slopcheck.io/#text= followed by the URL-encoded post opens SlopCheck with the post filled in and scored. Use it for a “check this draft” link in your own tool. The text after the # stays in the visitor's browser until the check runs.

Your own site: the widget

One line puts a check box on any page.

<script src="https://slopcheck.io/widget.js" async></script>

Everything else: the API

One request, one score. The API docs have examples in curl, Python and JavaScript. Feedback on what to fix comes with Premium.