We’re glad to inform you about an update in our Google SERP API!
We’ve expanded its capabilities with the support of a new inner element from the Knowledge Graph SERP feature – knowledge_graph_hotels_booking_item
.
Here’s an example of how this element appears in the structure of knowledge_graph
item in the SERP API responses.
{
"type": "knowledge_graph",
"rank_group": 1,
"rank_absolute": 1,
"position": "right",
"xpath": "/html[1]/body[1]/div[5]/div[1]/div[12]/div[2]/div[1]/div[1]",
"title": "Hôtel Clairefontaine Paris",
"subtitle": "3-star tourist hotel",
"description": null,
"card_id": null,
"url": "http://www.hotelclairefontaine.com/",
"image_url": null,
"logo_url": null,
"cid": "12565942290286002937",
"items": [
{
"type": "knowledge_graph_hotels_booking_item",
"rank_group": 0,
"rank_absolute": 0,
"position": "left",
"xpath": "/html[1]/body[1]/div[5]/div[1]/div[12]/div[2]/div[1]/div[1]/div[2]/div[1]/div[3]/div[1]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/div[5]/div[1]",
"title": "Compare prices",
"date_from": "2023-01-18",
"date_to": "2023-01-20",
"data_attrid": "kc:/local:hotel booking",
"items": [
{
"type": "knowledge_graph_hotels_booking_element",
"source": "Hôtel Clairefontaine Paris",
"description": "· Official website",
"url": "https://www.secure-hotel-booking.com/DirectClick/google-cpa/CheckAvailability?hotelId%253D12671%2526arrivalDate%253D2024-01-18%2526nights%253D2%2526adults%253D2%2526roomCount%253D1%2526roomId%253D38404%2526rateId%253D40768%2526rateCode%253DRACKPRI%2526be%253DJBXS%2526language%253Den%2526verification%253Dfalse%2526v%253Dlocaluniversal%2526cur%253DGBP%2526bookingSource%253DGHACP%2526device%253Ddesktop%2526organicLink%253Dfalse",
"domain": "www.secure-hotel-booking.com",
"price": {
"current": 134,
"regular": null,
"max_value": null,
"currency": "GBP",
"is_price_range": false,
"displayed_price": "£134"
},
"is_paid": true
},
{
"type": "knowledge_graph_hotels_booking_element",
"source": "Booking.com",
"description": null,
"url": "https://www.booking.com/hotel/fr/ha-tel-clairefontaine.html?checkin%253D2024-01-18%2526checkout%253D2024-01-20%2526group_adults%253D2%2526req_adults%253D2%2526show_room%253D37123902_326752899_0_2_0%2526lang%253Den%2526selected_currency%253DGBP%2526exrt%253D0.87105292%2526ext_price_total%253D387.03%2526ext_price_tax%253D41.14%2526xfc%253DEUR%2526hca%253Dm%2526group_children%253D0%2526req_children%253D0%2526%2526no_rooms%253D1%2526ts%253D1698053295%2526edgtid%253DS4z8frInQSuHMFK1zJlPAA%2526efpc%253DQ2uApESzKh8%2526utm_source%253Dmetagha%2526utm_medium%253Dlocaluniversal%2526utm_campaign%253DGB%2526utm_term%253Dhotel-371239%2526utm_content%253Ddev-desktop_los-2_bw-87_dow-Thursday_defdate-1_room-0_gstadt-2_rateid-public_aud-0_gacid-6623578758_mcid-10_ppa-0_clrid-0_ad-1_gstkid-0_checkin-20240118_ppt-Ed%2526aid%253D356930%2526label%253Dmetagha-link-LUGB-hotel-371239_dev-desktop_los-2_bw-87_dow-Thursday_defdate-1_room-0_gstadt-2_rateid-public_aud-0_gacid-6623578758_mcid-10_ppa-0_clrid-0_ad-1_gstkid-0_checkin-20240118_ppt-Ed_lp-1006886_r-13617774141659771019%2526gclid%253D%257Bgclid%257D",
"domain": "www.booking.com",
"price": {
"current": 194,
"regular": null,
"max_value": null,
"currency": "GBP",
"is_price_range": false,
"displayed_price": "£194"
},
"is_paid": true
}
],
"rectangle": null
}
],
"rectangle": null
}
Now you can access and integrate detailed information about accommodation bookings right from the Knowledge Graph data in Google SERPs. This enhancement opens up incredible possibilities for travel and accommodation-related searches, providing users with richer, more insightful results.
Visit our documentation to review the updated response structure in detail.