API-store: Google

Extract information for online searches

Usage

Search

endpoint: /api/v1/store/google

parameters:

  • api_key: Your API key Required
  • search: The text you would put in the Google search bar. You can use anything that you would use in a regular Google search. (e.g., inurl:, site:, intitle:, etc.) Required
  • page_count: The number of results page you want to scrape Default: 1, Accepted value: integer between 1 and 7.
  • country_code: ISO 3166 country code, here are the currently supported country codes, do not hesitate to contact sale if you don't see the one you need.
country_code Country Name
br Brazil
ca Canada
fr France
de Germany
gr Greece
il Israel
it Italy
mx Mexico
nl Netherlands
ru Russia
es Spain
se Sweden
us UnitedStates
gb UnitedKingdom

price:

Each call to the API cost 150 api credits per page_count.

It means that by default each call to Goole API costs 150 credits.

return value:

curl https://app.scrapingbee.com/api/v1/store/google?api_key=<API_KEY>&page_count=2&search=restaurant&country_code=us

[ 
   { 
      "meta_data":{ 
         "url":"https://www.google.com/search?q=restaurant",
         "number_of_results":7930000000075,
         "location":"Caloosahatchee, Cape Coral, FL",
         "number_of_organic_results":14,
         "number_of_ads":0,
         "number_of_page":10,
         "next_page_url":"https://www.google.com/search?q=restaurant&ei=ZhV5XeqbKIWW5wKphK3QDg&start=10&sa=N&ved=0ahUKEwjq5ra2jcnkAhUFy1kKHSlCC-oQ8NMDCLsC",
         "current_page":1
      },
      "organic_results":[ 
         { 
            "url":"https://www.tripadvisor.com/Restaurants-g34118-Cape_Coral_Florida.html",
            "displayed_url":"https://www.tripadvisor.com \u203a ... \u203a Southwest Gulf Coast \u203a Cape Coral",
            "description":"Best Dining in Cape Coral, Southwest Gulf Coast: See 52949 TripAdvisor traveler reviews of 508 Cape Coral restaurants and search by cuisine, price, location,\u00a0...",
            "title":"THE 10 BEST Restaurants in Cape Coral - Updated ..."
         },
         ...
         { 
            "url":"https://www.opentable.com/fl/cape-coral-restaurants",
            "displayed_url":"https://www.opentable.com \u203a Home \u203a Southwest Florida \u203a Ft. Myers",
            "description":"Find Cape Coral restaurants in the Ft. Myers area and other cities such as Fort Myers, Fort Myers Beach, Sanibel, and more. Make restaurant reservations and\u00a0...",
            "title":"Best Restaurants in Cape Coral | OpenTable"
         }
      ],
      "local_results":[ 
         { 
            "title":"Ichiyummy Sushi & Hibachi",
            "review":4.2,
            "review_count":599
         },
         { 
            "title":"Mexico Lindo Restaurant",
            "review":4.3,
            "review_count":813
         },
         { 
            "title":"Siam Hut",
            "review":4.6,
            "review_count":275
         }
      ],
      "top_ads":[ 

      ],
      "bottom_ads":[ 

      ]
   },
   { 
      "meta_data":{ 
         "url":"https://www.google.com/search?q=restaurant&ei=ZhV5XeqbKIWW5wKphK3QDg&start=10&sa=N&ved=0ahUKEwjq5ra2jcnkAhUFy1kKHSlCC-oQ8NMDCLsC",
         "number_of_results":27930000000064,
         "location":"Caloosahatchee, Cape Coral, FL",
         "number_of_organic_results":10,
         "number_of_ads":2,
         "number_of_page":10,
         "next_page_url":"https://www.google.com/search?q=restaurant&ei=aBV5XfSHIeWH5wLc2p34Ag&start=20&sa=N&ved=0ahUKEwj026m3jcnkAhXlw1kKHVxtBy84ChDw0wMIrgE",
         "current_page":2
      },
      "organic_results":[ 
         { 
            "url":"https://www.foodnetwork.com/shows/restaurant-impossible",
            "displayed_url":"https://www.foodnetwork.com \u203a Shows",
            "description":"Robert Irvine helps a failing restaurant turn things around in two days on Restaurant: Impossible. Browse top photos and watch highlights on Food Network.",
            "title":"Restaurant: Impossible | Restaurant: Impossible | Food Network"
         },
         ...
         { 
            "url":"http://www.grubstreet.com/2019/09/bon-appetit-best-new-restaurants-2019.html",
            "displayed_url":"www.grubstreet.com \u203a 2019/09 \u203a bon-appetit-best-new-restaurants-2019",
            "description":"1 day ago - Food & Wine and GQ have already put out their best new restaurants lists and now it's Bon App\u00e9tit's turn. Today, the Cond\u00e9 Nast publication\u00a0...",
            "title":"Bon Appetit's 50 Best New Restaurants in America 2019"
         }
      ],
      "local_results":[ 

      ],
      "top_ads":[ 
         { 
            "title":"Restaurants | Don't Settle. Eat Scratch | cheddars.com\u200e",
            "visual_url":"www.cheddars.com/",
            "url":"https://cheddars.com/",
            "description":"Comfort Favorites, Made In House. That's The Cheddar's Way. Stop In & Start Eating Today! Try One Of Our 20 Items Under $10. Scratch-Made. Gift Cards. 20+ Items Under $10. Types: Chicken Tenders, House-Smoked Ribs, Burgers, Combos, Grilled Salmon."
         }
      ],
      "bottom_ads":[ 
         { 
            "title":"Island View - Beach Restaurant | Italian & Seafood Fine Dining\u200e",
            "visual_url":"www.islandviewfmb.com/",
            "url":"http://islandviewfmb.com/",
            "description":"Spectacular Gulf Coast View. Enjoy Chef's Specials throughout the Week. Call Now. Make Reservation. View Menu. Highlights: Opened In 2014, Utilizing Fresh Seafood From Gulf."
         }
      ]
   }
]