Google SERP

FREE
By nexivo
Updated 3 months ago
Search
8.5/10
Popularity Score
2428ms
Latency
96%
Success Rate

Google SERP API Documentation

This api provides Google Search engine rankings

View API Details
POSTmain-endpoint
POSTmain-endpoint

This endpoint invokes the random function and gets the data

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
x-api-keySTRING
REQUIRED
Required Parameters
resultJSON_STRING
REQUIREDthe request
Code Snippet
unirest.post("https://google-serp1.p.rapidapi.com/")
.header("X-RapidAPI-Host", "google-serp1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("x-api-key", "8N4xBgTInV4GSbsczNkwW4aA6bulhhkc31xykqDI")
.header("Content-Type", "application/json")
.send({"keyword":["cloud"],"lang":"co.in","tld":"co.in","domain":["nexivo.co","oracle.com","google.com","amazon.com","wikipedia.org","ibm.com"],"results":100})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://google-serp1.p.rapidapi.com/
Request Method: POST
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://google-serp1.p.rapidapi.com/")
.header("X-RapidAPI-Host", "google-serp1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("x-api-key", "8N4xBgTInV4GSbsczNkwW4aA6bulhhkc31xykqDI")
.header("Content-Type", "application/json")
.send({"keyword":["cloud"],"lang":"co.in","tld":"co.in","domain":["nexivo.co","oracle.com","google.com","amazon.com","wikipedia.org","ibm.com"],"results":100})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication