SEO Content Analysis API – Content Input – V 3.0


Price: 1 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).

Query string 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

Post fields

Name Description
data

The data post field is used to post the content as a string to the API.

example HTML structure: ‘<html><head><title>…’ (see code example for more details)

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 includes:
Title found
Title tag text
Title length
Title tag number
Focus keywords position
Focus keywords found
Meta description 4 Meta description analysis includes:
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
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 links
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

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 
'<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>'


// 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/?content=1&keyword=".urlencode($keywordInput)."&relatedkeywords=".urlencode($relatedKeywords)."&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 = '''
<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/?content=1&keyword='+keyword+'&relatedkeywords='+relatedKeywords+'&key='+apiKey

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

JSON response example

Supported versions:







Trusted by →

clients