Plagiarism API – Content input
Price: 2* credits per request
Description: Detect and solve duplicate content and plagiarism issues by submitting content to the API directly.
*Content fragment ≈ 15 words.
Query string parameters
Name | Parameter | Description |
---|---|---|
URL | &url= |
Optional: add an URL / domain so the API is able to label the content as an internal or external duplicate. example: https://example.com/ |
Query limit | &querylimit= |
Optional: Limit the number of keyword phrases being checked for duplicate content. A single phrase contains approximately 15 words. The querylimit parameter is set to 50 by default. |
API key | &key= | Your private API key |
Post fields
Name | Description |
---|---|
data |
The data post field is used to post the content as a string to the API. example: ‘Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus ac tortor nec justo ornare molestie….’ |
Response elements
Name | Description |
---|---|
text_query | Text section that is used by the algorithm to detect duplicates |
query_status | “success” or this field will explain the possible error that was encountered |
text_unique | True or False (string) |
duplicates | The list of duplicate results |
title | The title of the specific duplicate result |
url | The URL of the specific duplicate result |
description | The description of the specific duplicate result |
explanation | Options: Internal duplicate, External duplicate or input URL |
More information: discover more about this API
PHP code example
<?php
/*
API documentation for SEO Review Tools.
API info: https://www.seoreviewtools.com/seo-api/
API documentation: https://api.seoreviewtools.com/documentation/
LinkedIn: https://www.linkedin.com/company/seo-review-tools
*/
function curlFunction ($toolRequestUrl, $curlData){
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $toolRequestUrl);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST,false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch,CURLOPT_POSTFIELDS, $curlData);
$html = curl_exec($ch);
$curlInfo = curl_getinfo($ch);
return($html);
}
$data = "
According to Google, “Content and Links going into your site, are the two most important ranking factors followed by RankBrain” – Andrey Lipattsev, (Search Quality Senior Strategist).
";
$curlData = stripcslashes($data);
// Enter API key
$apiKey = 'YOUR API KEY';
// Set query limit (optional)
$queryLimit = 50;
// input URL (optional)
$inputUrl = 'https://www.seoreviewtools.com/valuable-backlinks-checker/';
$toolRequestUrl = "https://api.seoreviewtools.com/plagiarism/?content=1&url=".$inputUrl."&querylimit=".$queryLimit."&key=".$apiKey;
$seoDataJson = curlFunction($toolRequestUrl, $curlData);
header('Content-type: application/json');
echo($seoDataJson);
?>
Python code example
# API documentation for SEO Review Tools.
# API info: https://www.seoreviewtools.com/seo-api/
# API documentation: https://api.seoreviewtools.com/documentation/
# LinkedIn: https://www.linkedin.com/company/seo-review-tools
import requests
# Content to check
data = 'According to Google, Content and Links going into your site, are the two most important ranking factors followed by RankBrain Andrey Lipattsev, (Search Quality Senior Strategist).'
# API key
apiKey = 'YOUR API KEY'
# set query limit (optional)
queryLimit = '50'
# input URL (optional)
inputUrl = 'https://www.seoreviewtools.com/valuable-backlinks-checker/'
toolRequestUrl = 'https://api.seoreviewtools.com/plagiarism/?content=1&url='+inputUrl+'&querylimit='+queryLimit+'&key='+apiKey
r = requests.post(url = toolRequestUrl, data = data)
print(r.text)