SEO Content Analysis API – Content


Price: 8 - 9 credits per request


Description: Discover how well a piece of (unpublished) content is optimized for search engines and get detailed SEO feedback to improve your content. Designed for content publishers and content creating environments (custom CMS, news sites or e-commerce platforms).

Request parameters

Name Parameter Description
Keyword &keyword=

The keyword or phrase is used by the the algorithm to analyse the provided content and calculates the SEO score using intelligent keyword recognition

example: SEO Tools

Related keywords &relatedkeywords=

Optional: Add related keywords to analyse topic relevance (separated by the | sign). A minimum of 3 related keywords is required

example: content creation|marketing strategy|brand awareness|content marketing strategy|high quality content

Key &key= Your private API key

Response elements

Name Feedback elements Description
SEO score 0 Overall SEO score, Available SEO points, Earned SEO points, Summary including (Errors, Warnings, Optimized)
Title Tag 4 Title tag analysis, including: Title found, Title tag text, Title length, Title tag number, Focus keywords position, Focus keywords found
Meta description 4 Meta description analysis, including: Title found, Meta description text, Meta description length, Meta description number, Focus keywords position, Focus keywords found
Content length 1 Word count, Corrected word count, Anchor text words, Anchor Percentage
Keyword usage 1 Focus keyword frequency and keyword density
Related keywords* 1 optional: topic relevance analysis based on related keywords
Internal and external links 1 Total links, External links, Internal links, Nofollow count, Duplicate links, Missing alt tag
Image analysis 3 Number of images, Image name contains keyword, Image ALT tag contains keyword
Headings 2 H1 count, H1 content, count headings H1 – H6

*optional: depending on the request parameters 

Feedback classes

The element specific feedback classes are designed to help you structure and visually style the output for the end users.

 

Feedback class name Description
positive Element is optimized for search
negative Element is NOT optimized for search
couldhave Element can be further optimized for search

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($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$curlData);
    
$html curl_exec($ch);
    
$curlInfo curl_getinfo($ch);
    return(
$html);
}    

// Content to check
$data 
'<html>
    <head>
        <title>The Ultimate Guide to Content Marketing</title>
        <meta name="description" content="Discover how to create a successful content marketing strategy that will help you reach your audience and increase conversions">
    </head>
    <body>
        <h1>Content Marketing</h1>
        <p>Today, outbound marketing strategies (or anything that interrupts your audience members) aren’t as effective at resonating with and converting audience members as they once were. Content marketing is the process of planning, creating, distributing, sharing, and publishing content via channels such as social media, blogs, websites, podcasts, apps, press releases, print publications, and more. The goal is to reach your target audience and increase brand awareness, sales, engagement, and loyalty. </p>
    </body>
</html>'


$curlData $data;

// Keyword to check
$keywordInput "Content marketing"

// Related keywords (optional)
$relatedKeywords "Content creation|marketing strategy|brand awareness|content marketing strategy|high quality content|target audience|online pr|sharing content|content marketing definition|content marketing examples|content distribution|promoting content"

// API key 
$apiKey "YOUR API KEY"

$toolRequestUrl "https://api.seoreviewtools.com/seo-content-analysis/?internalcurlrequest=1&keyword=".urlencode($keywordInput)."&relatedkeywords=".urlencode($relatedKeywords)."&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 = '''
<html>
    <head>
        <title>The Ultimate Guide to Content Marketing</title>
        <meta name="description" content="Discover how to create a successful content marketing strategy that will help you reach your audience and increase conversions">
    </head>
    <body>
        <h1>Content Marketing</h1>
        <p>Today, outbound marketing strategies (or anything that interrupts your audience members) are not as effective at resonating with and converting audience members as they once were. Content marketing is the process of planning, creating, distributing, sharing, and publishing content via channels such as social media, blogs, websites, podcasts, apps, press releases, print publications, and more. The goal is to reach your target audience and increase brand awareness, sales, engagement, and loyalty. </p>
    </body>
</html>
'''


# keyword
keyword = 'Content marketing'

# related keywords (optional)
relatedKeywords = 'Content creation|marketing strategy|brand awareness|content marketing strategy|high quality content|target audience|online pr|sharing content|content marketing definition|content marketing examples|content distribution|promoting content'

# API key
apiKey = 'YOUR API KEY'
toolRequestUrl = 'https://api.seoreviewtools.com/seo-content-analysis/?internalcurlrequest=1&keyword='+keyword+'&relatedkeywords='+relatedKeywords+'&key='+apiKey

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

JSON response example