ReverseGPT
  • Pricing
  • Features
  • Compare
  • Free tools
  • Blog
  • Sign in
  • Start free
For developers

The AI humanizer API

Humanize AI-generated text from your own code. REST over HTTPS, one credit per word, and an OpenAPI spec you can point a client generator at. The same pipeline that powers the ReverseGPT editor.

Get an API keyOpenAPI 3.1 specMCP server for Claude & ChatGPT
Per word
1 credit
Max words
1,000
OpenAPI
3.1
RequestPOST
POST /api/v1/humanizeAuthorization: Bearer rg_live_YOUR_KEY
textLeverage synergies to optimize outcomes.
Jobclx8k2p9a0001Statuscompleted
Response200 OK
result.humanizedTextWorking together gets better results.

On this page

  1. 01Quickstart
  2. 02Endpoints
  3. 03In your language
  4. 04Errors
  5. 05Rate limits, retries and scopes
01

Quickstart

Two calls: start a run, then poll it until the rewrite comes back.

  1. 01Start a run

    POST /api/v1/humanize

    The job URL is in Location. Poll it. Nothing else in the body matters yet.

    curl
    curl -X POST https://www.reversegpt.ai/api/v1/humanize \
      -H "Authorization: Bearer rg_live_YOUR_KEY" \
      -H "Content-Type: application/json" \
      -d '{"text": "Leverage synergies to optimize outcomes."}'
    HTTP/1.1 202 Accepted
    Location: https://www.reversegpt.ai/api/v1/jobs/clx8k2p9a0001
    Retry-After: 3
  2. 02Poll that URL until it finishes

    GET /api/v1/jobs/{id}

    Abridged. Keep polling while status is pending; read result.humanizedText once it is completed. Full shape in the OpenAPI spec.

    curl
    curl https://www.reversegpt.ai/api/v1/jobs/clx8k2p9a0001 \
      -H "Authorization: Bearer rg_live_YOUR_KEY"
    {
      "job":    { "status": "completed", "wordCount": 5 },
      "result": { "humanizedText": "Working together gets better results." }
    }

Authenticate with one header: Authorization: Bearer rg_live_… or x-api-key, whichever your client makes easier. Going to production? Add an Idempotency-Key header to the POST so a retry cannot start, and charge for, a second run.

02

Endpoints

Base URL https://www.reversegpt.ai/api/v1. Every response carries an X-Request-Id. Quote it if you ever need support.

Scroll
The API's endpoints, with the scope each needs, what it costs and what it does.
EndpointScopeCostWhat it does
POST /v1/humanizehumanize:write1 credit per wordStart a run. Answers 202 with a Location header (200 when an idempotent replay finds the run already finished). At most 1000 words per request.
GET /v1/jobs/{id}humanize:readFreeRead a run back. Poll until status leaves pending, then read result.humanizedText.
GET /v1/openapiNoneFreeThe OpenAPI 3.1 document, generated from the same schemas the endpoints validate with.
03

In your language

There is no SDK to install and nothing to keep up to date. It is one POST and one GET, and both examples below are complete.

const API = "https://www.reversegpt.ai/api/v1";
const KEY = process.env.REVERSEGPT_API_KEY;

async function humanize(text) {
  const started = await fetch(`${API}/humanize`, {
    method: "POST",
    headers: {
      Authorization: `Bearer ${KEY}`,
      "Content-Type": "application/json",
      "Idempotency-Key": crypto.randomUUID(),
    },
    body: JSON.stringify({ text }),
  });

  if (!started.ok) throw new Error((await started.json()).error.message);
  let { job } = await started.json();

  // Poll until the run leaves `pending`. Polling is free.
  while (job.status === "pending") {
    await new Promise((r) => setTimeout(r, 2000));
    const polled = await fetch(job.url, {
      headers: { Authorization: `Bearer ${KEY}` },
    });
    const body = await polled.json();
    job = body.job;
    if (job.status === "completed") return body.result.humanizedText;
    if (job.status === "failed") throw new Error(body.error.message);
  }
}
import os, time, uuid, requests

API = "https://www.reversegpt.ai/api/v1"
KEY = os.environ["REVERSEGPT_API_KEY"]
HEADERS = {"Authorization": f"Bearer {KEY}"}

def humanize(text: str) -> str:
    started = requests.post(
        f"{API}/humanize",
        headers={**HEADERS, "Idempotency-Key": str(uuid.uuid4())},
        json={"text": text},
        timeout=30,
    )
    started.raise_for_status()
    job = started.json()["job"]

    # Polling is free: the run was paid for when it started.
    while job["status"] == "pending":
        time.sleep(2)
        body = requests.get(job["url"], headers=HEADERS, timeout=30).json()
        job = body["job"]
        if job["status"] == "completed":
            return body["result"]["humanizedText"]
        if job["status"] == "failed":
            raise RuntimeError(body["error"]["message"])
04

Errors

Every failure returns the same envelope. Branch on error.type, which is stable, and show error.message. It is written as an instruction, so it is safe to pass straight to a user or to an agent.

Scroll
HTTP status codes the API returns, with the error type and what each means.
StatusTypeMeaning
400invalid_request_errorThe body is not valid JSON.
401authentication_errorThe key is missing, revoked or expired.
402billing_errorNot enough credits. Nothing ran and nothing was charged.
403permission_errorThe key lacks the scope this call needs.
404not_found_errorNo job with that id belongs to your account.
422invalid_request_errorEmpty text, over 1000 words, or an idempotency key reused with different text.
429rate_limit_errorKey rate limit spent. See Retry-After.
500api_errorSomething failed on our side. Retry, and quote the request id if it keeps happening.
503api_errorThe humanizing queue is unreachable. Retry shortly.
402 Payment Required
{
  "error": {
    "type": "billing_error",
    "code": "insufficient_credits",
    "message": "This request needs 640 credits (one per word) but the account has 120 available. Add credits, upgrade the plan, or send shorter text, then retry.",
    "details": { "creditsRequired": 640, "creditsAvailable": 120 },
    "request_id": "req_9f2c1ab74e0d4c8e9b1a7f6d3c2e5a80"
  }
}
05

Rate limits, retries and scopes

A

Rate limits

60 requests per minute per key. Every response reports X-RateLimit-Remaining and the IETF RateLimit field. A 429 carries Retry-After. This is abuse protection, not billing. Billing is credits.

B

Safe retries

Send Idempotency-Key on every POST. Replaying it with the same text returns the original job instead of starting a second, separately charged run. Reusing it with different text is rejected with 422 rather than silently returning the wrong output.

C

Scopes

humanize:write starts runs and spends credits. humanize:read only reads them back. Create a read-only key for anything unattended and it can collect results without ever being able to bill you.

FAQ

Questions, answered straight

One credit per word of input, the same rate as the web editor: a 500-word draft costs 500 credits. On the Max plan runs are included and no credits are debited. Credits come from your plan, so the API adds no separate bill. Polling a job is free, and a run that fails is not charged.

Sign in, open Settings, and create one under API keys. The key is shown once at creation and stored only as a hash, so copy it then. You can create a read-only key for unattended processes that should collect results but never start a run.

Asynchronous. POST /v1/humanize answers 202 with a Location header pointing at the job; poll that URL until status is completed and read result.humanizedText. Most runs finish in seconds and the pipeline gives up after five minutes.

Up to 1000 words per request, matching the editor's limit. Split anything longer into parts and humanize each one. You can run the parts in parallel, within your key's rate limit.

Yes. Send an Idempotency-Key header on every POST. Replaying the same key with the same text returns the original job rather than starting and charging for a second run, for at least 24 hours.

The OpenAPI 3.1 document is served at https://www.reversegpt.ai/api/v1/openapi and is generated from the same schemas the endpoints validate with, so it cannot drift. Point any OpenAPI code generator at it to get a typed client in your language.

Yes. ReverseGPT also has an MCP server, which is the better fit for an AI assistant. Connect it once and the assistant can humanize text as a tool, with OAuth sign-in instead of a pasted key.

Free to start

Start humanizing from your own code

Create an API key in Settings and make your first call with the two requests above. Runs draw on your existing plan, so there is no separate API bill.

Get an API key
ReverseGPT

The AI humanizer built to go undetected.

01Product
  • Pricing
  • Compare
  • AI detectors
  • Blog
02Free tools
  • IEEE Citation Generator
  • ACS Citation Generator
  • CSE Citation Generator
  • ASA Citation Generator
  • Sentence Expander
  • Words to Minutes Converter
  • Thesis Statement Generator
  • Essay Title Generator
  • Words to Pages Converter
  • Claude Watermark Remover
  • Discussion Post Generator
03Compare
  • vs QuillBot
  • vs Undetectable.ai
  • vs StealthGPT
  • vs Humbot
  • vs BypassGPT
  • vs WriteHuman
  • vs Phrasly
  • vs StealthWriter
  • vs Wordtune
  • vs Smodin
04Developers
  • Humanizer API
  • MCP server
05Company
  • Terms of Service
  • Privacy Policy
© ReverseGPT. All rights reserved.Back to top