Plagiarism API – URL input



Price: 2 credits per request


Description: Detect and solve duplicate content and plagiarism issues for any URL on the web.

Query string parameters

Name Parameter Description
URL &url=

The public URL you want to analyse

example: https://example.com/url/

Query limit &querylimit=

optional: Limit the number of keyword phrases being checked for duplicate content. 1 keyword phrase contains approximately 15 keywords. The querylimit parameter is set to 50 by default.

API key &key= Your private API key

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
*/

// input URL
$inputUrl 'https://searchengineland.com';

// API key 
$apiKey 'YOUR-API-KEY';

// Set query limit (optional)
$queryLimit 50;

// specific API url 
$apiRequestUrl 'https://api.seoreviewtools.com/duplicate-content/?url='.$inputUrl.'&querylimit='.$queryLimit.'&key='.$apiKey;

// get data from API
$jsonReposnse file_get_contents($apiRequestUrl);

// convert JSON to PHP array
$dataArray json_decode($jsonReposnsetrue);

// check if API call is success or failed
// (just some basic validation)

// API call fail
if ($dataArray['status'] !== 'ok'){

    
// return error message
    
echo 'Error message: '.$dataArray['error message'];

// API call success    
} else {

    
// print data
    
print_r($dataArray); 
}

?>

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

# API key
apiKey = 'YOUR-API-KEY'


# set query limit (optional)
queryLimit = 50

# input URL
inputUrl = 'https://searchengineland.com'

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

r = requests.request("GET", toolRequestUrl,)
print(r.text)

JSON response example