GPTZero Detection API

AI content detection

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/gptzero-detection-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

gptzero-detection-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: GPTZero Batch Detection API
  description: AI content detection API for analyzing text to detect AI-generated content.
  version: 1.0.0
  x-jentic-source-url: https://gptzero.stoplight.io/
  contact: {}
servers:
- url: https://api.gptzero.me/v2
security:
- ApiKeyAuth: []
tags:
- name: Detection
  description: AI content detection
paths:
  /predict/text:
    post:
      tags:
      - Detection
      summary: Analyze text
      operationId: analyzeText
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TextAnalysisInput'
      responses:
        '200':
          description: Analysis complete
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AnalysisResult'
      description: Analyze text
  /reports:
    get:
      tags:
      - Detection
      summary: List reports
      operationId: listReports
      parameters:
      - name: startDate
        in: query
        schema:
          type: string
          format: date
      - name: endDate
        in: query
        schema:
          type: string
          format: date
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/Report'
      description: List reports
  /reports/{reportId}:
    get:
      tags:
      - Detection
      summary: Get report
      operationId: getReport
      parameters:
      - name: reportId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Report'
      description: Get report
components:
  schemas:
    Report:
      type: object
      properties:
        id:
          type: string
        documentCount:
          type: integer
        averageGeneratedProb:
          type: number
          format: float
        classifications:
          type: object
          properties:
            human:
              type: integer
            ai:
              type: integer
            mixed:
              type: integer
        createdAt:
          type: string
          format: date-time
    TextAnalysisInput:
      type: object
      required:
      - document
      properties:
        document:
          type: string
          description: Text to analyze
        multilingual:
          type: boolean
          default: false
    AnalysisResult:
      type: object
      properties:
        id:
          type: string
        documentId:
          type: string
        completely_generated_prob:
          type: number
          format: float
          description: Probability that text is completely AI-generated
        average_generated_prob:
          type: number
          format: float
          description: Average probability across sentences
        overall_burstiness:
          type: number
          format: float
        perplexity:
          type: number
          format: float
        sentences:
          type: array
          items:
            type: object
            properties:
              sentence:
                type: string
              generated_prob:
                type: number
                format: float
              perplexity:
                type: number
                format: float
        classification:
          type: string
          enum:
          - human
          - ai
          - mixed
        createdAt:
          type: string
          format: date-time
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key