UndetectedGPTAPI

Getting Started

Get up and running with the UndetectedGPT API in under 5 minutes. Send AI-generated text in, get human-sounding output back.

Setup

1

Create an account

Sign up at www.undetectedgpt.ai/signup if you don't have an account yet.

2

Create an API key

Go to API Keys and create a new key. Copy it immediately as it will only be shown once. Your key starts with ugpt_live_. Creating your first key adds 1,000 free words to your account, so you can start testing right away.

3

Make your first request

Use the key in the Authorization header as a Bearer token. See the example below. Send at least 20 words: shorter text is returned unchanged.

4

Buy words when you need more

Each API request deducts the number of input words from your balance (Ultra requests deduct 3 words per input word). Failed requests are refunded automatically, and inputs under 20 words are returned unchanged at no charge. When your free words run out, go to Billing and purchase a word pack.

Your first API call

Replace YOUR_API_KEY with the key you just created.

curl -X POST https://www.undetectedgpt.ai/api/v1/humanize \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Your AI-generated text here"}'

Response

A successful request returns the humanized text, the number of words used, and your remaining balance.

Response
{
  "output": "The humanized version of your text...",
  "words_used": 142,
  "words_remaining": 249858
}

The request also accepts optional tone, model, spelling, ultra and markdown parameters; see the API Reference for all of them.

Next steps

Was this page helpful?