Google Search Results API

Scrapes Google Search engine result pages (SERPs) and extracts results in JSON format.

Highlights:
Get search results and metadata
Provides search metadata
Supports multiple search formats
Offers APIs for developers
Scalable and fast search retrieval

More Details

About this Item

About this Cloud Hub Solution:

What is Google Search Results API?

The Google Search Results API is a web scraping tool that extracts data from Google Search engine result pages (SERPs), including organic and paid results, ads, related links, and more. It provides a customizable experience, allowing users to select specific countries, languages, and more.

When performing a request, the API extracts the following data:

  • Organic results
  • Ads
  • Related queries
  • Shopping results

Please note that this API does not scrape special types of search results, such as Google Images and Google News.

What is Input Parameters?

To make a geolocation-aware search, users can specify either the "uule" region parameter or the country parameter. If the country parameter is set, the scraper will use a random residential IP address from the country to make the actual call. The API supports over 170 countries.

Alternatively, users can set the uule parameter to specify the location.

Specifying the browser language

Users can perform a search in a specific language by setting the "lang" parameter, which should be a 2-character language code.

Specifying the Google Domain

Users can perform a search on any Google domain by passing the domain parameter with an actual value, such as google.co.uk or google.ee. This parameter is best used in combination with the country and lang parameters to mimic actual user behavior.

Scraping Shopping Results

To fetch Google Shopping results, users can set the "shopping" parameter to true.

Emulating the mobile browser

Users can set the mobile parameter to "true" to fetch results as if they were using a mobile browser.

Fetching similar results

If users set the "show_similar" parameter to true, the API will also scrape similar results from the search results.

Safe Results

To ensure child safety, users can set the "safe_search" parameter to true to scrape child-safe results.

Pagination

Users can set the "start" parameter to any integer to scrape results starting from that value, allowing for easy pagination.

What is use cases for Google Search API?

The Google Search Results API has various use cases, including:

  • Search engine optimization (SEO) to gain insights into website performance on Google Search results and ranking
  • Tracking competitors' organic and paid results
  • Analyzing ads for specific keywords and trends
  • Scraping and collecting reviews for market research and trends
  • Monitoring brand mentions and sentiment analysis

Overall, the Google Search Results API provides valuable insights into search results and can be used in various applications, from SEO to market research.

How to try Google Search API?

Just subscribe to this API for free and start experimenting.

There is a free tier available and no credit cards are needed to try Sample code Running a simple query is as simple as below.

The only required parameter is "q", the rest is optional.

Example Request:

curl --location --request GET 'https://api.apilayer.com/google_search?q=greenland' \
  --header 'apikey: YOUR API KEY'

Example Responce:

{
  "general": {
    "language": "en",
    "location": "United States",
    "mobile": false,
    "basic_view": false,
    "search_type": "text"
  },
  "organic": [
    {
      "rank": 1,
      "link": "#",
      "display_link": "en.wikipedia.org › wiki › Greenland",
      "title": "Greenland - Wikipedia",
      "description": "Greenland is the world's largest island, located between the Arctic and Atlantic oceans, east of the Canadian Arctic Archipelago. It is an autonomous territory ..."
    },
    {
      "rank": 2,
      "link": "#",
      "display_link": "visitgreenland.com",
      "title": "Greenland - The Official Tourism Site. Find your adventure ...",
      "description": "All about Greenland. Find travel offers and ideas for your next adventure. Get inspired and plan your trip to Greenland here."
    },
    {
      "rank": 3,
      "link": "#",
      "display_link": "www.britannica.com › ... › Islands & Archipelagos",
      "title": "Greenland | History, Geography, & Culture | Britannica",
      "description": "Greenland, the world's largest island, lying in the North Atlantic Ocean. Greenland is noted for its vast tundra and immense glaciers. Map of Greenland highlighting ..."
    },
    {
      "rank": 4,
      "link": "#",
      "display_link": "www.imdb.com › title",
      "title": "Greenland (2020) - IMDb",
      "description": "Directed by Ric Roman Waugh. With Gerard Butler, Morena Baccarin, Roger Dale Floyd, Scott Glenn. A family struggles for survival in the face of a cataclysmic ...",
      "extensions": [
        { "text": "Rating: 6.5/10", "rating": true },
        { "text": "2,062 votes" }
      ]
    },
    {
      "rank": 5,
      "link": "#",
      "display_link": "nsidc.org › greenland-today",
      "title": "Greenland Ice Sheet Today | Surface Melt Data presented by ...",
      "description": "Melting through the peak of Greenland's summer melt season has been well above the 1981 to 2010 average, but below the levels of many ...",
      "extensions": [
        { "text": "Aug 12, 2020", "inline": true }
      ]
    },
    {
      "rank": 6,
      "link": "#",
      "display_link": "www.bbc.com › news › world-europe-18249474",
      "title": "Greenland profile - BBC News - BBC.com",
      "description": "Greenland is the world's largest island and an autonomous Danish dependent territory with limited self-government and its own parliament.",
      "extensions": [
        { "text": "Jul 23, 2018", "inline": true }
      ]
    },
    {
      "rank": 7,
      "link": "#",
      "display_link": "www.bbc.com › news › science-environment-54127279",
      "title": "Climate change: Warmth shatters section of Greenland ice ...",
      "description": "A big chunk of ice has broken away from the Arctic's largest remaining ice shelf - 79N, or Nioghalvfjerdsfjorden - in north-east Greenland.",
      "extensions": [
        { "text": "Sep 14, 2020", "inline": true }
      ]
    },
    {
      "rank": 8,
      "link": "#",
      "display_link": "www.cia.gov › library › publications › the-world-factbook › geos",
      "title": "North America :: Greenland — The World Factbook - Central ...",
      "description": "View Greenland Photo Gallery. ONE-PAGE SUMMARY. View 25 photos of. GREENLAND. TRAVEL FACTS. The World Factbook Country/Location Photo Gallery ..."
    }
  ],
  "knowledge": {
    "name": "Greenland",
    "description": "Greenland is the world's largest island, located between the Arctic and Atlantic oceans, east of the Canadian Arctic Archipelago. It is an autonomous territory within the Kingdom of Denmark.",
    "description_source": "Wikipedia",
    "description_link": "#"
  },
  "related": [
    {
      "link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+population&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoAHoECCcQAQ",
      "text": "greenland population"
    },
    {
      "link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+people&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoAXoECCcQAg",
      "text": "greenland people"
    },
    {
      "link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+map&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoAnoECCcQAw",
      "text": "greenland map"
    },
    {
      "link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+country&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoA3oECCcQBA",
      "text": "greenland country"
    },
    {
      "link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+trailer&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoBHoECCcQBQ",
      "text": "greenland trailer"
    },
    {
      "link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+capital&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoBXoECCcQBg",
      "text": "greenland capital"
    },
    {
      "link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=nuuk,+greenland&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoBnoECCcQBw",
      "text": "nuuk, greenland"
    },
    {
      "link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+tourism&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoB3oECCcQCA",
      "text": "greenland tourism"
    }
  ],
  "people_also_ask": [
    {
      "question": "Is Greenland a safe country?",
      "question_link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=Is+Greenland+a+safe+country%3F&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQzmd6BAgaEAw",
      "answer_source": "Is Greenland Safe? 8 Things I Wish I Knew Before I Went",
      "answer_link": "#",
      "answer_display_link": "www.worldnomads.com \› how-to-stay-safe-while-exploring-greenlandwww.worldnomads.com \› how-to-stay-safe-while-exploring-greenland",
      "answer_html": "Greenland is not a place you have to worry aboutcrime. According to the statistical website, Numbeo, Greenland rates as low forcrimeand high for safety.Oct 24, 2019"
    },
    {
      "question": "Can people go to Greenland?",
      "question_link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=Can+people+go+to+Greenland%3F&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQzmd6BAgaEBc",
      "answer_source": "How to Visit Greenland and What To Do While You're on the Island",
      "answer_link": "#",
      "answer_display_link": "www.eaglecreek.com \› trending-2018-how-and-why-visit-greenlandwww.eaglecreek.com \› trending-2018-how-and-why-visit-greenland",
      "answer_html": "No flightsgodirectly toGreenlandfrom North America, so the simplest option for tourists from this side of the globe involves going through Reykjavik, Iceland. From there, youcan flyto several cities on the island, including Nuuk\—Greenland'scapital and largest city with around 15,000 residents.Dec 11, 2017"
    },
    {
      "question": "What country owns Greenland?",
      "question_link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=What+country+owns+Greenland%3F&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQzmd6BAgaECM",
      "answer_source": "Greenland profile - BBC News",
      "answer_link": "#",
      "answer_display_link": "www.bbc.com \› news \› world-europe-18249474www.bbc.com \› news \› world-europe-18249474",
      "answer_html": "DenmarkGreenland is the world's largest island and an autonomous Danish dependent territory with limited self-government and its own parliament.Denmarkcontributes two thirds of Greenland's budget revenue, the rest coming mainly from fishing.Jul 23, 2018"
    },
    {
      "question": "What is Greenland best known for?",
      "question_link": "https://www.google.com/search?hl=en&adtest=on≷=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=What+is+Greenland+best+known+for%3F&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQzmd6BAgaEC0",
      "answer_source": "Greenland | History, Geography, & Culture | Britannica",
      "answer_link": "#",
      "answer_display_link": "www.britannica.com \› place \› Greenlandwww.britannica.com \› place \› Greenland",
      "answer_html": "Greenland, the world's largest island, lying in the North Atlantic Ocean.Greenlandis noted for its vast tundra and immense glaciers."
    }
  ]
}
Code Snippet
{  
 "general": {  
   "basic_view": false,  
   "language": "en",  
   "location": "United States",  
   "mobile": false,  
   "search_type": "text"  
 },  
 "knowledge": {  
   "description": "Greenland is the world's largest island, located between the Arctic and Atlantic oceans, east of the Canadian Arctic Archipelago. It is an autonomous territory within the Kingdom of Denmark.",  
   "description_link": "#",  
   "description_source": "Wikipedia",  
   "name": "Greenland"  
 },  
 "organic": [  
   {  
     "description": "Greenland is the world's largest island, located between the Arctic and Atlantic oceans, east of the Canadian Arctic Archipelago. It is an autonomous territory ...",  
     "display_link": "en.wikipedia.org \u203a wiki \u203a Greenland",  
     "link": "#",  
     "rank": 1,  
     "title": "Greenland - Wikipedia"  
   },  
   {  
     "description": "All about Greenland. Find travel offers and ideas for your next adventure. Get inspired and plan your trip to Greenland here.",  
     "display_link": "visitgreenland.com",  
     "link": "#",  
     "rank": 2,  
     "title": "Greenland - The Official Tourism Site. Find your adventure ..."  
   },  
   {  
     "description": "Greenland, the world's largest island, lying in the North Atlantic Ocean. Greenland is noted for its vast tundra and immense glaciers. Map of Greenland highlighting ...",  
     "display_link": "www.britannica.com \u203a ... \u203a Islands & Archipelagos",  
     "link": "#",  
     "rank": 3,  
     "title": "Greenland | History, Geography, & Culture | Britannica"  
   },  
   {  
     "description": "Directed by Ric Roman Waugh. With Gerard Butler, Morena Baccarin, Roger Dale Floyd, Scott Glenn. A family struggles for survival in the face of a cataclysmic ...",  
     "display_link": "www.imdb.com \u203a title",  
     "extensions": [  
       {  
         "rating": true,  
         "text": "Rating: 6.5/10"  
       },  
       {  
         "text": "2,062 votes"  
       }  
     ],  
     "link": "#",  
     "rank": 4,  
     "title": "Greenland (2020) - IMDb"  
   },  
   {  
     "description": "Melting through the peak of Greenland's summer melt season has been well above the 1981 to 2010 average, but below the levels of many ...",  
     "display_link": "nsidc.org \u203a greenland-today",  
     "extensions": [  
       {  
         "inline": true,  
         "text": "Aug 12, 2020"  
       }  
     ],  
     "link": "#",  
     "rank": 5,  
     "title": "Greenland Ice Sheet Today | Surface Melt Data presented by ..."  
   },  
   {  
     "description": "Greenland is the world's largest island and an autonomous Danish dependent territory with limited self-government and its own parliament.",  
     "display_link": "www.bbc.com \u203a news \u203a world-europe-18249474",  
     "extensions": [  
       {  
         "inline": true,  
         "text": "Jul 23, 2018"  
       }  
     ],  
     "link": "#",  
     "rank": 6,  
     "title": "Greenland profile - BBC News - BBC.com"  
   },  
   {  
     "description": "A big chunk of ice has broken away from the Arctic's largest remaining ice shelf - 79N, or Nioghalvfjerdsfjorden - in north-east Greenland.",  
     "display_link": "www.bbc.com \u203a news \u203a science-environment-54127279",  
     "extensions": [  
       {  
         "inline": true,  
         "text": "Sep 14, 2020"  
       }  
     ],  
     "link": "#",  
     "rank": 7,  
     "title": "Climate change: Warmth shatters section of Greenland ice ..."  
   },  
   {  
     "description": "View Greenland Photo Gallery. ONE-PAGE SUMMARY. View 25 photos of. GREENLAND. TRAVEL FACTS. The World Factbook Country/Location Photo Gallery ...",  
     "display_link": "www.cia.gov \u203a library \u203a publications \u203a the-world-factbook \u203a geos",  
     "link": "#",  
     "rank": 8,  
     "title": "North America :: Greenland \u2014 The World Factbook - Central ..."  
   }  
 ],  
 "people_also_ask": [  
   {  
     "answer_display_link": "www.worldnomads.com \u203a how-to-stay-safe-while-exploring-greenlandwww.worldnomads.com \u203a how-to-stay-safe-while-exploring-greenland",  
     "answer_html": "Greenland is not a place you have to worry about crime. According to the statistical website, Numbeo, Greenland rates as low for crime and high for safety.Oct 24, 2019",  
     "answer_link": "#",  
     "answer_source": "Is Greenland Safe? 8 Things I Wish I Knew Before I Went",  
     "question": "Is Greenland a safe country?",  
     "question_link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=Is+Greenland+a+safe+country%3F&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQzmd6BAgaEAw"  
   },  
   {  
     "answer_display_link": "www.eaglecreek.com \u203a trending-2018-how-and-why-visit-greenlandwww.eaglecreek.com \u203a trending-2018-how-and-why-visit-greenland",  
     "answer_html": "No flights go directly to Greenland from North America, so the simplest option for tourists from this side of the globe involves going through Reykjavik, Iceland. From there, you can fly to several cities on the island, including Nuuk\u2014Greenland's capital and largest city with around 15,000 residents.Dec 11, 2017",  
     "answer_link": "#",  
     "answer_source": "How to Visit Greenland and What To Do While You're on the Island",  
     "question": "Can people go to Greenland?",  
     "question_link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=Can+people+go+to+Greenland%3F&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQzmd6BAgaEBc"  
   },  
   {  
     "answer_display_link": "www.bbc.com \u203a news \u203a world-europe-18249474www.bbc.com \u203a news \u203a world-europe-18249474",  
     "answer_html": "DenmarkGreenland is the world's largest island and an autonomous Danish dependent territory with limited self-government and its own parliament. Denmark contributes two thirds of Greenland's budget revenue, the rest coming mainly from fishing.Jul 23, 2018",  
     "answer_link": "#",  
     "answer_source": "Greenland profile - BBC News",  
     "question": "What country owns Greenland?",  
     "question_link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=What+country+owns+Greenland%3F&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQzmd6BAgaECM"  
   },  
   {  
     "answer_display_link": "www.britannica.com \u203a place \u203a Greenlandwww.britannica.com \u203a place \u203a Greenland",  
     "answer_html": "Greenland, the world's largest island, lying in the North Atlantic Ocean. Greenland is noted for its vast tundra and immense glaciers.",  
     "answer_link": "#",  
     "answer_source": "Greenland | History, Geography, & Culture | Britannica",  
     "question": "What is Greenland best known for?",  
     "question_link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=What+is+Greenland+best+known+for%3F&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQzmd6BAgaEC0"  
   }  
 ],  
 "related": [  
   {  
     "link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+population&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoAHoECCcQAQ",  
     "text": "greenland population"  
   },  
   {  
     "link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+people&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoAXoECCcQAg",  
     "text": "greenland people"  
   },  
   {  
     "link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+map&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoAnoECCcQAw",  
     "text": "greenland map"  
   },  
   {  
     "link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+country&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoA3oECCcQBA",  
     "text": "greenland country"  
   },  
   {  
     "link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+trailer&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoBHoECCcQBQ",  
     "text": "greenland trailer"  
   },  
   {  
     "link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+capital&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoBXoECCcQBg",  
     "text": "greenland capital"  
   },  
   {  
     "link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=nuuk,+greenland&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoBnoECCcQBw",  
     "text": "nuuk, greenland"  
   },  
   {  
     "link": "https://www.google.com/search?hl=en&adtest=on&gl=us&uule=w+CAIQICINVW5pdGVkIFN0YXRlcw&q=greenland+tourism&sa=X&ved=2ahUKEwiI3Mrb6_rrAhUQPK0KHZEQCXMQ1QIoB3oECCcQCA",  
     "text": "greenland tourism"  
   }  
 ]  
}
App Type and Industry Use Cases

Take a look at the diverse range of application types and industries that can leverage this solution. Understanding these potential uses can help identify how this can integrate into different business models and digital solutions across various sectors.

Tech Stack Compatibility

We've outlined the compatible tech stacks for this solution, encompassing various development areas like frontend, backend, and database, alongside specific stack environments. This provides you with the crucial information needed for seamless integration into your preferred frameworks and programming environments.

Google Search Results API
$
19.99
Purchase NowView Pricing
30-Day Money-Back Guarantee

Explore Scrums.com Products

Scrums.com Dedicated

Build a custom team that works exclusively on your project, fully integrated into your processes. You control the team composition, while we handle the logistics and infrastructure.

Scrums.com Product Development as a Service

Turnkey agile teams delivering production-ready features. Ideal for building new products with no tech stack preference. Cost-efficient, scalable, and results-driven.

Scrums.com On-Demand

Solve tech challenges fast with services like prototyping or code audits. Flexible, low-risk, and tailored to deliver results in weeks not months.

Scrums.com Augmented

Scale quickly with pre-vetted talent integrated into your team. Perfect for filling roles or building offshore development centers efficiently.

Scrums.com Developer Analytics

Track DevOps performance with real-time insights. Boost deployment speed, reduce downtime, and improve efficiency through actionable data and metrics.

Scrums.com Managed Services

Optimize platform performance with SLA-based support for Platform Maintenance, QA, cloud management, and more. Reliable, scalable, and designed to streamline your operations.