Google Shopping Inline Results API
SerpApi Google Shopping API scrapes the position
, block_position
, title
, price
, extracted_price
, link
, source
, rating
, reviews
, extensions
, and thumbnail
of inline shopping results which are ads displayed on top and bottom of the result page.
JSON structure overview
{
...
"inline_shopping_results": [
{
"position": "Integer - Item position (Ex: 1)",
"block_position": "String - Block position on the page. Value can be `top` or `bottom`",
"title": "String - Item title",
"price": "String - Item price (Ex : '$14.99')",
"extracted_price": "Numeric - Item price as a float or integer (Ex: '14.99')".,
"old_price": "String - Item's price before discount (Ex: '$15.99')",
"extracted_old_price": "Numeric - Item's old price as float or integer (Ex: '15.99')",
"link": "String - Link to the Google item page",
"source": "String - Product source name (Ex: 'Black Rifle Coffee Company')",
"rating": "Numeric - Item rating (Ex: '4.5')",
"reviews": "Integer - Item review count (Ex: '1200')",
"extensions": "Array - Item's extensions",
"thumbnail": "String - Base64 data or URL of an image"
},
],
...
}
API Examples
Results for: q: iPhone

{
...
"inline_shopping_results": [
{
"position": 1,
"block_position": "top",
"title": "Apple iPhone 12 - 64GB - Blue - AT&T",
"price": "$0.00",
"extracted_price": 0,
"link": "https://www.google.com/aclk?sa=l&ai=DChcSEwjDzrXPivvvAhVn5uMHHftYDnYYABAPGgJ5bQ&sig=AOD64_3UZZEwYJU12HO3fOYyUDEgsZA39Q&ctype=46&q=&ved=0ahUKEwjNkrDPivvvAhVFbKwKHZBTBPsQww8IvwU&adurl=",
"source": "AT&T",
"rating": 4.5,
"reviews": 7551,
"thumbnail": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTeVaYnl3jQxS-TAx8Ndgl660NvO500qQZ3bLFTTSGJCQa7XEHPX5GW4I_705PmcdqdudJJ2kcUVFM2Vya3piQowRHxlcgw-FRwEATxa50&usqp=CAE",
"extensions": [
"+$26.67 for 30 mo",
"Pick up today",
"CURBSIDE PICKUP"
],
"tag": "CURBSIDE PICKUP"
},
{
"position": 2,
"block_position": "top",
"title": "Apple iPhone 12 - Blue - 128GB",
"price": "$49.99",
"extracted_price": 49.99,
"link": "https://www.google.com/aclk?sa=l&ai=DChcSEwjDzrXPivvvAhVn5uMHHftYDnYYABAGGgJ5bQ&sig=AOD64_2IeDTKs8Khtd21JRGYG3iYyszdwA&ctype=46&q=&ved=0ahUKEwjNkrDPivvvAhVFbKwKHZBTBPsQww8IuwU&adurl=",
"source": "T-Mobile",
"thumbnail": "https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcSVeIqxzivUV_kt5485t1yrcf0NGaDLUeuJM8OLrMVZec5CUz2G5hWTomRWOXOUuUlcagI0LzL94Lh7h4hLHV2-8kXKR6CjiKx8Do9qJ51deLSMlqVfNjHH&usqp=CAE",
"extensions": [
"+$34.58 for 24 mo",
"In store"
]
},
{
"position": 3,
"block_position": "top",
"title": "iPhone 12 - 128GB Blue - Unlocked & SIM free - Apple",
"price": "$879.00",
"extracted_price": 879,
"link": "https://www.google.com/aclk?sa=L&ai=DChcSEwjDzrXPivvvAhVn5uMHHftYDnYYABAEGgJ5bQ&sig=AOD64_2Uq5NUIgbWChCVpAsLH9VijMaEow&ctype=5&q=&ved=0ahUKEwjNkrDPivvvAhVFbKwKHZBTBPsQww8IxQU&adurl=",
"source": "Apple",
"shipping": "Free shipping",
"thumbnail": "https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcRIEcvJHvLlspuWBsa_lt-GrMMZJkYTPIVJzaOacqZse5lwRtSxclzqpSbbxz1nbnaUHLDyXHA28LiLgIP68g-kPgKMHCMs5hrRUAvKPR8C_PXD1bbTBTrtow&usqp=CAE"
},
...
...
}