<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Michael Moura</title>
    <description>The latest articles on DEV Community by Michael Moura (@michael_moura_76f981a933c).</description>
    <link>https://dev.to/michael_moura_76f981a933c</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3345809%2Fc3f22eb1-b0bc-4a1b-bf23-e7b071989100.jpg</url>
      <title>DEV Community: Michael Moura</title>
      <link>https://dev.to/michael_moura_76f981a933c</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/michael_moura_76f981a933c"/>
    <language>en</language>
    <item>
      <title>How to easily scrape Google Lens About This Image tab</title>
      <dc:creator>Michael Moura</dc:creator>
      <pubDate>Wed, 04 Feb 2026 15:15:01 +0000</pubDate>
      <link>https://dev.to/michael_moura_76f981a933c/how-to-easily-scrape-google-lens-about-this-image-tab-1imh</link>
      <guid>https://dev.to/michael_moura_76f981a933c/how-to-easily-scrape-google-lens-about-this-image-tab-1imh</guid>
      <description>&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;Google Lens is an extremely powerful tool, by allowing users to search using images or image links, it helps users easily find more information about products, places, and more!&lt;br&gt;
Beyond searching, Google Lens allows for showing only Exact Matches, Products, Visual matches, and also results with information about the image queried with their About this image tab.&lt;br&gt;
SerpApi helps you scraping Google Lens and all its different tabs. Let's see how we can scrape the About this image section:&lt;/p&gt;
&lt;h3&gt;
  
  
  Scraping About This Image tab on Google Lens
&lt;/h3&gt;

&lt;p&gt;Scraping Google Lens results using &lt;a href="https://serpapi.com/google-lens-api" rel="noopener noreferrer"&gt;SerpApi's Google Lens API&lt;/a&gt; is completely frictionless. We can choose which Google Lens tab we want to scrape by only changing the request parameter &lt;code&gt;type&lt;/code&gt; to any of the available options: &lt;code&gt;all&lt;/code&gt; (default), &lt;code&gt;exact_matches&lt;/code&gt;, &lt;code&gt;products&lt;/code&gt;, &lt;code&gt;visual_matches&lt;/code&gt;, and finally &lt;code&gt;about_this_image&lt;/code&gt;, which is the &lt;code&gt;type&lt;/code&gt; needed to scrape the About This Image tab.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7i8gy1kvo1e3zs7yd9p5.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7i8gy1kvo1e3zs7yd9p5.jpg" alt="Example of results scraped from Google Lens About This Image tab using SerpApi's Playground technology, emphasizing the selection of about_this_image value for the type parameter in SerpApi's Google Lens API." width="800" height="452"&gt;&lt;/a&gt;&lt;br&gt;
Example of results scraped from Google Lens About This Image tab using SerpApi's Playground technology, emphasizing the selection of about_this_image value for the type parameter in SerpApi's Google Lens API.&lt;/p&gt;
&lt;h3&gt;
  
  
  What is available on Google Lens About This Image results
&lt;/h3&gt;

&lt;p&gt;All the results related to About This Image tab is returned under the &lt;code&gt;about_this_image&lt;/code&gt; hash.&lt;br&gt;
It's split into the &lt;code&gt;header&lt;/code&gt; hash, that comes with &lt;code&gt;title&lt;/code&gt; and &lt;code&gt;image&lt;/code&gt; (link), and the &lt;code&gt;sections&lt;/code&gt; array, which shows the &lt;code&gt;position&lt;/code&gt; of the section, its &lt;code&gt;title&lt;/code&gt; and &lt;code&gt;page_results&lt;/code&gt;, which is where the pages about the image queried are located.&lt;br&gt;
There's a lot of information scraped in these &lt;code&gt;page_results&lt;/code&gt;, such as page &lt;code&gt;position&lt;/code&gt;, &lt;code&gt;title&lt;/code&gt;, &lt;code&gt;link&lt;/code&gt;, &lt;code&gt;source&lt;/code&gt;, &lt;code&gt;displayed_link&lt;/code&gt;, &lt;code&gt;date&lt;/code&gt;, &lt;code&gt;snippet&lt;/code&gt;, &lt;code&gt;thumbnail&lt;/code&gt;, and &lt;code&gt;favicon&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Let's create a SerpApi account so we can start scraping Google Lens and all other Search Engines SerpApi offers:&lt;/p&gt;
&lt;h3&gt;
  
  
  Setting Up a SerpApi Account
&lt;/h3&gt;

&lt;p&gt;First, we need to create a SerpApi account. &lt;a href="https://serpapi.com/pricing" rel="noopener noreferrer"&gt;SerpApi has a Free tier&lt;/a&gt; that offers up to 250 searches per month.&lt;br&gt;
Let's head to the &lt;a href="https://serpapi.com/users/sign_up?plan=free" rel="noopener noreferrer"&gt;sign-up page&lt;/a&gt; to create an account. Provide a valid email and a valid phone number in order to access your account's &lt;a href="https://serpapi.com/dashboard" rel="noopener noreferrer"&gt;dashboard&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkoyfdngyrsw8s59mkdjr.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fkoyfdngyrsw8s59mkdjr.png" alt="SerpApi Signup/Signin page where you can create an account by providing an unique email address and an unique phone number." width="800" height="638"&gt;&lt;/a&gt;&lt;br&gt;
SerpApi Signup/Signin page where you can create an account by providing an unique email address and an unique phone number.&lt;/p&gt;
&lt;h3&gt;
  
  
  Exploring Google Lens API About This Image
&lt;/h3&gt;

&lt;p&gt;Now that we have an account, we can &lt;a href="https://serpapi.com/users/sign_in" rel="noopener noreferrer"&gt;sign in&lt;/a&gt; and use SerpApi's &lt;a href="https://serpapi.com/playground?engine=google_lens&amp;amp;url=https%3A%2F%2Fi.imgur.com%2FHBrB8p0.png&amp;amp;type=about_this_image&amp;amp;no_cache=true" rel="noopener noreferrer"&gt;Playground technology&lt;/a&gt; to explore all the information we can get from Google Lens API, including the About This Image tab.&lt;br&gt;
For &lt;a href="https://serpapi.com/playground?engine=google_lens&amp;amp;url=https%3A%2F%2Fi.imgur.com%2FHBrB8p0.png&amp;amp;type=about_this_image&amp;amp;no_cache=true" rel="noopener noreferrer"&gt;this example&lt;/a&gt;, we're scraping Google Lens API About This Image (&lt;code&gt;engine: google_lens, type: about_this_image&lt;/code&gt;) for the Danny DeVito image (&lt;code&gt;url: https://i.imgur.com/HBrB8p0.png&lt;/code&gt;). We can also change the &lt;code&gt;type&lt;/code&gt; parameter to see what else we can get when we set it to &lt;code&gt;all&lt;/code&gt;, &lt;code&gt;exact_matches&lt;/code&gt;, &lt;code&gt;products&lt;/code&gt;, and &lt;code&gt;visual_matches&lt;/code&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Integrating SerpApi with your application
&lt;/h3&gt;

&lt;p&gt;Exploring SerpApi's vast diversity of Search APIs using Playground is a lot of fun, but to get the most out of SerpApi's services it's best to use the results from Search Engines directly in your application programmatically.&lt;/p&gt;

&lt;p&gt;In order to send requests to SerpApi, we will need your unique secret &lt;code&gt;API key&lt;/code&gt; that can be copied right from your &lt;a href="https://serpapi.com/dashboard" rel="noopener noreferrer"&gt;dashboard&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa7hxkynwrrjjapnmow5b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fa7hxkynwrrjjapnmow5b.png" alt="Use your unique secret API key in your application to send requests to SerpApi programmatically." width="800" height="432"&gt;&lt;/a&gt;&lt;br&gt;
Use your unique secret API key in your application to send requests to SerpApi programmatically.&lt;/p&gt;

&lt;p&gt;Your &lt;code&gt;API key&lt;/code&gt; is unique to you and you should never share it anywhere to avoid other people using your account, but in case you accidentally expose your &lt;code&gt;API key&lt;/code&gt;, you can easily generate a new one from the &lt;a href="https://serpapi.com/manage-api-key" rel="noopener noreferrer"&gt;Manage API key page&lt;/a&gt; (if you generate a new &lt;code&gt;API key&lt;/code&gt;, don't forget to update your application code with the newly generated &lt;code&gt;API key&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;Check out the documentation for SerpApi libraries based on the programming language you use:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-ruby" rel="noopener noreferrer"&gt;Ruby&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-python" rel="noopener noreferrer"&gt;Python&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/serpapi-javascript" rel="noopener noreferrer"&gt;JavaScript&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-php" rel="noopener noreferrer"&gt;PHP&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-golang" rel="noopener noreferrer"&gt;Go&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-java" rel="noopener noreferrer"&gt;Java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-dotnet" rel="noopener noreferrer"&gt;Dotnet&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To demonstrate how simple it is to use SerpApi in your code, here's all you'd need to do to retrieve Google Lens API About This Image results from your application using the Ruby language, as you can also see in SerpApi's &lt;a href="https://serpapi.com/google-lens-about-this-image-api" rel="noopener noreferrer"&gt;Google Lens API About This Image documentation page&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;require "serpapi" 

client = SerpApi::Client.new(
  engine: "google_lens",
  url: "https://i.imgur.com/HBrB8p0.png",
  type: "about_this_image",
  api_key: "YOUR_SECRET_API_KEY"
)

results = client.search
about_this_image_results = results[:about_this_image]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's all there is to it. Integrating SerpApi is extremely simple and straightforward. You can explore how to use all other Search Engine APIs offered by SerpApi at our &lt;a href="https://serpapi.com/search-api" rel="noopener noreferrer"&gt;documentation page&lt;/a&gt;, and play around with each of them using SerpApi's &lt;a href="https://serpapi.com/playground" rel="noopener noreferrer"&gt;Playground feature&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Have fun! 😃&lt;/p&gt;

&lt;h3&gt;
  
  
  Enjoyed learning about Google Lens About This Image and want to build fun projects using SerpApi's Google Lens API?
&lt;/h3&gt;

&lt;p&gt;I got you covered! Why don't you get started with these:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/blog/build-plant-identifier-app-with-google-lens-api/" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgg7qkmy4dnxdlxp20us0.png" alt="Building a “Plant Identifier” app with Google Lens API" width="800" height="157"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/blog/scraping-google-lens-new-layout-visual-matches/" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8xo9wynvbnzfltyjk967.png" alt="Scraping Google Lens search results using Python, including visual matches, exact matches, and product tabs." width="800" height="183"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/blog/uploading-images-and-searching-with-google-lens-via-serpapi/" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7ibdi3tek9c4sa38pvru.png" alt="In this tutorial, we’ll build an automation that identifies an item using visual search. By leveraging Google Lens (via SerpApi) for image recognition, you can quickly determine the exact name of a card or collectible." width="800" height="211"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/blog/building-an-image-based-search-app-with-google-lens-api/" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fgm9uy8d64klw3og75d6w.png" alt="Let’s learn how to build a simple Google Lens clone using Google Lens API. We’ll learn how to upload the image and use it as a search method before returning all the visual matches." width="800" height="210"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>googlelens</category>
      <category>scraping</category>
      <category>datascraping</category>
      <category>programming</category>
    </item>
    <item>
      <title>How to scrape More Seller Options for Walmart Products</title>
      <dc:creator>Michael Moura</dc:creator>
      <pubDate>Wed, 31 Dec 2025 17:21:17 +0000</pubDate>
      <link>https://dev.to/michael_moura_76f981a933c/how-to-scrape-more-seller-options-for-walmart-products-1f87</link>
      <guid>https://dev.to/michael_moura_76f981a933c/how-to-scrape-more-seller-options-for-walmart-products-1f87</guid>
      <description>&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Walmart offers a massive number of different products that range from food, camping gear to all sorts of electronics, like TVs, laptops and even Air Fryers. With a catalog of items this huge and diverse, there's a lot of value from being able to scrape Walmart products, such as researching and comparing product prices, sizes, quality, and also checking how the different sellers are pricing the same product.&lt;/p&gt;

&lt;h2&gt;
  
  
  How to know which Walmart products are sold by multiple sellers
&lt;/h2&gt;

&lt;p&gt;When browsing products on Walmart, we can easily see when a product has multiple sellers by checking if the product has the "More Seller Options" box on its product page:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6vsheamluoh0jrqcl3rn.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F6vsheamluoh0jrqcl3rn.jpg" alt="Walmart Product page" width="800" height="618"&gt;&lt;/a&gt;&lt;br&gt;
We can see when a Walmart product is sold by multiple sellers when the "More Seller Options" box is on its product page.&lt;/p&gt;

&lt;p&gt;When scraping Walmart Products using SerpApi, we can know when a product has more sellers when we can find the field &lt;code&gt;response[:product_result][:seller_options]&lt;/code&gt; in the response:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1nrrqp4ihasxnuqfogl0.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1nrrqp4ihasxnuqfogl0.jpg" alt="SerpApi scraping Walmart Product page" width="800" height="618"&gt;&lt;/a&gt;&lt;br&gt;
When we're scraping Walmart product pages using SerpApi's Walmart Product API we can know when a product has "More Seller Options" when it has &lt;code&gt;response.product_result.seller_options&lt;/code&gt; in the response. From there, we can also know how many additional sellers a product has (&lt;code&gt;number_of_additional_sellers&lt;/code&gt;) and get the direct link to scrape information about the product's additional sellers using SerpApi's Walmart Product Sellers API (&lt;code&gt;serpapi_product_sellers_link&lt;/code&gt;).&lt;/p&gt;
&lt;h2&gt;
  
  
  How to scrape Walmart Product Sellers
&lt;/h2&gt;

&lt;p&gt;There are two options to scrape Walmart Product Sellers:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;p&gt;The first one is by using &lt;a href="https://serpapi.com/walmart-product-api" rel="noopener noreferrer"&gt;SerpApi's Walmart Product API&lt;/a&gt;, and when a product we're scraping has "More Seller Options" we can get the direct link to scrape the product's additional sellers using &lt;a href="https://serpapi.com/walmart-product-sellers-api" rel="noopener noreferrer"&gt;SerpApi's Walmart Product Sellers API&lt;/a&gt; in &lt;code&gt;response[:product_result][:seller_options][:serpapi_product_sellers_link]&lt;/code&gt; which returns the Walmart Product Seller results using &lt;a href="https://serpapi.com/walmart-product-sellers-api" rel="noopener noreferrer"&gt;SerpApi's Walmart Product Sellers API&lt;/a&gt;.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;The second one is by using &lt;a href="https://serpapi.com/walmart-product-sellers-api" rel="noopener noreferrer"&gt;SerpApi's Walmart Product Sellers API&lt;/a&gt; directly, providing the &lt;code&gt;product_id&lt;/code&gt; for the product that we want to know about to scrape its "More Seller Options" page.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;
  
  
  What is available on Walmart Product Sellers API
&lt;/h2&gt;

&lt;p&gt;Besides information about product sellers, we also get some data about the product itself, for example, the product's &lt;code&gt;name&lt;/code&gt;, &lt;code&gt;thumbnail&lt;/code&gt; and &lt;code&gt;url&lt;/code&gt;. As for the sellers, we get information about their offering related to the product, such as &lt;code&gt;us_item_id&lt;/code&gt;, &lt;code&gt;offer_id&lt;/code&gt;, &lt;code&gt;offer_type&lt;/code&gt;, &lt;code&gt;availability_status&lt;/code&gt;, &lt;code&gt;seller_id&lt;/code&gt;, &lt;code&gt;seller_name&lt;/code&gt;, &lt;code&gt;seller_display_name&lt;/code&gt;, &lt;code&gt;seller_type&lt;/code&gt;, &lt;code&gt;price&lt;/code&gt;, &lt;code&gt;extracted_price&lt;/code&gt; and &lt;code&gt;return_policy_text&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Let's create a SerpApi account so we can tap into all the potential Walmart Product Sellers API has to offer.&lt;/p&gt;
&lt;h2&gt;
  
  
  Setting Up a SerpApi Account
&lt;/h2&gt;

&lt;p&gt;First, we need to create a SerpApi account. &lt;a href="https://serpapi.com/pricing" rel="noopener noreferrer"&gt;SerpApi has a Free tier&lt;/a&gt; that offers up to 250 searches per month.&lt;br&gt;
Let's head to the &lt;a href="https://serpapi.com/users/sign_up?plan=free" rel="noopener noreferrer"&gt;sign-up page&lt;/a&gt; to create an account. Provide a valid email and a valid phone number in order to access your account's &lt;a href="https://serpapi.com/dashboard" rel="noopener noreferrer"&gt;dashboard&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk2wkjtwrn38itavy1dld.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk2wkjtwrn38itavy1dld.jpg" alt="SerpApi Signup/Signin page" width="800" height="638"&gt;&lt;/a&gt;&lt;br&gt;
SerpApi Signup/Signin page where you can create an account by providing an unique email address and an unique phone number.&lt;/p&gt;
&lt;h2&gt;
  
  
  Exploring Walmart Product Sellers API
&lt;/h2&gt;

&lt;p&gt;Now that we have an account, we can &lt;a href="https://serpapi.com/users/sign_in" rel="noopener noreferrer"&gt;sign in&lt;/a&gt; and use SerpApi's &lt;a href="https://serpapi.com/playground?engine=walmart_product_sellers&amp;amp;product_id=138762768&amp;amp;no_cache=true" rel="noopener noreferrer"&gt;Playground technology&lt;/a&gt; to explore all the information we can get from Walmart Product Sellers API.&lt;br&gt;
For &lt;a href="https://serpapi.com/playground?engine=walmart_product_sellers&amp;amp;product_id=138762768&amp;amp;no_cache=true" rel="noopener noreferrer"&gt;this example&lt;/a&gt;, we're scraping Walmart Product Sellers (&lt;code&gt;engine: walmart_product_sellers&lt;/code&gt;) for the product Tajin Clasic Seasoning 14oz (&lt;code&gt;product_id: 138762768&lt;/code&gt;). This is a good example product because it has many offerings by several sellers, with different prices and return policies.&lt;br&gt;
Let's see how that looks like:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk2wkjtwrn38itavy1dld.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk2wkjtwrn38itavy1dld.jpg" alt="SerpApi Playground page for Walmart Product Sellers API" width="800" height="638"&gt;&lt;/a&gt;&lt;br&gt;
With SerpApi, we can easily scrape all the information on Walmart Product Sellers, such as product's name, thumbnail and url. Also we can scrape shipping_destination, sellers, us_item_id, offer_id, offer_type, availability_status, seller_id, seller_name, seller_display_name, seller_type, price, extracted_price and return_policy_text.&lt;/p&gt;
&lt;h2&gt;
  
  
  Integrating SerpApi with your application
&lt;/h2&gt;

&lt;p&gt;Exploring SerpApi's vast diversity of Search APIs using Playground is a lot of fun, but to get the most out of SerpApi's services it's best to use the results from Search Engines directly in your application programmatically.&lt;br&gt;
In order to send requests to SerpApi, we will need your unique secret API key that can be copied right from your dashboard:&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F071sf847h8a06j01bca9.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F071sf847h8a06j01bca9.jpg" alt="SerpApi Dashboard page" width="800" height="433"&gt;&lt;/a&gt;&lt;br&gt;
Use your unique secret &lt;code&gt;API key&lt;/code&gt; in your application to send requests to SerpApi programmatically.&lt;/p&gt;

&lt;p&gt;Your &lt;code&gt;API key&lt;/code&gt; is unique to you and you should never share it anywhere to avoid other people using your account, but in case you accidentally expose your &lt;code&gt;API key&lt;/code&gt;, you can easily generate a new one from the &lt;a href="https://serpapi.com/manage-api-key" rel="noopener noreferrer"&gt;Manage API key page&lt;/a&gt; (if you generate a new &lt;code&gt;API key&lt;/code&gt;, don't forget to update your application code with the newly generated &lt;code&gt;API key&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;Check out the documentation for SerpApi libraries based on the programming language you use:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-ruby" rel="noopener noreferrer"&gt;Ruby&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-python" rel="noopener noreferrer"&gt;Python&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/serpapi-javascript" rel="noopener noreferrer"&gt;JavaScript&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-php" rel="noopener noreferrer"&gt;PHP&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-golang" rel="noopener noreferrer"&gt;Go&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-java" rel="noopener noreferrer"&gt;Java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-dotnet" rel="noopener noreferrer"&gt;Dotnet&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To demonstrate how simple it is to use SerpApi in your code, here's all you'd need to do to retrieve Walmart Product Sellers API results from your application using the Ruby language, as you can also see in SerpApi's &lt;a href="https://serpapi.com/walmart-product-sellers-api" rel="noopener noreferrer"&gt;Walmart Product Sellers API documentation page&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;require "serpapi" 

client = SerpApi::Client.new(
  engine: "walmart_product_sellers",
  product_id: "138762768",
  api_key: "YOUR_SECRET_API_KEY"
)

results = client.search
full_menu_results = results[:sellers_results]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's all there is to it. Integrating SerpApi is extremely simple and straightforward. You can explore how to use all other Search Engine APIs offered by SerpApi at our &lt;a href="https://serpapi.com/search-api" rel="noopener noreferrer"&gt;documentation page&lt;/a&gt;, and play around with each of them using SerpApi's &lt;a href="https://serpapi.com/playground" rel="noopener noreferrer"&gt;Playground feature&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Have fun! 😃&lt;/p&gt;

&lt;h2&gt;
  
  
  Want to scrape Walmart Product API? Here's a guide for you!
&lt;/h2&gt;

&lt;p&gt;We also have a great tutorial going over how to easily scrape Walmart Product Results. Check it out: &lt;a href="https://serpapi.com/blog/how-to-scrape-walmart-product-results/" rel="noopener noreferrer"&gt;How to Scrape Walmart Product Results&lt;/a&gt;&lt;/p&gt;

</description>
      <category>walmart</category>
      <category>scraping</category>
      <category>webscraping</category>
      <category>programming</category>
    </item>
    <item>
      <title>Tutorial of how to scrape Yelp Full Menu, fast and simple</title>
      <dc:creator>Michael Moura</dc:creator>
      <pubDate>Tue, 09 Dec 2025 17:38:26 +0000</pubDate>
      <link>https://dev.to/michael_moura_76f981a933c/tutorial-of-how-to-scrape-yelp-full-menu-fast-and-simple-50o4</link>
      <guid>https://dev.to/michael_moura_76f981a933c/tutorial-of-how-to-scrape-yelp-full-menu-fast-and-simple-50o4</guid>
      <description>&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;Yelp is a great platform for people who want to know about local businesses and restaurants. With over 7 million businesses listed, Yelp has a wealth of precious information for market researchers and specialized AI agents and chat bots.&lt;br&gt;
Beyond information about businesses and restaurants, some restaurants list their full menus to Yelp, making this platform even more significant for data collectors and analysts.&lt;/p&gt;
&lt;h3&gt;
  
  
  How to know which restaurants have Full Menus
&lt;/h3&gt;

&lt;p&gt;In Yelp, for the restaurants that have set up their Full Menu page, there is a big button called "Full Menu" on their Yelp Place page:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/yelp-place-full-menu" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1pl0b0q41501ciqruroh.webp" width="800" height="604"&gt;&lt;/a&gt;&lt;br&gt;
When a restaurant on Yelp has a Full Menu page, there will be a button called "Full Menu" on their Yelp page.&lt;/p&gt;

&lt;p&gt;When scraping Yelp Places using SerpApi, we can know when a place has a Full Menu page when we can find the field &lt;code&gt;response[:place_results][:full_menu]&lt;/code&gt; in the response:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/yelp-place-full-menu" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fc7ifendtzybb2ozswbmj.webp" width="800" height="710"&gt;&lt;/a&gt;&lt;br&gt;
We can know if a restaurant we're scraping using SerpApi's Yelp Place Scraper API has a Full Menu page when it has &lt;code&gt;response.place_results.full_menu&lt;/code&gt; in the response.&lt;/p&gt;
&lt;h3&gt;
  
  
  How to scrape Yelp Place Full Menus
&lt;/h3&gt;

&lt;p&gt;Now that we know if a restaurant has a Full Menu page, we can easily scrape it using SerpApi's &lt;a href="https://serpapi.com/yelp-place" rel="noopener noreferrer"&gt;Yelp Place Scraper API&lt;/a&gt; by setting the request parameter &lt;code&gt;full_menu&lt;/code&gt; to &lt;code&gt;true&lt;/code&gt; to get &lt;code&gt;full_menu_results&lt;/code&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  What is available on Yelp Full Menus
&lt;/h3&gt;

&lt;p&gt;There are lots of useful information available in &lt;code&gt;full_menu_results&lt;/code&gt;, such as menu &lt;code&gt;name&lt;/code&gt;, &lt;code&gt;title&lt;/code&gt;, &lt;code&gt;popular_items&lt;/code&gt; with &lt;code&gt;link&lt;/code&gt;, &lt;code&gt;review&lt;/code&gt;, &lt;code&gt;expand_review_link&lt;/code&gt;, &lt;code&gt;thumbnail&lt;/code&gt; and more. Also, menu &lt;code&gt;sections&lt;/code&gt; with &lt;code&gt;title&lt;/code&gt;, &lt;code&gt;items&lt;/code&gt; with &lt;code&gt;description&lt;/code&gt;, &lt;code&gt;prices&lt;/code&gt;, &lt;code&gt;thumbnail&lt;/code&gt;, number of &lt;code&gt;photos&lt;/code&gt;, number of &lt;code&gt;reviews&lt;/code&gt;, &lt;code&gt;reviews_link&lt;/code&gt; and much more!&lt;br&gt;
Some restaurants even have more than one &lt;code&gt;menu&lt;/code&gt; available. If a restaurant has multiple menus, we can find all available menus in &lt;code&gt;response[:full_menu_results][:menus]&lt;/code&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/yelp-place-full-menu" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fl0ucl0n0fw06vi5lpy0t.webp" width="800" height="406"&gt;&lt;/a&gt;&lt;br&gt;
Some restaurants have multiple menus to choose from. If no menu is selected using the request parameter &lt;code&gt;menu_name&lt;/code&gt; then the menu the restaurant set as default will be the one scraped.&lt;/p&gt;

&lt;p&gt;When a restaurant has multiple menus, we can scrape each menu by providing its name to the request parameter &lt;code&gt;menu_name&lt;/code&gt;. For example, here's how the request would look like if we wanted to scrape the lunch menu (&lt;code&gt;menu_name: chalong-9th-ave-lunch-08-28-24&lt;/code&gt;) for the restaurant Chalong (&lt;code&gt;place_id: chalong-new-york&lt;/code&gt;):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;require "serpapi" 

client = SerpApi::Client.new(
  engine: "yelp_place",
  place_id: "chalong-new-york",
  full_menu: "true",
  menu_name: "chalong-9th-ave-lunch-08-28-24",
  api_key: "YOUR_SECRET_API_KEY"
)

results = client.search
full_menu_results = results[:full_menu_results]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;However, if a restaurant has many menus, but no &lt;code&gt;menu_name&lt;/code&gt; is provided in the request, then the menu that will be scraped will be the one the restaurant set as their default menu.&lt;br&gt;
Let's walk through how we can use SerpApi to scrape Yelp Place Full Menus with only a few simple steps:&lt;/p&gt;
&lt;h3&gt;
  
  
  Setting Up a SerpApi Account
&lt;/h3&gt;

&lt;p&gt;First, we need to create a SerpApi account. &lt;a href="https://serpapi.com/pricing" rel="noopener noreferrer"&gt;SerpApi has a Free tier&lt;/a&gt; that offers up to 250 searches per month.&lt;br&gt;
Let's head to the &lt;a href="https://serpapi.com/users/sign_up?plan=free" rel="noopener noreferrer"&gt;sign-up page&lt;/a&gt; to create an account. Provide a valid email and a valid phone number in order to access your account's &lt;a href="https://serpapi.com/dashboard" rel="noopener noreferrer"&gt;dashboard&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/users/sign_up?plan=free" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk2wkjtwrn38itavy1dld.jpg" width="800" height="638"&gt;&lt;/a&gt;&lt;br&gt;
SerpApi Signup/Signin page where you can create an account by providing an unique email address and an unique phone number.&lt;/p&gt;
&lt;h3&gt;
  
  
  Exploring Yelp Full Menu
&lt;/h3&gt;

&lt;p&gt;Now that we have an account, we can &lt;a href="https://serpapi.com/users/sign_in" rel="noopener noreferrer"&gt;sign in&lt;/a&gt; and use SerpApi's &lt;a href="https://serpapi.com/playground?engine=yelp_place&amp;amp;place_id=chalong-new-york&amp;amp;full_menu=true&amp;amp;no_cache=true" rel="noopener noreferrer"&gt;Playground technology&lt;/a&gt; to explore all the information we can get from Yelp Place Full Menu.&lt;br&gt;
In this example, I'm scraping one menu from the restaurant Chalong using &lt;code&gt;place_id: chalong-new-york&lt;/code&gt;. This restaurant has two menus, the &lt;code&gt;dinner&lt;/code&gt; menu and the &lt;code&gt;chalong-9th-ave-lunch-08-28-24&lt;/code&gt; menu. Because I didn't specify any menu in &lt;code&gt;menu_name&lt;/code&gt;, the results will be from their default menu, which is the &lt;code&gt;dinner&lt;/code&gt; menu. Let's see all the information we can scraped in &lt;code&gt;full_menu_results&lt;/code&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/playground?engine=yelp_place&amp;amp;place_id=chalong-new-york&amp;amp;full_menu=true&amp;amp;no_cache=true" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8nxjqkqwcbqey4w4xaem.webp" width="800" height="525"&gt;&lt;/a&gt;&lt;br&gt;
SerpApi can scrape all information from Yelp Place menus, including menu names, titles, popular items, reviews, photos, thumbnails, items divided per sections, item prices, descriptions, links, and a lot more!&lt;/p&gt;
&lt;h3&gt;
  
  
  Integrating SerpApi with your application
&lt;/h3&gt;

&lt;p&gt;Exploring SerpApi's vast diversity of Search APIs using Playground is a lot of fun, but to get the most out of SerpApi's services it's best to use the results from Search Engines directly in your application programmatically.&lt;br&gt;
In order to send requests to SerpApi, we will need your unique secret &lt;code&gt;API key&lt;/code&gt; that can be copied right from your &lt;a href="https://serpapi.com/dashboard" rel="noopener noreferrer"&gt;dashboard&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/dashboard" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F071sf847h8a06j01bca9.jpg" width="800" height="433"&gt;&lt;/a&gt;&lt;br&gt;
Use your unique secret API key in your application to send requests to SerpApi programmatically.&lt;/p&gt;

&lt;p&gt;Your &lt;code&gt;API key&lt;/code&gt; is unique to you and you should never share it anywhere to avoid other people using your account, but in case you accidentally expose your API key, you can easily generate a new one from the &lt;a href="https://serpapi.com/manage-api-key" rel="noopener noreferrer"&gt;Manage API key page&lt;/a&gt; (if you generate a new API key, don't forget to update your application code with the newly generated API key).&lt;/p&gt;

&lt;p&gt;Check out the documentation for &lt;strong&gt;SerpApi&lt;/strong&gt; libraries based on the programming language you use:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-ruby" rel="noopener noreferrer"&gt;Ruby&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-python" rel="noopener noreferrer"&gt;Python&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/serpapi-javascript" rel="noopener noreferrer"&gt;JavaScript&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-php" rel="noopener noreferrer"&gt;PHP&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-golang" rel="noopener noreferrer"&gt;Go&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-java" rel="noopener noreferrer"&gt;Java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-dotnet" rel="noopener noreferrer"&gt;Dotnet&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To demonstrate how simple it is to use SerpApi in your code, here's all you'd need to do to retrieve Yelp Place Full Menu results from your application using the Ruby language, as you can also see in SerpApi's &lt;a href="https://dev.toLINK"&gt;Yelp Place Full Menu documentation page&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;require "serpapi" 

client = SerpApi::Client.new(
  engine: "yelp_place",
  place_id: "juniors-restaurant-new-york-9",
  full_menu: "true",
  api_key: "YOUR_SECRET_API_KEY"
)

results = client.search
full_menu_results = results[:full_menu_results]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's all there is to it. Integrating &lt;strong&gt;SerpApi&lt;/strong&gt; is extremely simple and straightforward. You can explore how to use all other Search Engine APIs offered by &lt;strong&gt;SerpApi&lt;/strong&gt; in our &lt;a href="https://serpapi.com/search-api" rel="noopener noreferrer"&gt;documentation page&lt;/a&gt;, and play around with each of them using &lt;strong&gt;SerpApi&lt;/strong&gt;'s &lt;a href="https://serpapi.com/playground" rel="noopener noreferrer"&gt;Playground feature&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Like what you see? Head to &lt;a href="https://serpapi.com/blog/" rel="noopener noreferrer"&gt;&lt;strong&gt;SerpApi&lt;/strong&gt;'s Blog&lt;/a&gt; for a lot more: &lt;a href="https://serpapi.com/blog/" rel="noopener noreferrer"&gt;https://serpapi.com/blog/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>yelp</category>
      <category>scraping</category>
      <category>menu</category>
      <category>restaurant</category>
    </item>
    <item>
      <title>Scraping Google Hotels and Google Hotels Autocomplete guide - How to get precious data from Google Hotels</title>
      <dc:creator>Michael Moura</dc:creator>
      <pubDate>Thu, 31 Jul 2025 15:44:45 +0000</pubDate>
      <link>https://dev.to/michael_moura_76f981a933c/scraping-google-hotels-and-google-hotels-autocomplete-guide-how-to-get-precious-data-from-google-4h0i</link>
      <guid>https://dev.to/michael_moura_76f981a933c/scraping-google-hotels-and-google-hotels-autocomplete-guide-how-to-get-precious-data-from-google-4h0i</guid>
      <description>&lt;h3&gt;
  
  
  Introduction
&lt;/h3&gt;

&lt;p&gt;Google Hotels is the best place on the internet to find information about hotels and vacation properties, and the best way to get this information is by using &lt;strong&gt;SerpApi&lt;/strong&gt;. With &lt;strong&gt;SerpApi&lt;/strong&gt; you can easily retrieve lots of data about these properties, like &lt;code&gt;address&lt;/code&gt;, &lt;code&gt;phone&lt;/code&gt;, &lt;code&gt;gps_coordinates&lt;/code&gt;, &lt;code&gt;check_in_time&lt;/code&gt;, &lt;code&gt;check_out_time&lt;/code&gt;, &lt;code&gt;rate_per_night&lt;/code&gt;, &lt;code&gt;total_rate&lt;/code&gt;, &lt;code&gt;featured_prices&lt;/code&gt;, &lt;code&gt;hotel_class&lt;/code&gt;, &lt;code&gt;images&lt;/code&gt;, &lt;code&gt;overall_rating&lt;/code&gt;, &lt;code&gt;reviews&lt;/code&gt;, &lt;code&gt;ratings&lt;/code&gt;, &lt;code&gt;reviews_breakdown&lt;/code&gt;, &lt;code&gt;ads&lt;/code&gt; and more!&lt;br&gt;&lt;br&gt;
Another great benefit when querying for hotels using &lt;strong&gt;SerpApi&lt;/strong&gt; is the ability to use filters to get more specific results, for instance, &lt;code&gt;gl&lt;/code&gt; (country), &lt;code&gt;hl&lt;/code&gt; (language), &lt;code&gt;check_in_date&lt;/code&gt;, &lt;code&gt;check_out_date&lt;/code&gt;, &lt;code&gt;hotel_class&lt;/code&gt;, &lt;code&gt;free_cancellation&lt;/code&gt;, &lt;code&gt;special_offers&lt;/code&gt;, &lt;code&gt;eco_certified&lt;/code&gt;, &lt;code&gt;vacation_rentals&lt;/code&gt;, &lt;code&gt;bedrooms&lt;/code&gt;, &lt;code&gt;bathrooms&lt;/code&gt;, plus additional filters.&lt;/p&gt;
&lt;h3&gt;
  
  
  What are the ways to get information from Google Hotels?
&lt;/h3&gt;

&lt;p&gt;There are 3 main ways to retrieve results from Google Hotels:&lt;br&gt;&lt;br&gt;
&lt;strong&gt;1.&lt;/strong&gt; Regular querying using &lt;a href="https://serpapi.com/google-hotels-api" rel="noopener noreferrer"&gt;&lt;strong&gt;&lt;em&gt;Google Hotels API&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt; to get general Google Hotels results.&lt;br&gt;&lt;br&gt;
&lt;strong&gt;2.&lt;/strong&gt; Using &lt;a href="https://serpapi.com/google-hotels-property-details" rel="noopener noreferrer"&gt;&lt;strong&gt;&lt;em&gt;Google Hotels API&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt; along with &lt;code&gt;property_token&lt;/code&gt; to get full detailed information about a specific property.&lt;br&gt;&lt;br&gt;
&lt;strong&gt;3.&lt;/strong&gt; Using &lt;a href="https://serpapi.com/google-hotels-autocomplete-api" rel="noopener noreferrer"&gt;&lt;strong&gt;&lt;em&gt;Google Hotels Autocomplete API&lt;/em&gt;&lt;/strong&gt;&lt;/a&gt; to see all autocomplete suggestions where you can get the &lt;code&gt;property_token&lt;/code&gt; and &lt;code&gt;serpapi_google_hotels_link&lt;/code&gt; for each suggestion.&lt;/p&gt;
&lt;h3&gt;
  
  
  1. Getting general results with Google Hotels API
&lt;/h3&gt;

&lt;p&gt;This is the simplest way to use &lt;strong&gt;&lt;em&gt;Google Hotels API&lt;/em&gt;&lt;/strong&gt;. Check out our &lt;a href="https://serpapi.com/playground?engine=google_hotels&amp;amp;q=Bali+Resorts&amp;amp;gl=us&amp;amp;hl=en%C2%A4cy=USD&amp;amp;check_in_date=2025-07-30&amp;amp;check_out_date=2025-07-31&amp;amp;newPara=location" rel="noopener noreferrer"&gt;&lt;strong&gt;Playground&lt;/strong&gt;&lt;/a&gt; feature to try it out for yourself.&lt;br&gt;&lt;br&gt;
To use &lt;strong&gt;&lt;em&gt;Google Hotels API&lt;/em&gt;&lt;/strong&gt; for general results, we must set &lt;code&gt;engine&lt;/code&gt; to "google_hotels", and provide a query using the parameter &lt;code&gt;q&lt;/code&gt;. For example: "Bali Resorts".&lt;br&gt;&lt;br&gt;
This will return results that are related to the query, such as &lt;code&gt;ads&lt;/code&gt; information displayed on Google Hotels, &lt;code&gt;properties&lt;/code&gt; and general details about each property, like property &lt;code&gt;type&lt;/code&gt;, &lt;code&gt;name&lt;/code&gt;, &lt;code&gt;link&lt;/code&gt;, &lt;code&gt;property_token&lt;/code&gt;, &lt;code&gt;serpapi_property_details_link&lt;/code&gt;, &lt;code&gt;gps_coordinates&lt;/code&gt;, &lt;code&gt;check_in_time&lt;/code&gt;, &lt;code&gt;check_out_time&lt;/code&gt;, &lt;code&gt;rate_per_night&lt;/code&gt;, &lt;code&gt;total_rate&lt;/code&gt;, &lt;code&gt;prices&lt;/code&gt;, &lt;code&gt;nearby_places&lt;/code&gt;, &lt;code&gt;images&lt;/code&gt;, &lt;code&gt;overall_rating&lt;/code&gt;, &lt;code&gt;reviews&lt;/code&gt;, &lt;code&gt;location_rating&lt;/code&gt;, &lt;code&gt;amenities&lt;/code&gt;, and &lt;code&gt;essential_info&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/playground?engine=google_hotels&amp;amp;q=Bali+Resorts&amp;amp;gl=us&amp;amp;hl=en%C2%A4cy=USD&amp;amp;check_in_date=2025-07-30&amp;amp;check_out_date=2025-07-31&amp;amp;newPara=location" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr08bgw4yrgylcslkd8av.webp" width="800" height="422"&gt;&lt;/a&gt;&lt;br&gt;
Example of results returned for general queries using SerpApi's Google Hotels API &lt;a href="https://serpapi.com/playground?engine=google_hotels&amp;amp;q=Bali+Resorts&amp;amp;gl=us&amp;amp;hl=en%C2%A4cy=USD&amp;amp;check_in_date=2025-07-30&amp;amp;check_out_date=2025-07-31&amp;amp;newPara=location" rel="noopener noreferrer"&gt;Playground&lt;/a&gt; feature using  &lt;code&gt;q&lt;/code&gt; ="Bali Resorts".&lt;/p&gt;
&lt;h3&gt;
  
  
  2. Getting full detailed information about a specific property using Google Hotels API with &lt;code&gt;property_token&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;We can also return the full detailed information about a specific property by using the parameter &lt;code&gt;property_token&lt;/code&gt; with the &lt;strong&gt;&lt;em&gt;Google Hotels API&lt;/em&gt;&lt;/strong&gt; query, alongside the &lt;code&gt;engine&lt;/code&gt; parameter set to "google_hotels".&lt;br&gt;&lt;br&gt;
In addition to all details returned with general results, the property details returned in the response also includes &lt;code&gt;typical_price_range&lt;/code&gt;, &lt;code&gt;lowest&lt;/code&gt; and &lt;code&gt;highest&lt;/code&gt; prices, &lt;code&gt;link&lt;/code&gt;, and &lt;code&gt;rooms&lt;/code&gt; as well.&lt;br&gt;&lt;br&gt;
Head to our &lt;a href="https://serpapi.com/playground?engine=google_hotels&amp;amp;q=Bali+Resorts&amp;amp;gl=us&amp;amp;hl=en%C2%A4cy=USD&amp;amp;check_in_date=2025-07-30&amp;amp;check_out_date=2025-07-31&amp;amp;property_token=ChgIgJT4_7Pr5avuARoLL2cvMXRmZDl3OWcQAQ&amp;amp;newPara=location" rel="noopener noreferrer"&gt;&lt;strong&gt;Playground&lt;/strong&gt;&lt;/a&gt; to see the full response.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/playground?engine=google_hotels&amp;amp;q=Bali+Resorts&amp;amp;gl=us&amp;amp;hl=en%C2%A4cy=USD&amp;amp;check_in_date=2025-07-30&amp;amp;check_out_date=2025-07-31&amp;amp;property_token=ChgIgJT4_7Pr5avuARoLL2cvMXRmZDl3OWcQAQ&amp;amp;newPara=location" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F2i6mjxxylyb0iwktrodc.webp" width="800" height="475"&gt;&lt;/a&gt;&lt;br&gt;
Example of results returned by SerpApi's Google Hotels Properties API &lt;a href="https://serpapi.com/playground?engine=google_hotels&amp;amp;q=Bali+Resorts&amp;amp;gl=us&amp;amp;hl=en%C2%A4cy=USD&amp;amp;check_in_date=2025-07-30&amp;amp;check_out_date=2025-07-31&amp;amp;property_token=ChgIgJT4_7Pr5avuARoLL2cvMXRmZDl3OWcQAQ&amp;amp;newPara=location" rel="noopener noreferrer"&gt;Playground&lt;/a&gt; feature using  &lt;code&gt;property_token&lt;/code&gt; ="ChgIgJT4_7Pr5avuARoLL2cvMXRmZDl3OWcQAQ".&lt;/p&gt;
&lt;h3&gt;
  
  
  3. Finding Hotels using the Google Hotels Autocomplete API
&lt;/h3&gt;

&lt;p&gt;Not finding the hotels you're looking for using the general results? Not to worry, because &lt;strong&gt;SerpApi&lt;/strong&gt; also offers an API to get all autocomplete suggestions for queries, and provides the &lt;code&gt;property_token&lt;/code&gt; and &lt;code&gt;serpapi_google_hotels_link&lt;/code&gt; for all properties returned in the autocomplete, as well as other information, such as &lt;code&gt;value&lt;/code&gt;, &lt;code&gt;type&lt;/code&gt;, &lt;code&gt;location&lt;/code&gt;, &lt;code&gt;thumbnail&lt;/code&gt;, &lt;code&gt;highlighted_words&lt;/code&gt;, &lt;code&gt;autocomplete_suggestion&lt;/code&gt;, &lt;code&gt;kgmid&lt;/code&gt;, &lt;code&gt;data_cid&lt;/code&gt; and &lt;code&gt;serpapi_link&lt;/code&gt;.&lt;br&gt;&lt;br&gt;
To use it, we just need to set &lt;code&gt;engine&lt;/code&gt; to "google_hotels_autocomplete" and provide a query using the parameter &lt;code&gt;q&lt;/code&gt;, such as "New York".&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/playground?engine=google_hotels_autocomplete&amp;amp;q=New+York%C2%A4cy=USD" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fj6oc8i0bua99anlwkfdb.webp" width="800" height="484"&gt;&lt;/a&gt;&lt;br&gt;
Example of results returned by SerpApi's Google Hotels Autocomplete API &lt;a href="https://serpapi.com/playground?engine=google_hotels_autocomplete&amp;amp;q=New+York%C2%A4cy=USD" rel="noopener noreferrer"&gt;Playground&lt;/a&gt; feature using q="New York".&lt;/p&gt;
&lt;h3&gt;
  
  
  How to start leveraging the data from Google Hotels using SerpApi?
&lt;/h3&gt;

&lt;p&gt;We just need to create a &lt;strong&gt;SerpApi&lt;/strong&gt; account in order to use nearly &lt;strong&gt;100 APIs&lt;/strong&gt; offered by &lt;strong&gt;SerpApi&lt;/strong&gt;, including &lt;strong&gt;&lt;em&gt;Google Hotels API&lt;/em&gt;,&lt;/strong&gt; &lt;strong&gt;&lt;em&gt;Google Hotels Autocomplete API&lt;/em&gt;&lt;/strong&gt; and several more. Also, by creating a &lt;strong&gt;FREE&lt;/strong&gt; account, &lt;strong&gt;SerpApi&lt;/strong&gt; equips you with &lt;strong&gt;250&lt;/strong&gt; free searches per month.&lt;br&gt;&lt;br&gt;
Let's create a free &lt;strong&gt;SerpApi&lt;/strong&gt; account to take advantage of all services offered by &lt;strong&gt;SerpApi&lt;/strong&gt;.&lt;/p&gt;
&lt;h3&gt;
  
  
  Setting Up a SerpApi Account
&lt;/h3&gt;

&lt;p&gt;Let's head to the &lt;a href="https://serpapi.com/users/sign_up?plan=free" rel="noopener noreferrer"&gt;sign-up page&lt;/a&gt; to create an account. Provide a valid email and a valid phone number in order to access your account's &lt;a href="https://serpapi.com/dashboard" rel="noopener noreferrer"&gt;dashboard&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/users/sign_up?plan=free" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fk2wkjtwrn38itavy1dld.jpg" width="800" height="638"&gt;&lt;/a&gt;&lt;br&gt;
SerpApi Signup/Signin page where you can create an account by providing an unique email address and an unique phone number.&lt;/p&gt;
&lt;h3&gt;
  
  
  Integrating SerpApi with your application
&lt;/h3&gt;

&lt;p&gt;Exploring &lt;strong&gt;SerpApi&lt;/strong&gt;'s vast diversity of Search APIs using Playground is a lot of fun, but to get the most out of &lt;strong&gt;SerpApi&lt;/strong&gt;'s services it's best to use the results from Search Engines directly in your application programmatically.&lt;/p&gt;

&lt;p&gt;In order to send requests to &lt;strong&gt;SerpApi&lt;/strong&gt;, we will need your unique secret &lt;code&gt;API key&lt;/code&gt; that can be copied right from your &lt;a href="https://serpapi.com/dashboard" rel="noopener noreferrer"&gt;dashboard&lt;/a&gt;:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://serpapi.com/dashboard" rel="noopener noreferrer"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F071sf847h8a06j01bca9.jpg" width="800" height="433"&gt;&lt;/a&gt;&lt;br&gt;
Use your unique secret API key in your application to send requests to SerpApi programmatically.&lt;/p&gt;

&lt;p&gt;Your &lt;code&gt;API key&lt;/code&gt; is unique to you and you should never share it anywhere to avoid other people using your account, but in case you accidentally expose your &lt;code&gt;API key&lt;/code&gt;, you can easily generate a new one from the &lt;a href="https://serpapi.com/manage-api-key" rel="noopener noreferrer"&gt;Manage API key page&lt;/a&gt; (if you generate a new &lt;code&gt;API key&lt;/code&gt;, don't forget to update your application code with the newly generated &lt;code&gt;API key&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;Check out the documentation for &lt;strong&gt;SerpApi&lt;/strong&gt; libraries based on the programming language you use:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-ruby" rel="noopener noreferrer"&gt;Ruby&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-python" rel="noopener noreferrer"&gt;Python&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/serpapi-javascript" rel="noopener noreferrer"&gt;JavaScript&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-php" rel="noopener noreferrer"&gt;PHP&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-golang" rel="noopener noreferrer"&gt;Go&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-java" rel="noopener noreferrer"&gt;Java&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/serpapi/google-search-results-dotnet" rel="noopener noreferrer"&gt;Dotnet&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;To demonstrate how simple it is to use &lt;strong&gt;SerpApi&lt;/strong&gt; in your code, here's all you'd need to do to retrieve &lt;strong&gt;&lt;em&gt;Google Hotels&lt;/em&gt;&lt;/strong&gt; results from your application using the Ruby language, as you can also see in &lt;strong&gt;SerpApi&lt;/strong&gt;'s &lt;a href="https://serpapi.com/google-hotels-api" rel="noopener noreferrer"&gt;&lt;em&gt;Google Hotels API&lt;/em&gt;'s documentation page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;(Make sure to adjust the parameters &lt;code&gt;check_in_date&lt;/code&gt; and &lt;code&gt;check_out_date&lt;/code&gt; to dates that are in the future from today)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    require 'google_search_results' 
    params = {
      engine: "google_hotels",
      q: "Bali Resorts",
      check_in_date: "2025-10-31",
      check_out_date: "2025-11-10",
      api_key: "YOUR_SECRET_API_KEY"
    }
    search = GoogleSearch.new(params)
    results = search.get_hash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To use &lt;strong&gt;&lt;em&gt;Google Hotels Autocomplete API&lt;/em&gt;&lt;/strong&gt; is even simpler. Check the &lt;a href="https://serpapi.com/google-hotels-autocomplete-api" rel="noopener noreferrer"&gt;documentation&lt;/a&gt; for a list of all parameters available. Here's everything you'd need to retrieve &lt;strong&gt;&lt;em&gt;Google Hotels Autocompletes&lt;/em&gt;&lt;/strong&gt; results from your application using the Ruby language.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;    require 'google_search_results' 
    params = {
      engine: "google_hotels_autocomplete",
      q: "New York",
      currency: "USD",
      api_key: "YOUR_SECRET_API_KEY"
    }
    search = GoogleSearch.new(params)
    results = search.get_hash
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's all there is to it. Integrating &lt;strong&gt;SerpApi&lt;/strong&gt; is extremely simple and straightforward. You can explore how to use all other Search Engine APIs offered by &lt;strong&gt;SerpApi&lt;/strong&gt; in our &lt;a href="https://serpapi.com/search-api" rel="noopener noreferrer"&gt;documentation page&lt;/a&gt;, and play around with each of them using &lt;strong&gt;SerpApi&lt;/strong&gt;'s &lt;a href="https://serpapi.com/playground" rel="noopener noreferrer"&gt;Playground feature&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Have fun! 😃&lt;/p&gt;

&lt;p&gt;Like what you see? Head to &lt;a href="https://serpapi.com/blog/" rel="noopener noreferrer"&gt;&lt;strong&gt;SerpApi&lt;/strong&gt;'s Blog&lt;/a&gt; for a lot more: &lt;a href="https://serpapi.com/blog/" rel="noopener noreferrer"&gt;https://serpapi.com/blog/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>google</category>
      <category>hotels</category>
      <category>scraping</category>
      <category>googlehotels</category>
    </item>
  </channel>
</rss>
