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

Subscribe To Our Newsletter

Back

SERP API is adapted to Google’s diversity change

September,27 2021 16:35:28

Improvement
SERP API
SERP API is adapted to Google’s diversity change

According to Google’s changes, multiple URLs of the same domains won’t appear in the search separately anymore. Google will group the results in the following way:

qoPlR
It will affect only organic results, not extra SERP features, particularly top stories, video snippets, images, carousels, or other vertical search features.

Therefore, we’ve started to support this change within Advanced SERP API. By default, this element will be a part of the regular organic listing. In the API response, you will find the related_result field containing data about the corresponding result:

{
  "type": "organic",
  "rank_group": 26,
  "rank_absolute": 30,
  "position": "left",
  "xpath": "/html[1]/body[1]/div[7]/div[1]/div[9]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[29]",
  "domain": "www.t-mobile.com",
  "title": "Apple iPhone 12 Pro 5G | 4 colors in 512GB, 256GB & 128GB",
  "url": "https://www.t-mobile.com/cell-phone/apple-iphone-12-pro",
  "cache_url": null,
  "related_search_url": null,
  "breadcrumb": "https://www.t-mobile.com › Phones › Apple",
  "is_image": false,
  "is_video": false,
  "is_featured_snippet": false,
  "is_malicious": false,
  "is_web_story": false,
  "description": "Get a great deal on the 5G-ready Apple iPhone 12 Pro. See all the features, specs, price and get it on T-Mobile.",
  "pre_snippet": null,
  "extended_snippet": "Rating: 4 · ‎231 reviews · ‎US$30.00 to US$899.99 · ‎In stock",
  "images": null,
  "amp_version": false,
  "rating": {
    "rating_type": "Max5",
    "value": 4,
    "votes_count": 231,
    "rating_max": 5
  },
  "price": {
    "current": 30,
    "regular": null,
    "max_value": 899.99,
    "currency": "USD",
    "is_price_range": true,
    "displayed_price": "US$30.00 to US$899.99"
  },
  "highlighted": null,
  "links": null,
  "faq": null,
  "extended_people_also_search": null,
  "about_this_result": {
    "type": "about_this_result_element",
    "url": "https://www.t-mobile.com/cell-phone/apple-iphone-12-pro",
    "source": "Wikipedia",
    "source_info": "T-Mobile is the brand name used by the mobile communications subsidiaries of the German telecommunications company Deutsche Telekom AG. The brand is also active in the Czech Republic, the Netherlands, Poland, and the United States.",
    "source_url": "https://en.wikipedia.org/wiki/T-Mobile",
    "language": "English",
    "location": null,
    "search_terms": [
      "apple",
      "iphone",
      "12"
    ],
    "related_terms": null
  },
  "related_result": [
    {
      "type": "related_result",
      "xpath": "/html[1]/body[1]/div[7]/div[1]/div[9]/div[1]/div[1]/div[2]/div[2]/div[1]/div[1]/div[29]/div[1]/div[2]/ul[1]/li[1]",
      "domain": "www.t-mobile.com",
      "title": "Apple iPhone 12 | 5 colors in 64GB & 128GB | T-Mobile",
      "url": "https://www.t-mobile.com/cell-phone/apple-iphone-12",
      "cache_url": null,
      "related_search_url": null,
      "breadcrumb": "https://www.t-mobile.com › Phones › Apple",
      "is_image": false,
      "is_video": false,
      "description": "iPhone 12. 5G to download movies on the fly and stream high-quality video. Beautifully bright 6.1-inch Super Retina XDR display. Ceramic Shield with 4x ...",
      "pre_snippet": null,
      "extended_snippet": null,
      "images": null,
      "amp_version": false,
      "rating": {
        "rating_type": "Max5",
        "value": 4.6,
        "votes_count": 30,
        "rating_max": 5
      },
      "price": {
        "current": 24.34,
        "regular": null,
        "max_value": 779.99,
        "currency": "USD",
        "is_price_range": true,
        "displayed_price": "US$24.34 to US$779.99"
      },
      "highlighted": null,
      "about_this_result": {
        "type": "about_this_result_element",
        "url": "https://www.t-mobile.com/cell-phone/apple-iphone-12",
        "source": "Wikipedia",
        "source_info": "T-Mobile is the brand name used by the mobile communications subsidiaries of the German telecommunications company Deutsche Telekom AG. The brand is also active in the Czech Republic, the Netherlands, Poland, and the United States.",
        "source_url": "https://en.wikipedia.org/wiki/T-Mobile",
        "language": "English",
        "location": null,
        "search_terms": [
          "apple",
          "iphone",
          "12"
        ],
        "related_terms": null
      },
      "timestamp": null
    }
  ],
  "timestamp": null,
  "rectangle": {
    "x": 180,
    "y": 5814,
    "width": 652,
    "height": 363
  }
}


 

If you want to track this related result as a separate organic element, you can set the field “group_organic_results” to false and we will distinguish them in the API response. In other words, if you set this field to false, the results will be displayed as two separate organic elements.

Feel free to check the documentation of Advanced SERP API below.

Learn more

Embed DataForSeo widget on your website


Embed code:
Preview: