> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gowinston.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Plagiarism

> Winston AI's plagiarism API is a powerful tool designed to check text for plagiarism by scouring the internet for similar content. It queries multiple websites and compares the input text with the content found on these websites. This can be particularly useful in academic settings, content creation, legal scenarios or any other situation where originality of content is required.



## OpenAPI

````yaml POST /v1/plagiarism
openapi: 3.0.1
info:
  title: Winston AI API
  description: Winston AI API specification
  license:
    name: MIT
  version: 4.11.4
servers:
  - url: https://api.gowinston.ai/
security:
  - bearerAuth: []
paths:
  /v1/plagiarism:
    post:
      description: >-
        Winston AI's plagiarism API is a powerful tool designed to check text
        for plagiarism by scouring the internet for similar content. It queries
        multiple websites and compares the input text with the content found on
        these websites. This can be particularly useful in academic settings,
        content creation, legal scenarios or any other situation where
        originality of content is required.
      requestBody:
        description: ''
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Plagiarism'
        required: true
      responses:
        '200':
          description: Plagiarism response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Plagiarism-response'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Plagiarism:
      required:
        - text
      type: object
      properties:
        text:
          description: >-
            The text to be scanned. Each request must contain at least 16 words
            and no more than 20,000 words.
          type: string
    Plagiarism-response:
      type: object
      properties:
        status:
          description: >-
            This is a standard HTTP status code. A 200 status means the request
            was successful.
          type: integer
        results:
          description: >-
            The results field is an array which contains one or more objects,
            each corresponding to a different website where matching content has
            been found. Each object includes the following fields:
          type: object
          properties:
            title:
              description: >-
                The title field provides the title of the webpage where matching
                content has been found.
              type: string
            url:
              description: >-
                The url field gives the URL of the webpage where matching
                content has been found.
              type: string
            excerpts:
              description: >-
                The excerpts field is an array which contains snippets of text
                from the webpage that match the input text.
              type: object
            date:
              description: >-
                The date of publication of the result. The date format may vary
                from one result to another.
              type: string
        results_count:
          description: >-
            The results_count field indicates the total number of matching
            websites found by the Plagiarism API.
          type: integer
        credits_used:
          description: >-
            The credits_used field represents the number of credits consumed for
            processing your request. Each word that is processed by the API
            consumes two credits.
          type: integer
        credits_remaining:
          description: >-
            The credits_remaining field shows how many credits you have left in
            your account after your request has been processed.
          type: integer
    Error:
      required:
        - error
      type: object
      properties:
        error:
          type: string
        description:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````