Walter Writes AI AI Detector API

The AI Detector API from Walter Writes AI, for ai detector.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 1

POST /api/detector/ Detect AI-generated text #

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/walterwrites-ai:walterwrites-ai-ai-detector-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

walterwrites-ai-ai-detector-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Walter Writes AI Detector API
  version: 1.0.0
  description: Humanize AI-generated text, detect AI-written content in text, images, and voice recordings, scan text for plagiarism, and correct grammar. Authenticate every request with an API key in the X-API-Key header. Requests consume credits.
servers:
- url: https://developer-portal.walterwrites.ai
security:
- ApiKeyAuth: []
tags:
- name: AI Detector
paths:
  /api/detector/:
    post:
      operationId: detectAiText
      summary: Detect AI-generated text
      description: Returns an AI probability, a binary verdict, and a per-sentence breakdown. Requires the ai_detector scope. Costs 1 credit per word.
      tags:
      - AI Detector
      externalDocs:
        url: https://docs.walterwrites.ai/api-reference/detector
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DetectorRequest'
      responses:
        '200':
          description: Synchronous result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetectorResponse'
        '202':
          description: Accepted for asynchronous processing. Use task_id with GET /api/jobs/{task_id}/ or wait for the callback.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DetectorResponse'
        '400':
          description: 'Code invalid_payload: malformed request. Code service_error: the text is outside the 50 to 2,000 word limits, or it could not be processed (credits are refunded).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid API key.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: 'The API key lacks the required scope, or there are not enough credits (codes: insufficient_credits, credits_exhausted, trial_expired).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: 'Rate limit exceeded, or too many pending async jobs (code: too_many_pending_jobs).'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    User:
      type: object
      required:
      - id
      properties:
        id:
          type: integer
          description: Your user ID.
    DetectorItem:
      type: object
      properties:
        text:
          type: string
          description: Sentence text.
        prediction:
          type: string
          description: '"ai-generated" or "original".'
        ai_score:
          type: number
          description: AI probability for this sentence (0-1).
    DetectorRequest:
      type: object
      required:
      - content
      properties:
        content:
          type: string
          description: Text to analyze. Must contain 50 to 2,000 words.
        callback_url:
          type: string
          format: uri
          description: Publicly routable URL that receives the result as a JSON POST when processing completes. Switches the request to asynchronous mode (202 Accepted).
        poll:
          type: boolean
          default: false
          description: Set to true to process asynchronously and fetch the result from GET /api/jobs/{task_id}/. Can be combined with callback_url.
        webhook_secret:
          type: string
          description: Sent back in the X-Webhook-Secret header of the callback POST so you can verify its origin.
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: Machine-readable code, when present (for example invalid_payload, insufficient_credits).
        details:
          type: object
          additionalProperties: true
          description: Extra context, when present.
    DetectorResponse:
      type: object
      properties:
        status:
          type: string
          enum:
          - success
          - pending
        task_id:
          type:
          - string
          - 'null'
        result:
          type:
          - string
          - 'null'
          enum:
          - ai
          - human
          - null
          description: '"ai" when ai_score > 0.5, otherwise "human"; null while pending.'
        ai_score:
          type:
          - number
          - 'null'
          description: AI probability (0 = human, 1 = AI).
        items:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/DetectorItem'
          description: Sentence-level analysis.
        service_name:
          type:
          - string
          - 'null'
          description: Name of the service that handled the request. For reference only.
        execution_time:
          type:
          - number
          - 'null'
        word_count:
          type: integer
        credits_remaining:
          type: integer
        message:
          type:
          - string
          - 'null'
        user:
          $ref: '#/components/schemas/User'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: API key created in the Developer Portal (https://platform.walterwrites.ai/api-keys). Send it in the X-API-Key header on every request.
externalDocs:
  description: Documentation
  url: https://docs.walterwrites.ai