Perfrom Copyscape check on a given text. A min 15 words in the input string is required.
CURL
curl -H 'content-type: application/json'
-H 'Accept: application/json'
-H 'api-key: your-key'
-X POST https://www.learnitive.com/api/v1/copyscape
--data '{"input": "BMW is a German multinational manufacturer of luxury vehicles and motorcycles ..."}'
Example output.
{
"success": true,
"status": "success",
"message": [{
"count": 22,
"text": "http:\/\/view2.copyscape.com\/search\/l87tl0alon",
}]
}
You may use stripslashes() function in PHP to strip out the slashes from the URL. Example:
Parameter
- input: string. The text post.
- output:
- count: number. total copies detected.
- text: A temporary page genererated by Copyscape with all url results (allviewurl), the page is valid for a few weeks, after which it gets expired.