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
- Create an account (or sign in).
- Go to Dashboard → API and create a key. Copy it, since it’s only shown once.
- Call the endpoint from your server:
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_.
Authorization: Bearer ur_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxKeep 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
Body parameters
| Field | Type | Description |
|---|---|---|
text | string, required | The text to humanize. At least 20 words, and no more than your plan's per-request limit. |
rewrite_level | string, optional | How 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.
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
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
| Field | Type | Description |
|---|---|---|
text | string, required | At least 50 words and at most 15,000 characters. |
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).
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
Free to call; doesn’t use any words. Handy before sending a large batch.
{
"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": { "type": "…", "message": "…", /* extra fields depending on type */ } }authentication_errorWhen: 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.
{
"error": {
"type": "authentication_error",
"code": "invalid_api_key",
"message": "Invalid or revoked API key."
}
}insufficient_creditsWhen: 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.
{
"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" }
}
}word_limit_exceededWhen: 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.
{
"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"
}
}text_too_longWhen: Detect: the text is longer than 15,000 characters.
What to do: Scan long documents in parts.
{ "error": { "type": "text_too_long", "message": "AI detection accepts up to 15,000 characters (about 2,500 words) per scan." } }scan_limit_exceededWhen: 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.
{ "error": { "type": "scan_limit_exceeded", "message": "You've used all 10 AI detector scans for today. …", "upgrade_url": "https://unrobotize.com/dashboard/billing" } }text_too_shortWhen: 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.
{ "error": { "type": "text_too_short", "message": "Text must be at least 20 words.", "words": 6 } }invalid_requestWhen: 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.
{ "error": { "type": "invalid_request", "message": "`text` is required and must be a string." } }rate_limit_exceededWhen: 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.
{ "error": { "type": "rate_limit_exceeded", "message": "Too many requests. The limit is 60 per minute per key." } }upstream_errorWhen: 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.
{ "error": { "type": "upstream_error", "message": "The humanizer took too long to respond. No words were charged." } }Limits
| Plan | Words / month | Max words per request | AI scans / day |
|---|---|---|---|
| Free | 1,000 | 300 | 10 |
| Basic | 15,000 | 1,000 | 100 |
| Super | 60,000 | 3,000 | 300 |
| Business | 250,000 | 10,000 | 1,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.