SERP / Rank checker API



Price: 5 credits per request


Description: Automatically extract the first 100 Google search results with the real-time SERP API. Track the rankings for your website and your competitors.

Query string parameters

Name Parameter Description
Keyword &keyword=

Extract the Google search results for your keyword in real-time. (Supporting 9 different SERP features)

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
type The search result type: organic
domain The domain corresponding with the URL displayed in search.
title The title of the specific search result
description The description of the specific search result
url The URL of the specific search result
breadcrumb The breadcrumb of the specific search result

SERP features

Name
AI Overview
Organic
Paid
Answer Box
Featured Snippet
Google Flights
Google Reviews
Images
Jobs
Knowledge Graph
Local Pack
Hotels Pack
Map
People Also Ask
Related Searches
People Also Search
Shopping
Top Stories
Video
Events
Recipes
Popular Products
Questions and Answers
Local Services
Google Hotels
AI Overview

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/serp/?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($jsonReposnse, true);

// 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/serp/?keyword='+keyword+'&location='+location+'&hl='+language+'&key='+apiKey;

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

JSON response example







Trusted by →

clients