API-store: Google

Extract information for online searches

Usage

endpoint: /api/v1/store/google

We will return the first 100 results of the query.

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
  • 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.
  • nb_results: The number of results you wish to extract per query. Default: 100
  • page: The page number you want to extract results from. Default: 1
  • language: the language the search results will be displayed in: Default: 'en', the list of supported languages is available here
  • add_html: full html of the page available in the results Default: false
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 25.

return value:

curl https://app.scrapingbee.com/api/v1/store/google?api_key=<API_KEY>&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,
         "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":[

      ],
      "html": 'html of the page here if flag enabled'
   }
}