UnRobotize API

Humanize AI-generated text and check how AI-like any text reads. Humanizing uses the same monthly word credit as the dashboard; AI detection uses your plan’s daily scans.

Quickstart

  1. Create an account (or sign in).
  2. Go to Dashboard → API and create a key. Copy it, since it’s only shown once.
  3. Call the endpoint from your server:
cURL
curl -X POST https://unrobotize.com/api/v1/humanize \
  -H "Authorization: Bearer $UNROBOTIZE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "text": "In today'\''s fast-paced digital landscape, it is important to note that effective communication plays a pivotal role in fostering meaningful connections with your audience."
  }'

Authentication

Every request needs your secret key in the Authorization header. Keys start with ur_live_.

Header
Authorization: Bearer ur_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Keep keys on your server: put them in environment variables, never in front-end or mobile code. If a key leaks, revoke it in the dashboard and create a new one.

Humanize text

POSThttps://unrobotize.com/api/v1/humanize

Body parameters

FieldTypeDescription
textstring, requiredThe text to humanize. At least 20 words, and no more than your plan's per-request limit.
rewrite_levelstring, optionalHow heavily to rewrite: quality, balanced, max. Defaults to balanced. Only takes effect where available.

Response

word_count is what was charged to your credit. usage shows your balance after this request.

200 OK
HTTP/1.1 200 OK
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 59
X-Words-Remaining: 14588

{
  "id": "7f1c2a4e-3b9d-4c51-9a0e-2d6f8b1e0c77",
  "object": "humanization",
  "text": "These days, good communication is how you build real connections with your audience.",
  "rewrite_level": "balanced",
  "word_count": 27,
  "created_at": "2026-11-22T10:24:31.000Z",
  "usage": {
    "plan": "basic",
    "words_used": 412,
    "words_limit": 15000,
    "words_remaining": 14588,
    "max_words_per_request": 1000,
    "resets_at": "2026-12-01T08:00:00.000Z"
  }
}

Detect AI text

POSThttps://unrobotize.com/api/v1/detect

Estimates how likely the text is to be AI-generated, overall and sentence by sentence. Each call uses one of your plan’s daily scans and no word credit. We don’t store the text you scan.

Body parameters

FieldTypeDescription
textstring, requiredAt least 50 words and at most 15,000 characters.
Request
curl -X POST https://unrobotize.com/api/v1/detect \
  -H "Authorization: Bearer $UNROBOTIZE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "text": "…at least 50 words…" }'

Response

label is ai, mixed or human. ai_score and human_score are percentages; each sentence’s score is a 0–1 AI likelihood (sentences at 0.5 or above count towards ai_sentences).

200 OK
HTTP/1.1 200 OK
X-Scans-Remaining: 99

{
  "object": "detection",
  "label": "ai",
  "ai_score": 86,
  "human_score": 14,
  "sentences": [
    { "text": "With the continued advancements in Artificial Intelligence, …", "score": 0.91 },
    { "text": "Learners can fit these studies around their lives.", "score": 0.12 }
  ],
  "ai_sentences": 9,
  "total_sentences": 12,
  "word_count": 249,
  "created_at": "2026-11-22T10:24:31.000Z",
  "scans": {
    "plan": "basic",
    "scans_used_today": 1,
    "scans_limit_per_day": 100,
    "scans_remaining_today": 99,
    "resets_at": "2026-11-23T00:00:00.000Z"
  }
}

Detection is probabilistic and can be wrong. Don’t use it as the only basis for decisions about a person.

Check your credit

GEThttps://unrobotize.com/api/v1/usage

Free to call; doesn’t use any words. Handy before sending a large batch.

200 OK
{
  "object": "usage",
  "plan": "super",
  "words_used": 18240,
  "words_limit": 60000,
  "words_remaining": 41760,
  "max_words_per_request": 3000,
  "resets_at": "2026-12-01T08:00:00.000Z"
}

Errors

Errors use standard HTTP status codes and always return the same shape. Branch on error.type; the message is written for humans and may change. Failed requests never use credit or scans.

Error shape
{ "error": { "type": "…", "message": "…", /* extra fields depending on type */ } }
401authentication_error

When: The Authorization header is missing, malformed, or the key was revoked.

What to do: Send Authorization: Bearer ur_live_… with an active key from Dashboard → API.

401 response
{
  "error": {
    "type": "authentication_error",
    "code": "invalid_api_key",
    "message": "Invalid or revoked API key."
  }
}
402insufficient_credits

When: Humanize: the text has more words than you have left this period.

What to do: Buy more credit by upgrading at upgrade_url, or wait until resets_at.

402 response
{
  "error": {
    "type": "insufficient_credits",
    "message": "You've used all your words for this period. Upgrade your plan to buy more words.",
    "words": 640,
    "upgrade_url": "https://unrobotize.com/dashboard/billing",
    "usage": { "plan": "free", "words_used": 1000, "words_limit": 1000, "words_remaining": 0, "max_words_per_request": 300, "resets_at": "2026-12-05T08:00:00.000Z" }
  }
}
413word_limit_exceeded

When: Humanize: one request has more words than your plan allows per request.

What to do: Split the text into smaller chunks, or upgrade for a higher per-request limit.

413 response
{
  "error": {
    "type": "word_limit_exceeded",
    "message": "Your Basic plan allows up to 1,000 words per request; this text has 1,840.",
    "words": 1840,
    "upgrade_url": "https://unrobotize.com/dashboard/billing"
  }
}
413text_too_long

When: Detect: the text is longer than 15,000 characters.

What to do: Scan long documents in parts.

413 response
{ "error": { "type": "text_too_long", "message": "AI detection accepts up to 15,000 characters (about 2,500 words) per scan." } }
429scan_limit_exceeded

When: Detect: you've used all of today's AI detector scans for your plan.

What to do: Wait until resets_at (midnight UTC), or upgrade at upgrade_url.

429 response
{ "error": { "type": "scan_limit_exceeded", "message": "You've used all 10 AI detector scans for today. …", "upgrade_url": "https://unrobotize.com/dashboard/billing" } }
400text_too_short

When: Humanize: fewer than 20 words. Detect: fewer than 50 words.

What to do: Send more text; very short snippets don't give the model enough context.

400 response
{ "error": { "type": "text_too_short", "message": "Text must be at least 20 words.", "words": 6 } }
400invalid_request

When: The body isn't valid JSON, text is missing, or an option isn't recognised.

What to do: Check the request against the parameters table.

400 response
{ "error": { "type": "invalid_request", "message": "`text` is required and must be a string." } }
429rate_limit_exceeded

When: More than 60 requests in a minute with the same key.

What to do: Wait for the Retry-After seconds, then retry with exponential backoff.

429 response
{ "error": { "type": "rate_limit_exceeded", "message": "Too many requests. The limit is 60 per minute per key." } }
502upstream_error

When: The engine failed or timed out (503 if temporarily unavailable).

What to do: Retry after a few seconds. Failed requests never use words or scans.

502 response
{ "error": { "type": "upstream_error", "message": "The humanizer took too long to respond. No words were charged." } }

Limits

PlanWords / monthMax words per requestAI scans / day
Free1,00030010
Basic15,0001,000100
Super60,0003,000300
Business250,00010,0001,000
  • 60 requests per minute per key. Check the X-RateLimit-* headers.
  • Requests can take up to 60 seconds for long texts; set your client timeout to at least 120 seconds.
  • Word credit resets monthly on your billing date; AI scans reset daily at midnight UTC. Unused credit doesn’t roll over.
Get your API key