# AI Content Detector — ChatGPT, Claude & Gemini Text Checker (`tidydata/ai-content-detector`) Actor

Check if texts were written by AI (ChatGPT, Claude, Gemini, Llama) in bulk: pasted texts, web pages, PDF/Word files or scraper datasets. AI score, verdict, confidence and per-section scores. Runs its own model: no third-party site.

- **URL**: https://apify.com/tidydata/ai-content-detector.md
- **Developed by:** [tidydata](https://apify.com/tidydata) (community)
- **Categories:** AI, SEO tools, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $5.00 / 1,000 text checkeds

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## 🕵️ AI Content Detector — check if a text was written by ChatGPT, Claude or Gemini

![Real run: six texts checked by the AI Content Detector — an AI product description, email and LinkedIn post scored 99-100, a 2014 forum answer and a 2018 encyclopedia article scored as human, and a mixed PDF report with per-section scores](https://api.apify.com/v2/key-value-stores/UJXqVadHhfb2eqS2e/records/ai-content-detector.png)

**Find out if texts were written by AI, in bulk.** Paste a text, give it web pages, PDF or Word files, or chain it with any scraper, and get for every text an **AI score (0-100)**, a clear **verdict**, a **confidence level** and, for long documents, **a score for every section**, so you can see *which parts* of a mixed document look AI-written.

**$5 per 1,000 texts** (up to 1,000 words each) **+ the Apify compute of the run** (see [Pricing](#pricing)). Failed, too-short and skipped texts are free. No API key, no subscription.

- ✅ **Its own detection model**, running inside the Actor: no third-party detector website in the middle, no login, nothing that breaks when a website changes, and **your texts are not sent to any other service**
- ✅ Built on one of the top-ranked open models of the **RAID benchmark** for AI-text detection (DeBERTa-v3-large, MIT licence). It learns *how* AI writes, not one brand, so it works on text from **ChatGPT / GPT, Claude, Gemini, Llama, Mistral, Qwen…** (our own test below used Claude, GPT-OSS and Qwen)
- ✅ **Mixed documents**: long texts are scored section by section (about 350 words each) → `mixed` verdict when only some parts look AI-written
- ✅ **Any source**: pasted text, a JSON list of texts (API, n8n, Make, Zapier, AI agents), **web pages** (only the article, not menus, ads or comments), **PDF, Word (.docx), TXT, Markdown**, uploads, Google Drive / Dropbox / OneDrive links, or **a text column of another Actor's dataset** (reviews, articles, posts, product descriptions)
- ✅ **Honest results**: we publish our own accuracy test below, every row says how much to trust it (`confidence`), and texts that are too short to judge are refused for free instead of guessed
- ✅ Thousands of texts per run, results as JSON, CSV or Excel

### What can I use it for?

- **SEO and content teams**: check freelance and agency articles before you publish or pay for them.
- **Marketplaces and review sites**: flag AI-written product reviews, listings or profiles at scale (chain it with a reviews scraper).
- **Publishers and editors**: screen guest posts, submissions and press releases.
- **Education** (as a hint, never as proof — see [Limits](#limits-and-good-to-know)): get a second opinion on essays and assignments.
- **Recruiting**: see which cover letters and answers were written with ChatGPT.
- **AI pipelines and agents**: route texts by "human / AI" before training, moderation or ranking.

### How to use it

1. Give it your texts in any of these ways (you can mix them):
   - **Text to check**: paste one text.
   - **Many texts (JSON list)**: `["first text…", "second text…"]` or `[{"id": "A-1", "text": "…"}]`.
   - **Web pages or document links**: one link per line (articles, blog posts, PDF, .docx, .txt, .md).
   - **Upload documents** from your computer.
   - **Dataset of another Actor**: pick the dataset and, if needed, the field with the text (e.g. `reviewText`) and an ID field.
2. Click **Start**. Each text becomes one row; export the results or read them from the API.

### Output example

```json
{
  "position": 1,
  "source": "url",
  "url": "https://example.com/blog/best-coffee-gifts",
  "title": "The Ultimate Coffee Lover's Gift Set",
  "verdict": "likely_ai",
  "verdictLabel": "Likely AI-generated",
  "aiProbability": 0.9998,
  "aiScore": 100,
  "humanScore": 0,
  "confidence": "high",
  "aiSectionsShare": 1.0,
  "sectionCount": 1,
  "wordCount": 183,
  "language": "en",
  "languageName": "English",
  "languageSupport": "full",
  "documentType": "html",
  "textPreview": "The Ultimate Coffee Lover's Gift Set Brew happiness in every cup with our carefully curated…",
  "billedUnits": 1,
  "status": "ok",
  "charged": true
}
```

A long, partly AI-written report looks like this (only the section fields shown):

```json
{
  "verdict": "mixed",
  "verdictLabel": "Mixed: some sections look AI-generated",
  "aiScore": 72,
  "aiSectionsShare": 0.56,
  "sectionCount": 5,
  "sections": [
    {"index": 1, "words": 338, "aiProbability": 0.72, "verdict": "uncertain", "start": "Erupting volcanoes can pose many hazards…"},
    {"index": 2, "words": 382, "aiProbability": 0.03, "verdict": "likely_human", "start": "Clinical studies indicate that…"},
    {"index": 3, "words": 353, "aiProbability": 0.9998, "verdict": "likely_ai", "start": "Several people may have coined…"}
  ]
}
```

**Verdicts:** `likely_ai` (AI score ≥ 90), `uncertain` (50-89: could be either, or a human text edited with AI), `likely_human` (< 50) and `mixed` (at least 15 % of the text in AI-looking sections and 15 % in human-looking ones). **Confidence** is `high`, `medium` or `low` depending on the text length (150+ words is best), the language and how far the score is from the thresholds.

### Accuracy (our own test, November 2026)

We tested it on **148 English texts we know the origin of**: 94 human texts written *before ChatGPT existed* (Wikipedia articles as of 2018 and Stack Exchange answers from 2014-2015) and 54 texts we generated with **Claude Haiku 5.5, GPT-OSS-120B and Qwen 3.8** (essays, blog posts, product descriptions, news, reviews, emails, LinkedIn and Reddit-style posts, and "write like a human, with imperfections" prompts).

| | Result |
|---|---|
| AI texts flagged `likely_ai` | **49 of 54 (91 %)** |
| Human texts wrongly flagged `likely_ai` | **3 of 94 (3 %)** |
| Human texts in `likely_human` | 82 of 94 (87 %) |

The AI texts it missed were casual "personal story" posts written on purpose to sound human. Spanish (35 texts, beta): no human text scored above 50, and 10 of 18 AI texts scored 90+.

### Pricing

| What | Price |
|---|---|
| One text up to 1,000 words | **$0.005** |
| Longer texts | $0.005 per started 1,000 words |
| Failed, too short, unsupported language or skipped | free |
| Apify compute (paid to Apify; your plan's free credit covers it) | about **$0.0015 per 300-word text** (≈ $0.005 per 1,000 words) + about **$0.01 per run** to start |

So **1,000 short texts cost about $6.50 in total** and a single text checked on its own about $0.015 — measured on Apify in November 2026. That is several times cheaper than detector APIs and other detector Actors (which charge $0.012 to $0.10 per check). Apify store discounts apply automatically (−10 % Bronze, −15 % Silver, −20 % Gold and above). **Tip:** send many texts in one run instead of one run per text — the start is paid once.

Your **spending limit** is respected: the Actor checks it **before** each text and stops cleanly, marking the rest as skipped (free).

### Limits and good to know

- **No AI detector is proof.** Scores are probabilities from a statistical model: use them to decide what to look at more closely, never as the only evidence against a person (students, employees, writers).
- **Short texts** (under 40 words) are refused for free; under 100 words the score is only a hint (`confidence: low`).
- **Languages:** English gives the best results. Spanish, French, German, Italian, Portuguese, Dutch, Catalan and other Latin-script languages work in **beta**. Other languages (Chinese, Russian, Arabic…) are skipped for free unless you turn on *Analyse other languages anyway*.
- **Edited AI text** (rewritten by a person, or by a "humanizer" tool) and very formal human writing (encyclopedias, legal text) are the hardest cases: expect more `uncertain` scores there.
- **Web pages** are read without running JavaScript: pages that only show text after scripts run (some web apps) give "no readable text". Pages behind a login and social networks (Instagram, Facebook, TikTok, X, LinkedIn…) are not read.
- **PDFs** need a text layer: for scans, run [PDF Text Extractor (OCR)](https://apify.com/tidydata/pdf-image-text-extractor) first. Old `.doc` and `.rtf` files: save as `.docx`.
- Texts over 100,000 words are cut there (noted in the row).

### FAQ

**Is my text sent to OpenAI, GPTZero or another website?** No. The model runs inside your Actor run on Apify; the text is not sent to any other service and is not stored by us.

**Which model is it?** `desklib/ai-text-detector-v1.01`, a DeBERTa-v3-large model fine-tuned for AI-text detection (MIT licence), ranked first on the RAID benchmark when it was published. We pin the exact version, so results do not change from run to run.

**Can it tell which AI wrote the text?** No: it tells AI-written from human-written, not the brand of the model.

**Why "uncertain" and not a yes/no?** Because between 50 and 90 the model is not sure, and pretending otherwise causes false accusations. You can still sort by `aiScore`.

**How do I use it from n8n, Make or Zapier?** Run the Actor with `{"texts": ["…", "…"]}` (or objects with your own `id`) and read the dataset; or chain it after a scraper with *Dataset of another Actor*.

**How fast is it?** About 3 seconds per 300-word text (about 10 seconds per 1,000 words) on the default 4 GB of memory, plus a few seconds to start. 1,000 short texts take about 50 minutes; more memory does not make it faster.

### Related Actors

- [PDF Text Extractor — PDF & Image to Text OCR](https://apify.com/tidydata/pdf-image-text-extractor) — get the text out of scanned documents first
- [Article Text Extractor](https://apify.com/tidydata/article-text-extractor) — clean article text from any web page
- [Merge, Dedupe & Transform Datasets](https://apify.com/tidydata/merge-dedupe-datasets) — join the scores back to your reviews or articles
- [Audio & Video Transcription](https://apify.com/tidydata/audio-video-transcription) — turn videos and podcasts into text, then check it here

# Actor input Schema

## `text` (type: `string`):

Paste one text (an essay, article, review, product description, email, post…). At least 40 words; 150+ words give the most reliable result. For many texts at once use the fields below.

## `texts` (type: `array`):

A list of texts: \["first text…", "second text…"] or objects \[{"id": "A-1", "text": "…"}]. Ideal from the API, n8n, Make, Zapier or an AI agent. Each text becomes one row.

## `urls` (type: `array`):

One link per line: a web page (blog post, article, landing page: only the main text is read, not menus or comments), or a PDF, Word (.docx), TXT or Markdown file. Google Drive, Dropbox and OneDrive share links work (shared as 'anyone with the link').

## `uploadedFiles` (type: `array`):

Upload PDF, .docx, .txt or .md files from your computer (they go to a key-value store of your own account and only this run reads them).

## `datasetId` (type: `string`):

Check the texts of another Actor's results: reviews, articles, posts, product descriptions. Pick the dataset (or pass its ID from an integration / webhook).

## `datasetTextField` (type: `string`):

Field that holds the text, e.g. text, content, reviewText, description or a nested path like post.body. Empty = found automatically (text, content, body, description, review…).

## `datasetIdField` (type: `string`):

Optional: a field copied to each result as 'id' (e.g. reviewId, url, sku) so you can join the results back.

## `sectionAnalysis` (type: `boolean`):

Texts longer than about 550 words are also scored per section (about 350 words each), so you can see which parts look AI-written in a mixed document. The overall score is always given.

## `includeText` (type: `boolean`):

Adds the analysed text (as read from the page or file) to each row. Off by default to keep results small; a 240-character preview is always included.

## `analyzeOtherLanguages` (type: `boolean`):

The model is trained on English (best) and works in beta for Spanish, French, German, Italian, Portuguese, Dutch and other Latin-script languages. Texts in other languages (Chinese, Russian, Arabic…) are skipped for free unless this is on (scores are then much less reliable).

## `maxTexts` (type: `integer`):

Upper limit of texts analysed in one run.

## `maxFileSizeMb` (type: `integer`):

Larger files are not downloaded (free).

## `maxConcurrency` (type: `integer`):

How many pages / files are downloaded at the same time (the analysis itself runs one text at a time on the run's CPU).

## Actor input object example

```json
{
  "text": "The Ultimate Coffee Lover's Gift Set\n\nBrew happiness in every cup with our carefully curated Coffee Lover's Gift Set, designed for the caffeine enthusiast in your life. Each set includes a 12-ounce bag of single-origin Ethiopian beans, roasted to bring out bright notes of blueberry and honey, along with a hand-crafted ceramic pour-over dripper that delivers a smooth, balanced extraction every time.\n\nAlso included is a stainless steel gooseneck kettle for precise pouring, a reusable filter, and a beautifully illustrated recipe card featuring three signature drinks to try, from a classic cold brew to a cinnamon-spiced latte. Everything arrives in a sleek, gift-ready box with a recyclable wrap, so unwrapping feels as special as the first sip.\n\nWhether it's a birthday, holiday, anniversary, or just a thoughtful \"thinking of you,\" this set makes a memorable gift for anyone who starts their day with coffee. It's perfect for beginners eager to upgrade their home brewing and seasoned aficionados looking to explore new flavors.\n\nGive the gift of a better morning. Order the Coffee Lover's Gift Set today and let every cup tell a story.",
  "sectionAnalysis": true,
  "includeText": false,
  "analyzeOtherLanguages": false,
  "maxTexts": 1000,
  "maxFileSizeMb": 50,
  "maxConcurrency": 6
}
```

# Actor output Schema

## `results` (type: `string`):

One row per text: verdict, AI score, confidence, words, language, section scores and the reason when it failed.

## `summary` (type: `string`):

Texts analysed, failed and skipped, words and units charged.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "text": `The Ultimate Coffee Lover's Gift Set

Brew happiness in every cup with our carefully curated Coffee Lover's Gift Set, designed for the caffeine enthusiast in your life. Each set includes a 12-ounce bag of single-origin Ethiopian beans, roasted to bring out bright notes of blueberry and honey, along with a hand-crafted ceramic pour-over dripper that delivers a smooth, balanced extraction every time.

Also included is a stainless steel gooseneck kettle for precise pouring, a reusable filter, and a beautifully illustrated recipe card featuring three signature drinks to try, from a classic cold brew to a cinnamon-spiced latte. Everything arrives in a sleek, gift-ready box with a recyclable wrap, so unwrapping feels as special as the first sip.

Whether it's a birthday, holiday, anniversary, or just a thoughtful "thinking of you," this set makes a memorable gift for anyone who starts their day with coffee. It's perfect for beginners eager to upgrade their home brewing and seasoned aficionados looking to explore new flavors.

Give the gift of a better morning. Order the Coffee Lover's Gift Set today and let every cup tell a story.`
};

// Run the Actor and wait for it to finish
const run = await client.actor("tidydata/ai-content-detector").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "text": """The Ultimate Coffee Lover's Gift Set

Brew happiness in every cup with our carefully curated Coffee Lover's Gift Set, designed for the caffeine enthusiast in your life. Each set includes a 12-ounce bag of single-origin Ethiopian beans, roasted to bring out bright notes of blueberry and honey, along with a hand-crafted ceramic pour-over dripper that delivers a smooth, balanced extraction every time.

Also included is a stainless steel gooseneck kettle for precise pouring, a reusable filter, and a beautifully illustrated recipe card featuring three signature drinks to try, from a classic cold brew to a cinnamon-spiced latte. Everything arrives in a sleek, gift-ready box with a recyclable wrap, so unwrapping feels as special as the first sip.

Whether it's a birthday, holiday, anniversary, or just a thoughtful \"thinking of you,\" this set makes a memorable gift for anyone who starts their day with coffee. It's perfect for beginners eager to upgrade their home brewing and seasoned aficionados looking to explore new flavors.

Give the gift of a better morning. Order the Coffee Lover's Gift Set today and let every cup tell a story.""" }

# Run the Actor and wait for it to finish
run = client.actor("tidydata/ai-content-detector").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "text": "The Ultimate Coffee Lover'\''s Gift Set\\n\\nBrew happiness in every cup with our carefully curated Coffee Lover'\''s Gift Set, designed for the caffeine enthusiast in your life. Each set includes a 12-ounce bag of single-origin Ethiopian beans, roasted to bring out bright notes of blueberry and honey, along with a hand-crafted ceramic pour-over dripper that delivers a smooth, balanced extraction every time.\\n\\nAlso included is a stainless steel gooseneck kettle for precise pouring, a reusable filter, and a beautifully illustrated recipe card featuring three signature drinks to try, from a classic cold brew to a cinnamon-spiced latte. Everything arrives in a sleek, gift-ready box with a recyclable wrap, so unwrapping feels as special as the first sip.\\n\\nWhether it'\''s a birthday, holiday, anniversary, or just a thoughtful \\"thinking of you,\\" this set makes a memorable gift for anyone who starts their day with coffee. It'\''s perfect for beginners eager to upgrade their home brewing and seasoned aficionados looking to explore new flavors.\\n\\nGive the gift of a better morning. Order the Coffee Lover'\''s Gift Set today and let every cup tell a story."
}' |
apify call tidydata/ai-content-detector --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tidydata/ai-content-detector"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/8XTADodjF8MqYhlMK/builds/370meU4xPRKxzzbjV/openapi.json
