Reinkly

The Reinkly API

In short

Send a text or a link to one address and get back what the site shows. That is the share of the text that looks AI-written, a confidence level, and each passage that looks AI-written. It is free while in beta. You can start without a key, and a key gives you a daily allowance of your own.

Everything else, with your own key

The API does more than check. With your own key, made on your dashboard, it can rewrite and humanize, find matches on the web, check facts, references and grammar, and read your words and history. It uses your words, like the site. The list of routes and the MCP tools are on Agents and API.

Quick start

One request checks a text of 60 words or more.

curl -s https://reinkly.com/api/v1/check \
  -H "Content-Type: application/json" \
  -d '{"text": "Paste at least sixty words of the text you want to check here..."}'

It returns this.

{
  "id": "3f2a9c1e7b4d5a60",
  "ai_percent": 36,
  "human_percent": 64,
  "result": "ai_passages",
  "label": "mixed",
  "confidence": "high",
  "words": 412,
  "language": "en",
  "model": "Rara 0.3",
  "passages": [
    {"start": 1180, "end": 1792, "level": "very_likely", "text": "..."}
  ],
  "share_url": null
}

What each field means

Field What it is
ai_percent, human_percent The share of words inside passages that look AI-written, and the rest. null when the text can’t be scored.
result ai (the whole text), ai_passages (some passages), human (no AI signal), unclear (not flagged, but not clearly human either), too_short, unsupported
label The word the checker shows, ai (90% or more of the words), mixed, human or unclear. null when the text can’t be scored.
confidence high, medium or low, for how sure the checker is
passages Each marked passage, with where it starts and ends in your text (in characters), its level (very_likely or possibly) and its text
share_url A link to the full result page, if you asked for one
id The check’s id, to make a share link later

Show a result to your users as a signal to look closer, not proof of who wrote a text.

Check a web page

Send a url instead of text. News sites and blogs work best, and pages behind a paywall or sign-in can’t be read.

curl -s https://reinkly.com/api/v1/check \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com/an-article"}'

Add "share": true to the check, or ask for a link later with the check’s id.

curl -s https://reinkly.com/api/v1/share \
  -H "Content-Type: application/json" \
  -d '{"id": "3f2a9c1e7b4d5a60"}'

Anyone with a share link can see the text and the result.

Python

import requests

r = requests.post("https://reinkly.com/api/v1/check",
                  json={"text": open("essay.txt").read()},
                  headers={"Authorization": "Bearer YOUR_KEY"},   # optional
                  timeout=120)
r.raise_for_status()
res = r.json()
print(f"{res['ai_percent']}% AI, {res['human_percent']}% human ({res['confidence']})")
for p in res["passages"]:
    print("-", p["level"], p["text"][:80])

JavaScript

const r = await fetch("https://reinkly.com/api/v1/check", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ text }),
});
const res = await r.json();
if (!r.ok) throw new Error(res.error.message);
console.log(`${res.ai_percent}% AI`, res.passages);

CORS is open, so you can call the API from any website in a browser.

Limits

Without a key With a key
Checks 20 a minute per address Your key’s daily allowance (500 by default), up to 60 a minute
One text Up to about 15,000 words The same
Time About about 6 seconds for 1,200 words The same

Send your key as Authorization: Bearer tw_.... Keep it secret, because anyone with it uses your allowance.

Errors

Errors come back with a status code and a short message.

{"error": {"code": "rate_limited", "message": "Too many requests. Please wait a minute."}}
Status Code What to do
400 bad_request Send text or url
401 unauthorized Check your key
422 invalid A field has the wrong type or is too long
429 rate_limited Wait, then try again
503 unavailable The checker is busy or restarting. Try again in a minute

Other endpoints

  • GET https://reinkly.com/api/v1/models lists the detectors you can pass as model (the default is Rara 0.3).
  • POST https://reinkly.com/mcp is the MCP server for AI assistants.
  • GET https://reinkly.com/openapi.json describes this API for code generators and AI agents (OpenAPI 3.1).

Ask for a key

Keys are free during the beta. Tell us your email and we will send one.

FAQ

Is the API free?

Yes, while in beta. Paid plans will come later, and we will email key holders before anything changes.

Do I need a key?

No. Without a key the limit is 20 checks a minute from one address, and a key (ask below) gives you a daily allowance of your own.

Do you keep the texts I send?

Yes, like checks on the site. We keep them on our servers to review results and improve the checker, and we don’t sell them (privacy policy).

Which languages work?

English, French, Spanish and Hindi. English works best.

Can I use the API for a product of my own?

Yes, during the beta, within the limits and the terms. Tell us what you are building so we can plan capacity.

Is there an MCP server?

Yes. Claude, ChatGPT, Cursor and VS Code can call Reinkly directly through the MCP server.

Help