Google SERP API Documentation - VebAPI

Google SERP

Easily fetch real-time Google search results programmatically with our SERP API.

Google SERP

GET
GET /seo/google_serp

Parameters

keyword
Required query
string

targeted keyword

country
Required query
string

targeted country

X-API-KEY
Required header
string

your vebapi api key

Example Request


curl -X GET "https://vebapi.com/api/seo/google_serp?keyword=laravel 8 cpanel hosting&country=us" \
    -H "X-API-KEY: YOUR_API_KEY" \
    -H "Content-Type: application/json"

Response

{
    "status": "success",
    "results": [
        {
            "index": 0,
            "title": "How to Host Laravel project in cPanel easiest way \u2714 - Codeconia",
            "citation": "codeconia.com \u203a host-laravel-8-project-on-cpanel-easiest-way",
            "description": "How to Host Laravel project in cPanel easiest way \u2714",
            "href": "https://codeconia.com/host-laravel-8-project-on-cpanel-easiest-way/",
            "siteLinks": [],
            "rank": 1,
            "hostname": "codeconia.com",
            "is_match": 0,
            "inlink_rank": 6,
            "domain_inlink_rank": 43
        },
        {
            "index": 1,
            "title": "How to Upload Laravel Project on cPanel [easiest way in 2020]",
            "citation": "www.youtube.com \u203a watch",
            "description": "... codeconia.com/jf2y9 Lots of programmers having troubles while uploading laravel applications into a Cpanel shared hosting server. even me in\u00a0...",
            "href": "https://www.youtube.com/watch?v=WN2hHvxMHTI",
            "siteLinks": [],
            "rank": 2,
            "hostname": "www.youtube.com",
            "is_match": 0,
            "inlink_rank": 30,
            "domain_inlink_rank": 100
        },
        {
            "index": 2,
            "title": "host laravel project to cpanel Archives - Codeconia",
            "citation": "codeconia.com \u203a tag \u203a host-laravel-project-to-cpanel",
            "description": "Do you know how to host a Laravel project in Cpanel? Lots of programmers having troubles while uploading laravel applications [\u2026] November 17, 2020.",
            "href": "https://codeconia.com/tag/host-laravel-project-to-cpanel/",
            "siteLinks": [],
            "rank": 3,
            "hostname": "codeconia.com",
            "is_match": 0,
            "inlink_rank": 6,
            "domain_inlink_rank": 43
        }
    ]
}

🔍 Google SERP API – VebAPI

Fetch real-time Google search results programmatically for any keyword and location using our powerful SERP API.


📝 Description

The Google SERP API provides structured access to live Google search results, allowing you to fetch ranking data, titles, URLs, snippets, and ranking metadata. This is ideal for SEO tools, rank trackers, competitive research platforms, and keyword monitoring dashboards.


🎯 Key Benefits

  • ⚡ Get real-time SERP data directly from Google

  • 🧠 Analyze ranking position, domain authority, and link structure

  • 🌎 Localized search via country targeting

  • 🧰 Useful for SEO audits, rank tracking, and SERP analysis tools

  • 🔄 Supports frequent querying and automation via secure API access


🌐 Base URL


 

https://vebapi.com/api/seo/google_serp


📥 Input Parameters

Parameter Type Required Description
keyword string ✅ Yes The search keyword to query (e.g., laravel 8 cpanel hosting)
country string ✅ Yes 2-letter ISO country code to localize results (e.g., us)

Headers Required:

  • X-API-KEY: YOUR_API_KEY

  • Content-Type: application/json


📤 Output Response

Returns a JSON object with structured search result entries.

Top-Level Fields

Field Type Description
status string API call status (success or error)
results array List of organic search results

results Array (Each Result Object)

Field Type Description
index int Position in the response array
rank int Actual ranking position on Google SERP
title string Title of the result page
citation string Short citation (domain path shown in SERP)
description string Meta description/snippet from Google
href string Final URL of the result
hostname string Domain name of the result (e.g., codeconia.com)
siteLinks array Any site links shown (usually empty if none)
is_match int Whether the domain matches your query domain (1 = yes, 0 = no)
inlink_rank int Page-level inlink authority score
domain_inlink_rank int Domain-level authority score (0–100)