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.

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 keywords. 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$data){
    
$ch curl_init();
    
curl_setopt($chCURLOPT_URL$toolRequestUrl);
    
curl_setopt($chCURLOPT_HEADER0);
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
curl_setopt($chCURLOPT_POST1);
    
curl_setopt($chCURLOPT_SSL_VERIFYPEERfalse); 
    
curl_setopt($chCURLOPT_SSL_VERIFYHOST,false); 
    
curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    
curl_setopt($ch,CURLOPT_POSTFIELDS$data);
    
$html curl_exec($ch);
    
$curlInfo curl_getinfo($ch);
    return(
$html);
}    

// 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://searchengineland.com';

$toolRequestUrl "https://api.seoreviewtools.com/duplicate-content/?content=1&url=".$inputUrl."&querylimit=".$queryLimit."&key=".$apiKey;

$seoDataJson curlFunction($toolRequestUrl$data);

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://searchengineland.com'

toolRequestUrl = 'https://api.seoreviewtools.com/duplicate-content/?content=1&url='+inputUrl+'&querylimit='+queryLimit+'&key='+apiKey

r = requests.post(url = toolRequestUrl, data = data)
print(r.text)

JSON response example