Content Coverage API – URL Input



Price: 2 credits per request


Use the Content Coverage API to uncover content gaps, improve topical coverage, and optimize your content for both SEO and LLMs (AI search). The algorithm automatically extracts the main content from any given URL.  

Query string parameters

Name Parameter Description
URL &url=

The public URL you want to analyse

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

Key &key= Your private API key

URL analysis

The API automatically extracts the primary content from the URL. After collecting the content the API will perform the Content Coverage Analysis.

Response elements

 

Name Type Description
input_type string Either URL or Content
input_character_count integer Total number of input characters (including spaces)
potential_improvements integer Total number of discovered improvements
total_questions integer The total number of relevant fan-out queries
summary object Object with totals per status type
↴ covered integer Sum fully addressed queries
↴ partially_covered integer Sum partially addressed queries
↴ not_covered integer Sum content gaps
data object Object containing data for each query
↴ number integer Query number
↴ query string Fan-out query
↴ status string Status of the Fan-out query (Covered, Partially covered, Not covered)
↴ feedback string Actionable feedback to address potential content gaps
↴ status string Status of the Fan-out query (Covered, Partially covered, Not covered)
↴ class string Class corresponding with the query fan-out status

Status options

Name Description
data → status Covered
  Partially covered
  Not covered

Class options

Name Description
data → class positive
  couldhave
  negative

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/openai-quietly-lays-groundwork-for-ads-in-chatgpt-468162';

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


// specific API url 
$apiRequestUrl 'https://api.seoreviewtools.com/contentcoverage/?url='.$inputUrl.'&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

import requests

# input URL
input_url = 'https://searchengineland.com/openai-quietly-lays-groundwork-for-ads-in-chatgpt-468162'

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

# specific API URL
api_request_url = f'https://api.seoreviewtools.com/contentcoverage/?url={input_url}&key={api_key}'

# get data from API
response = requests.get(api_request_url)

# check if API call is successful or failed
if response.status_code == 200:
    # convert JSON to Python dictionary
    data = response.json()
    
    # check if API call is successful
    if data['status'] == 'ok':
        # print data
        print(data)
    else:
        # return error message
        print('Error message:', data['error message'])
else:
    # handle request failure
    print('Failed to retrieve data from API.')

JSON response example







Trusted by →

clients