Push the boundaries of what DataForSEO can do
Learn about the latest updates

Subscribe To Our Newsletter


Compare Sites Feature in Google SERP API

June,7 2024 16:01:54

Compare Sites Feature in Google SERP API

Say hello to enhanced search analysis! We’ve just added Google’s Compare Sites feature to the DataForSEO’s SERP API Advanced responses.

The Compare Sites feature allows users to review an interactive carousel of sites that provide comparison articles containing the searched item(s). This feature mainly appears for hotel searches, but you may also spot it for other types of queries, such as “books for sale” or “cars for sale.”

compare_websites google

In DataForSEO SERP API responses, each website from the compare_sites feature is returned as a structured item – compare_sites_element. Each such item contains a title, image URL, domain and source URL information.

Here’s an example:

    "type": "compare_sites",
    "rank_group": 1,
    "rank_absolute": 2,
    "position": "left",
    "xpath": "/html[1]/body[1]/div[4]/div[1]/div[13]/div[1]/div[2]/div[2]/div[1]/div[1]/div[2]/div[1]",
    "title": "Places sites",
    "items": [
            "type": "compare_sites_element",
            "title": "THE 5 BEST Hilton Hotels in Paris, France - Tripadvisor",
            "url": "https://www.tripadvisor.com/Hotels-g187147-zfb9204-Paris_Ile_de_France-Hotels.html",
            "domain": "www.tripadvisor.com",
            "image_url": "https://api.dataforseo.com/cdn/i/06071216-1535-0139-0000-161e6af13fd1:0",
            "source": "Tripadvisor"
            "type": "compare_sites_element",
            "title": "The 10 best Hilton hotels in Paris, France | Booking.com",
            "url": "https://www.booking.com/hilton/city/fr/paris.html",
            "domain": "www.booking.com",
            "image_url": "https://api.dataforseo.com/cdn/i/06071216-1535-0139-0000-161e6af13fd1:1",
            "source": "Booking.com"
            "type": "compare_sites_element",
            "title": "Best Hilton Hotels Near Me",
            "url": "https://www.yelp.com/nearme/hilton-hotels",
            "domain": "www.yelp.com",
            "image_url": "https://api.dataforseo.com/cdn/i/06071216-1535-0139-0000-161e6af13fd1:2",
            "source": "Yelp"
            "type": "compare_sites_element",
            "title": "Tous les hôtels Hilton à Paris",
            "url": "https://www.hotelaparis.com/chaines-hotelieres-paris/hotels-hilton-paris.html",
            "domain": "www.hotelaparis.com",
            "image_url": "https://api.dataforseo.com/cdn/i/06071216-1535-0139-0000-161e6af13fd1:3",
            "source": "Hotelaparis.com"
            "type": "compare_sites_element",
            "title": "IHG Hotels & Resorts – Book hotels online at 6,000+ destinations worldwide.",
            "url": "https://www.ihg.com/hotels/us/en/reservation",
            "domain": "www.ihg.com",
            "image_url": "https://api.dataforseo.com/cdn/i/06071216-1535-0139-0000-161e6af13fd1:4",
            "source": "IHG"
    "rectangle": null

We hope this update enhances your experience with the DataForSEO SERP API and provides greater value to your search result analyses. Dive into the details by checking out our updated documentation or learn more about the Compare Sites feature and its elements in our Visual Guide to SERP Features.

Embed DataForSeo widget on your website

Embed code: