AI Keyword research API



Price: 1 credits per request


Description: use the AI keyword generator API to discover related keyword to enrich and improve your content for search. The API response contains 25 – 50 keyword suggestions.    

Query string parameters

Name Parameter Description
Keyword keyword=

The input keyword or phrase that will be used to collect related keywords.

example: AI content

Language hl=

The language  (full list of the available languages)

example: English

API key key= Your private API key

Response elements

Name Description
keyword Input keyword
related keywords The related keywords (containing 25 – 50 related keywords)

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
$keyword "AI writer"

// Language
$language "English"

// specific API url 
$apiRequestUrl 'https://api.seoreviewtools.com/ai-keyword-generator/?keyword='.urlencode($keyword).'&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); 
}

?> 

JSON response example







Trusted by →

clients