Keyword Suggestions API – V1.0



Price: 8 credits per request


Description: Discover new keywords and keyword phrases that include the input keyword or a directly related keyword.

Query string parameters

Name Parameter Description
Keyword &keyword=

The keyword or phrase is used by the the algorithm to discover keyword suggestions

example: seo tools

Language &hl=

The language that is used as input for the algorithm to select relevant keyword ideas (full list of the available languages)

example: English

Location &location=

The geographical location that is used as input for the algorithm to select relevant keyword ideas

example: United States

API key &key= Your private API key

Response elements

Name Description
keyword Suggested keyword
competition The competition score is a numeric value from 0 – 1 bases on Google Ads data
cpc The CPC represents the average Cost Per Click price bases on Google Ads data
search_volume The average monthly search volume for the keyword idea based on the data from previous month

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

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

// Keyword
$keywordInput "SEO Tool"

// Location
$location "United States"

// Language
$language "English"

// specific API url 
$apiRequestUrl 'https://api.seoreviewtools.com/keyword-suggestions/?keyword='.urlencode($keyword).'&location='.$location.'&hl='.$language.'&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'

# Keyword
keyword = "SEO Tool"

# Location
location = "United States"

# Language
language = "English"

# API request url
apiRequestUrl = 'https://api.seoreviewtools.com/keyword-suggestions/?keyword='+keyword+'&location='+location+'&hl='+language+'&key='+apiKey;

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

JSON response example

Supported versions:







Trusted by →

clients