POST
/
v2
/
plagiarism

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
text
string
required

The text to scan. It is required except if you supply a website or a file. Minimum 300 characters. Texts under 600 characters may produce unreliable results and should be avoided. Maximum 100 000 characters per request.

file
string

A file to scan. If you supply a file, the API will scan the content of the file. The file must be in plain .pdf, .doc or .docx format. The file has priority over the text, so if you give a text and a file, it's the file that will be scanned.

website
string

A website URL to scan. If you supply a website, the API will fetch the content of the website and scan it. The website must be publicly accessible. It's important to know that the website has priority over the text and the file, so if you give a text, a file and a website, it's the website that will be scanned.

excluded_sources
string[]

An array of sources to exclude from the scan. The excluded sources won't be taken into account for the plagiarism scan score. Sources can either be a domain name like example.com or a url like https://example.com. If you specify a domain name, the API will exclude all the urls belonging to that domain and all subdomains. Sources are case-sensitive.

language
string
default: en

2 letter language code. We accept all languages. Default: en.

country
string
default: us

The country code of the country where the text was written. We accept all country codes. Default: us.

Response

204 - application/json
status
number

HTTP status code representing the result of the plagiarism scan request.

scanInformation
object

Some basic scan information about the request.

result
object

The result field is the main object that contains the results of the plagiarism scan.

sources
object[]

The sources field is an array which contains one or more objects, each corresponding to a different website where matching content has been found.

text
string

The input text that was used for the plagiarism scan.

similarWords
object[]

List of similar words found in the input text.

citations
string[]

The citations is an array which contains one or more objects, each corresponding to a different website where the website was cited in the provided text.

indexes
object[]

List of plagiarism sequences found in the input text.

credits_used
integer

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.

credits_remaining
integer

The credits_remaining field shows how many credits you have left in your account after your request has been processed.