POST
/
plagiarism
curl --request POST \
  --url https://api.gowinston.ai/functions/v1/plagiarism \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "text": "<string>"
}'
{
  "status": 123,
  "results": {
    "title": "<string>",
    "url": "<string>",
    "excerpts": {},
    "date": "<string>"
  },
  "results_count": 123,
  "credits_used": 123,
  "credits_remaining": 123
}

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. Minimum 300 characters. Maximum 100 000 characters.

Response

204 - application/json
status
integer

This is a standard HTTP status code. A 200 status means the request was successful.

results
object

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:

results_count
integer

The results_count field indicates the total number of matching websites found by the Plagiarism API.

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.