🚀 New: TikTok Scraper API — Extract videos, comments & profile data in structured JSON

BUILT FOR SCRAPING GOOGLE

Google SERP API - Get Structured Search Results in Seconds

Effortlessly extract data from Google search results in real time using our Google SERP API, providing organic results, ads, snippets, and more without managing proxies, browsers, or blocks.

GET / search.json
/* --- Organic Results --- */ "organic_results": [ { "title": "Scrapingdog: Best Web Scraping API", "link": "https://www.scrapingdog.com/", "displayed_link": "https://www.scrapingdog.com", "favicon": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAMAAABEpIrGAAAAOVBMVEVHcEwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADLcPMfAAAAE3RSTlMAXq3f9aBLgP86itULt8MqHG7sgYW+YgAAAOpJREFUeAHVkYV1ACEQBT9y3ODSf68xHtFrIIPLuv4dxjrv3RX0zA3gPeCNfhOvlOGKkkqoUNPb/hsBoJVz7A4gSIcBxlz6RpsBug6LqT9M1tleWD1gz3Vk6ZHFdtQRVYw029guNiPJFEXcVtCkSRJsPxtIifm+i5LM3nZZvzUGktS3mNH7dhX9dWPxPvr2dhnqvh73PfauYhb2hAnpyB1dieOTpOjOX8PJmcVFfeFPXlM62ff6jsH9/JAx+kGlaXAnSDdDjaZfZFYf1Y2R64iO/FQbWspSTo3n6gUHhAC4oGf6bdeyd9d/4xXXKQlm05p7owAAAABJRU5ErkJggg==", "source": "Scrapingdog", "snippet": "Scrapingdog is your all-in-one Web Scraping API, effortlessly managing proxies and headless browsers, allowing you to extract the data you need with ease.", "highlighted_keywords": [ "Scrapingdog" ], "extended_sitelinks": [ { "title": "LinkedIn Profile Scraper API", "link": "https://www.scrapingdog.com/linkedin-scraper-api/", "snippet": "Real-time data for name, location, followers, company size ..." }, { "title": "Google SERP API", "link": "https://www.scrapingdog.com/google-search-api/", "snippet": "Our Google Scraping API is designed to be easy to use and ..." }, { "title": "Blog", "link": "https://www.scrapingdog.com/blog/", "snippet": "Scrapingdog Blog. Designed with you in mind, our web scraping ..." }, { "title": "Documentation", "link": "https://docs.scrapingdog.com/", "snippet": "Documentation. You can start scraping any website in literally ..." }, { "title": "About", "link": "https://www.scrapingdog.com/about/", "snippet": "Inspired by this success, I came up with the idea for Scrapingdog ..." } ], "rank": 1 }, ],
/* --- Ads --- */ "ads": [ { "position": 1, "block_position": "top", "title": "Hotels In Barcelona, Spain", "snippet": "Best Price Guarantee — Book your Hotel in Barcelona, Spain. Quick, Easy Booking. No Reservation Costs. Choose from a wide range of properties which Booking.com offers. Search now! No Booking Fees.", "displayed_link": "http://www.booking.com", "link": "https://www.booking.com/city/es/barcelona.html", "tracking_link": "https://www.google.com/aclk?sa=L&ai=DChsSEwj2y-L9iuWPAxWeR0cBHYRFDHIYACICCAEQABoCcXU&co=1&ase=2&gclid=EAIaIQobChMI9svi_YrljwMVnkdHAR2ERQxyEAAYASAAEgKKpvD_BwE&cce=2&category=acrcp_v1_32&sig=AOD64_280USKOzjVQQL_1ekV-7cFxxV_qQ&q&nis=4&adurl", "sitelinks": [ { "title": "Best Hotels In Barcelona", "link": "/aclk?sa=L&ai=DChsSEwj2y-L9iuWPAxWeR0cBHYRFDHIYACICCAEQHRoCcXU&co=1&ase=2&gclid=EAIaIQobChMI9svi_YrljwMVnkdHAR2ERQxyEAAYASAYEgLm7_D_BwE&cce=2&category=acrcp_v1_32&sig=AOD64_2Xabb0EBRh2nAWBSOuksBZInpozQ&adurl=&q=" }, { "title": "Book Near City Centre", "link": "/aclk?sa=L&ai=DChsSEwj2y-L9iuWPAxWeR0cBHYRFDHIYACICCAEQHhoCcXU&co=1&ase=2&gclid=EAIaIQobChMI9svi_YrljwMVnkdHAR2ERQxyEAAYASAZEgIXTvD_BwE&cce=2&category=acrcp_v1_32&sig=AOD64_2ldJ7Gih-hKLIgl5OI3poRqoaYeA&adurl=&q=" }, { "title": "Top Reviewed Hotels", "link": "https://www.booking.com/go.html?slc=r1;aid=336408;label=" }, { "title": "Book for Tonight", "link": "https://www.booking.com/go.html?slc=b1;aid=336408;label=" } ] } ]
/* --- Local Results --- */ "local_results": [ { "position": 1, "title": "Caffe AND", "place_id": "16258732668445657352", "rating": "4.8", "reviews": "269", "address": "4.8(269) · $1–10 · Cafe", "hours": "Fort Lee, NJ", "links": {} } ]
/* --- AI Overview --- */ "ai_overview": { "text_blocks": [ { "type": "paragraph", "snippet": "Scrapingdog is a web scraping API and data extraction tool designed to collect structured data from websites using headless Chrome, proxy rotation, and CAPTCHA solving. It converts HTML from complex, JavaScript-heavy sites into usable JSON, allowing users to scrape Amazon, LinkedIn, and Google SERPs without getting blocked.", "snippet_highlighted_words": [ "a web scraping API and data extraction tool designed to collect structured data from websites using headless Chrome, proxy rotation, and CAPTCHA solving" ] }, { "type": "paragraph", "snippet": "This video provides an introduction to Scrapingdog and its features:58sScrapingdogYouTube• Oct 1, 2024" }, { "type": "video", "link": "https://www.youtube.com/watch?v=GOxYIfnvB-w&t=10" }, { "type": "paragraph", "snippet": "Key Features and Capabilities:", "snippet_highlighted_words": [ "Key Features and Capabilities:" ] }, { "type": "list", "list": [ { "snippet": "Headless Browser Rendering: Renders JavaScript-heavy pages to scrape dynamic content, similar to a real user." } ] }, { "type": "paragraph", "snippet": "You can watch this video to see how to use Scrapingdog's Google Search API:04:50ScrapingdogYouTube• Mar 24, 2025" }, { "type": "video", "video_links": [ { "link": "https://www.youtube.com/watch?v=vFoXkC8lFUg", "channel": "Scrapingdog", "source": "YouTube", "date": " Mar 24, 2025" } ] }, { "type": "paragraph", "snippet": "Usage Examples:" }, { "type": "list", "list": [ { "snippet": "E-commerce Monitoring: Extracting product prices and details from Amazon or Walmart." }, { "snippet": "Lead Generation: Scraping LinkedIn for employee or company profiles." }, { "snippet": "Market Research: Extracting search results from Google SERP API." }, { "snippet": "Data Aggregation: Turning web pages into clean JSON or Markdown for AI training. Scrapingdog" } ] }, { "type": "paragraph", "snippet": "Alternatives/Synonyms:While \"Scrapingdog\" is a specific brand name, it functions as a Web Scraping API, Data Extraction Tool, Proxy API, or Headless Browser Scraper. Common competitors and similar services include ScraperAPI, ScrapingBee, and Bright Data." }, { "type": "paragraph", "snippet": "Important Notes:" }, { "type": "list", "list": [ { "snippet": "Pricing: Operates on a subscription basis, generally costing around $2.7/1000 successful requests." }, { "snippet": "Success Rate: Features built-in CAPTCHA solving to maintain high success rates, although it is designed for developers or users comfortable with APIs." }, { "snippet": "No Relation to Pets: It is purely a software tool, not to be confused with pet care, as seen in unrelated medical search results for \"skin scraping\" on animals. Scrapingdog +3" } ] } ], "references": [ { "title": "Scrapingdog: Scalable Web Scraping API for Data Extraction. Opens in new tab.", "link": "https://www.scrapingdog.com/", "snippet": "Real Browser Rendering. We use headless Chrome, so every JavaScript-heavy or lazy-loaded page opens just like it does in a real br...", "source": "Scrapingdog", "logo": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", "index": 0 }, { "title": "What is Scrapingdog | Introduction Video | How To Use Scrapingdog API. Opens in new tab.", "link": "https://www.youtube.com/watch?v=GOxYIfnvB-w&t=10", "snippet": "so scraping dog has two kinds of scrapers. like first one is a general scraper through which you can scrape any website and in ret...", "source": "YouTube", "logo": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAcElEQVR4AWP4//8/RZh6BgCZAkDsAMUNWDFCXgDFACCV8J/B+D8pGKwHRAKRAUyQDEMMQAYEUGBAAsiABpwKHjz4/9/BAZ8BDXgNgIMNGyg04MABkg1AeCEgAK8XKA5EiqORooSELykXEJuUBz43AgAIA1ZhBoG9vwAAAABJRU5ErkJggg==", "index": 1 }, { "title": "Web Scraping API - Scrapingdog. Opens in new tab.", "link": "https://docs.scrapingdog.com/web-scraping-api#:~:text=With%20a%20simple%20GET%20request%20to%20our,target%20URL%20you%20would%20like%20to%20scrape.", "snippet": "With a simple GET request to our Web Scraping API, you can scrape any webpage. Simply send a GET request to https://api.scrapingdo...", "source": "Scrapingdog", "logo": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==", "index": 2 }, ] },
/* --- Questions --- */ "peopleAlsoAskedFor": [ { "question": "What do you mean by scraping?", "rank": 1, "title": "AI Overview", "text_blocks": [ { "type": "paragraph", "snippet": "\"Scraping\" can refer to physically rubbing a surface to clean, remove something, or produce a harsh sound. It can also refer to the automated process of extracting data from websites to save it into files or spreadsheets. Additionally, it can denote something that is scraped off a surface, such as the small pieces of food left at the bottom of a pan." }, { "type": "paragraph", "snippet": "Here's a breakdown of the different meanings:" }, { "type": "paragraph", "snippet": "Physical Scraping" }, { "type": "paragraph", "snippet": "Cleaning or Smoothing:" }, { "type": "paragraph", "snippet": "Rubbing a surface with something rough to remove dirt, paint, ice, or to smooth it. Example: Scraping ice off a windshield." }, { "type": "paragraph", "snippet": "Producing a Sound:" }, { "type": "paragraph", "snippet": "The act of rubbing against something to make a harsh, grating noise. Example: The sound of chairs scraping on a floor." }, { "type": "paragraph", "snippet": "Injuring:" }, { "type": "paragraph", "snippet": "Scratching or injuring a surface by brushing against something rough. Example: Scraping one's knee." }, { "type": "paragraph", "snippet": "Collect with Difficulty:" }, { "type": "paragraph", "snippet": "Gathering a small amount of something, often with effort. Example: \"Scraping up enough money for college\"." }, { "type": "paragraph", "snippet": "Data Scraping" }, { "type": "paragraph", "snippet": "Scrapings" }, ], "references": [ { "title": "SCRAPE Definition & Meaning - Merriam-Webster", "link": "https://www.merriam-webster.com/dictionary/scrape#:~:text=fingernails%20scraping%20against%20a%20blackboard,Verb", "snippet": "2 days ago — fingernails scraping against a blackboard the sound of chairs scraping on the floor as people stood to leave The boat sc...", "source": "Merriam-Webster" }, { "title": "What Is Data Scraping? Definition & Usage - Okta", "link": "https://www.okta.com/identity-101/data-scraping/#:~:text=Data%20Scraperopens%20in%20a,Try%20these%20four%20strategies:", "snippet": "Apr 8, 2025 — Data Scraperopens in a new tab: This Chrome extension pulls data from any page you're visiting into the form you choose...", "source": "Okta" }, ] }, ]

How It Works Behind the API

</> Get
Python
Java
PHP
Ruby
Node.js
import requests

api_key = "5eaa61a6e562fc52fe763tr516e4653"
url = "https://api.scrapingdog.com/google/"

params = {
    "api_key": api_key,
    "query": "football",
    "results": '10',
    "country": "us",
    "page": '0'
}

response = requests.get(url, params=params)

if response.status_code == 200:
    data = response.json()
    print(data)
else:
    print(f"Request failed with status code: {response.status_code}")
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.io.IOException;

public class Main {
    public static void main(String[] args) {
        try {
            // Set the API key and request parameters
            String apiKey = "5eaa61a6e562fc52fe763tr516e4653";
            String query = "football";
            String results = '10';
            String country = "us";
            String page = '0';

            // Construct the API endpoint URL
            String apiUrl = "https://api.scrapingdog.com/google/?api_key=" + apiKey
                    + "&query=" + query
                    + "&results=" + results
                    + "&country=" + country
                    + "&page=" + page;

            // Create a URL object from the API URL string
            URL url = new URL(apiUrl);

            // Open a connection to the URL
            HttpURLConnection connection = (HttpURLConnection) url.openConnection();

            // Set the request method to GET
            connection.setRequestMethod("GET");

            // Get the response code
            int responseCode = connection.getResponseCode();

            if (responseCode == 200) {
                // Read the response from the connection
                BufferedReader reader = new BufferedReader(new InputStreamReader(connection.getInputStream()));
                String inputLine;
                StringBuilder response = new StringBuilder();

                while ((inputLine = reader.readLine()) != null) {
                    response.append(inputLine);
                }
                reader.close();

                // Process the response data as needed
                System.out.println(response.toString());
            } else {
                System.out.println("HTTP request failed with response code: " + responseCode);
            }

            // Close the connection
            connection.disconnect();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
<?php

// Set the API key and request parameters
$api_key = '5eaa61a6e562fc52fe763tr516e4653';
$query = 'football';
$results = '10';
$country = 'us';
$page = '0';

// Set the API endpoint
$url = 'https://api.scrapingdog.com/google/?api_key=' . $api_key . '&query=' . $query . '&results=' . $results . '&country=' . $country . '&page=' . $page;

// Initialize cURL session
$ch = curl_init($url);

// Set cURL options
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

// Execute the cURL request
$response = curl_exec($ch);

// Check if the request was successful
if ($response === false) {
    echo 'cURL error: ' . curl_error($ch);
} else {
    // Process the response data as needed
    echo $response;
}

// Close the cURL session
curl_close($ch);
require 'net/http'
require 'uri'

# Set the API key and request parameters
api_key = '5eaa61a6e562fc52fe763tr516e4653'
query = 'football'
results = '10'
country = 'us'
page = '0'

# Construct the API endpoint URL
url = URI.parse("https://api.scrapingdog.com/google/?api_key=#{api_key}&query=#{query}&results=#{results}&country=#{country}&page=#{page}")

# Create an HTTP GET request
request = Net::HTTP::Get.new(url)

# Create an HTTP client
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true # Enable SSL (https)

# Send the request and get the response
response = http.request(request)

# Check if the request was successful
if response.is_a?(Net::HTTPSuccess)
  puts response.body # Process the response data as needed
else
  puts "HTTP request failed with code: #{response.code}, message: #{response.message}"
end
const axios = require('axios');

const api_key = '5eaa61a6e562fc52fe763tr516e4653';
const url = 'https://api.scrapingdog.com/google/';

const params = {
  api_key: api_key,
  query: 'football',
  results: '10',
  country: 'us',
  page: '0',
};

axios
  .get(url, { params: params })
  .then(function (response) {
    if (response.status === 200) {
      const data = response.data;
      console.log(data)
    } else {
      console.log('Request failed with status code: ' + response.status);
    }
  })
  .catch(function (error) {
    console.error('Error making the request: ' + error.message);
  });

get structured response

live api response

API RESPONSE

Google SERP API Response (Structured JSON Data)

WHY SCRAPINGDOG

Scrapingdog vs Manual Google SERP Scraping

Without a Google SERP API

Without Scrapingdog, you need to manage proxies, handle CAPTCHA, parse raw HTML, and deal with frequent blocks,

Handling Google Blocks & CAPTCHAs

Requires proxy setup, CAPTCHA handling, and complex parsing, making scraping slow and unreliable.

Parsing Raw HTML from SERPs

Managing proxies, blocks, and raw data manually makes the workflow difficult to maintain.

Managing Proxies at Scale

Manual scraping needs constant fixes, monitoring, and infrastructure to keep running.

Frequent Google SERP Changes

Frequent blocks and unstructured data make manual scraping unreliable.

With Scrapingdog Google SERP API

With Scrapingdog, one API call handles everything proxies, CAPTCHA, parsing, and scaling so you focus on your data.

Real-Time SERP Data in JSON

Get real time SERP data in JSON instantly without managing proxies, blocks, or parsing.

One API Call, Structured JSON Output

Use one API to get structured results with high speed and reliability.

Built for Scale

Handle millions of requests with stable performance and no maintenance.

Easy & Reliable

Built-in proxies, automatic CAPTCHA handling, and structured data make scraping fast, stable, and easy to scale.

CORE FEATURE

Google SERP API Features That Make Scraping Easy

USE CASE

What you can build with a Google Search Scraper API

Competitive Landscape Mapping

Map out the competitive landscape by scraping Google search results to see how competitors rank for the same queries.

Content Gap Analysis

Identify gaps in your content strategy by analyzing frequently searched queries your site does not address.

Ad Performance Tracking

Monitor the performance and visibility of online advertising campaigns by scraping the occurrence and position of ads in search results.

Trend Detection

Detect emerging trends and popular topics by analyzing frequently searched terms and the evolution of search result content.

Rank Tracking

Create a rank tracker to monitor and report on keyword rankings across different search engines, optimizing SEO efforts.

Academic Resource Compilation

Gather resources for academic or industry-specific research by collecting search results for specific queries.

Built for teams of every size and background

QUICK SETUP

Get Started with Our Google Search Scraper API in Minutes

business profile
scraping api icon
increase income
seo analysis

1

2

3

4

Create free account

Sign up in seconds and get free credits to start testing the SERP API without any setup

Get Your API Key

Access your unique API key from the dashboard and use it to scrape the data.

Send Your First Request

Make a simple API call using your query, location, and parameters to fetch real-time search results.

Receive Structured Data

Get clean JSON responses with organic results, ads, maps, and SERP features ready to use in your app.

CHOOSE YOUR PLAN

Transparent & Simple Pricing

Start your scraping journey with 1,000 free credits. Test our service and upgrade to one of the plans below. Cancel anytime.

Testimonials

Trusted by Developers worldwide

Trustpilot Stars
testimonial
star

I’ve been using Scrapingdog for a few days and I’ve found it very user-friendly. Setting up my first data extraction was simple, and the interface makes it easy to understand each step.

Liliane Pereira

US

testimonial
star

Their API success rate is 100% on the tests that I have done. The service seems very reliable.

Jomer Avengoza

New York, USA

testimonial
star

Reliable, and simple to use! It’s also inexpensive and has packaged solution for every needs (Google, LinkedIn). Highly recommend.

John Tyler

FR

testimonial
star

Amazing service. I am using it for Google Maps reviews and it works perfectly. I have also used Live chat and they were very fast and puctual on responses. 100% recommended.

Pippo

It

FAQ

Frequently Asked Questions

A Google SERP API allows you to extract search engine results like organic listings, ads, and featured snippets in structured JSON format without handling scraping complexity.

You can use our Universal Search API to extract data from multiple search engines like Google, Bing, Baidu & Yahoo with a single API call. The output data you get is filtered and structured.

Yes, other then the data from search results, we have dedicated APIs for Google Scholar, Google Images, Google Lens etc. 

You can scrape Google search results by sending a query to a SERP API with parameters like keyword and location. The API returns structured data without requiring manual parsing or dealing with blocks.

Building your own scraper requires handling proxies, CAPTCHAs, JavaScript rendering, and frequent layout changes. A SERP API simplifies this by providing reliable, structured data with minimal setup.

Google does offer an API to extract search results, but there are restrictions to it, such as scraping to daily request limit. Moreover, the API is very expensive. 

Try Scrapingdog for Free!

Get 1000 free credits to spin the API. No credit card required!

© 2020-2026 Scrapingdog. All rights reserved.