Google Inline Shopping API
For some searches, Google organic results include inline shopping products. SerpApi is able to extract and make sense of this information. Inline shopping can contain block_position
, title
, price
, link
, source
, rating
, reviews
, thumbnail
, extensions
, second_hand_condition
, old_price
, extracted_old_price
, shipping
and more.
API Examples
JSON structure overview
{
...
"shopping_results": [
{
"position": "Integer - Item position",
"title": "String - Item title",
"link": "String - Link to the item",
"source": "String - Product source name",
"price": "String - Item price",
"extracted_price": "Float - Item price as a float",
"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')",
"second_hand_condition": "String - Description of condition when the product is second hand (Ex: 'used', or 'refurbished')",
"shipping": "String - Item shipping method",
"rating": "Float - Item rating",
"reviews": "Integer - Item review count",
"reviews_original": "String - Item review in text format",
"extensions": "Array - Item tags/extensions",
"thumbnail": "String - URL of an image",
// Available in mobile
"product_id": "String - Unique Google product identifier",
"serpapi_product_api": "String - SerpApi URL to fetch more information about this specific product",
},
]
...
}
Results for: jeans buy

{
...
"shopping_results": [
{
"position": 1,
"block_position": "top",
"title": "Wrangler Five Star Regular Fit Jean Dk Stonewash Size 34/L32",
"price": "$24.99",
"extracted_price": 24.99,
"link": "https://www.wrangler.com/shop/five-star-regular-fit-jeandk-stonewash3432-96501DS%3A34%3A32.html",
"source": "Wrangler",
"rating": 4.6,
"reviews": 1000,
"reviews_original": "1k+",
"thumbnail": "https://serpapi.com/searches/645b53c194489338fd994208/images/b3cf4756e442d01bfa5592cea2ec058f460b086ea72d3096e725ec7464da23f9.webp",
"extensions": [
"Cotton, Denim",
"Dark Stonewash",
"Regular",
"Zipper",
"Cotton, Denim",
"Dark Stonewash",
"Regular",
"Zipper"
]
},
{
"position": 2,
"block_position": "top",
"title": "Extremely Comfy Ultra Flexible Men’s Light Wash Piers Jean in 38 / 34",
"price": "$112.00",
"extracted_price": 112,
"link": "https://mugsyjeans.com/products/jeans-piers?variant=12230271303703",
"source": "Mugsy Jeans",
"shipping": "Free shipping",
"rating": 4.6,
"reviews": 464,
"reviews_original": "464",
"thumbnail": "https://serpapi.com/searches/645b53c194489338fd994208/images/b3cf4756e442d01bfa5592cea2ec058fbd2c2781a68604877f24c19e85cd6cff.webp",
"extensions": [
"Denim",
"Light Blue",
"Regular",
"Denim",
"Light Blue",
"Regular"
]
},
{
"position": 3,
"block_position": "top",
"title": "Men's New Zipper Distressed Straight Retro Jeans Best Sellers,Temu",
"price": "$24.37",
"extracted_price": 24.37,
"link": "https://www.temu.com/mens-new-zipper-distressed-straight-retro-jeans-best-sellers-g-601099512456532.html?_bg_fs=1&_p_rfs=1&_x_ads_channel=google&_x_ads_sub_channel=shopping&_x_login_type=Google&_x_vst_scene=adg&mrk_rec=1&sku_id=17592190829837&_x_ns_sku_id=17592190829837&_x_gmc_account=647900107&locale_override=211~en~USD",
"source": "Temu",
"rating": 4.8,
"reviews": 142,
"reviews_original": "142",
"thumbnail": "https://serpapi.com/searches/645b53c194489338fd994208/images/b3cf4756e442d01bfa5592cea2ec058f07bda40555745cb04333d83b1a78d861.webp",
"extensions": [
"Denim",
"Regular",
"Zipper",
"Denim",
"Regular",
"Zipper"
]
},
...
],
...
}
Results for: gaming mouse

{
...
"shopping_results": [
{
"position": 1,
"block_position": "top",
"title": "Redragon - For Gaming - M908 Impact RGB LED MMO Mouse with Side Buttons Optical Wired Gaming Mouse with 12,400DPI, High Precision, 20 Programmable Mouse Buttons",
"price": "$32.89",
"extracted_price": 32.89,
"link": "https://www.amazon.com/Redragon-Impact-Buttons-Precision-Programmable/dp/B07HC4NBQ8?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=A2FK9EP27A6ZE6",
"source": "Amazon.com",
"shipping": "Free shipping",
"thumbnail": "https://serpapi.com/searches/645b557194489338fd99420a/images/ac11292de2f58aa235fc8abbfd12e2154be6bc5c41efe9d9b6e73be9a7e022b1.webp",
"extensions": [
"Free shipping",
"Black",
"18 Button",
"Wired",
"12,400 DPI",
"Black",
"18 Button",
"Wired",
"12,400 DPI"
]
},
{
"position": 2,
"block_position": "top",
"title": "Logitech G - For Gaming - 502 Lightspeed Wireless Gaming Mouse with Hero 25K Sensor, PowerPlay Compatible, Tunable Weights and Lightsync RGB - Black",
"price": "$102.44",
"extracted_price": 102.44,
"link": "https://www.amazon.com/Logitech-Lightspeed-PowerPlay-Compatible-Lightsync/dp/B07L4BM851?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=A41J785T3S3V8",
"source": "Amazon.com",
"shipping": "Free shipping",
"thumbnail": "https://serpapi.com/searches/645b557194489338fd99420a/images/ac11292de2f58aa235fc8abbfd12e215eec7a01f80c20654d7ae25b45dd5c7f3.webp",
"extensions": [
"Free shipping",
"Black",
"11 Button",
"Wireless",
"25,600 DPI",
"Black",
"11 Button",
"Wireless",
"25,600 DPI"
]
},
{
"position": 3,
"block_position": "top",
"title": "Lenovo Legion M200 RGB Gaming Mouse,5-button design,up to 2400 DPI with 4 levels DPI switch,7-color circulating-backlight,braided cable,comfort for",
"price": "$15.95",
"extracted_price": 15.95,
"link": "https://www.amazon.com/Lenovo-5-button-circulating-backlight-intuitive-GX30P93886/dp/B076GZ3CFC?source=ps-sl-shoppingads-lpcontext&ref_=fplfs&psc=1&smid=A3GS21OP06NP2F",
"source": "Amazon.com",
"shipping": "Free shipping",
"thumbnail": "https://serpapi.com/searches/645b557194489338fd99420a/images/ac11292de2f58aa235fc8abbfd12e21506adebac67f72a969dcadb5dec4fcaa5.webp",
"extensions": [
"Free shipping",
"Black",
"5 Button",
"Wired",
"2,400 DPI",
"Black",
"5 Button",
"Wired",
"2,400 DPI"
]
},
{
"position": 4,
"block_position": "top",
"title": "Razer Basilisk X Hyperspeed Gaming Mouse",
"price": "$39.99",
"extracted_price": 39.99,
"link": "https://www.target.com/p/razer-basilisk-x-hyperspeed-gaming-mouse/-/A-79899587?ref=tgt_adv_xsf&AFID=google&CPNG=Electronics&adgroup=207-0",
"source": "Target",
"shipping": "Free shipping",
"rating": 4.5,
"reviews": 3000,
"reviews_original": "3k+",
"thumbnail": "https://serpapi.com/searches/645b557194489338fd99420a/images/ac11292de2f58aa235fc8abbfd12e21570574e0c07b281edb8bf5e4369edabae.webp",
"extensions": [
"Black",
"6 Button",
"Wireless",
"16,000 DPI",
"Black",
"6 Button",
"Wireless",
"16,000 DPI"
]
},
...
],
...
}
Results for: top sights Paris

{
...
"shopping_results": [
{
"position": 1,
"block_position": "top",
"title": "Skip-the-Line Paris Catacombs Special Access Tour",
"price": "$110",
"extracted_price": 110,
"link": "https://www.viator.com/en/paris/d479-ttd",
"source": "Viator",
"rating": 4.8,
"reviews": 480,
"reviews_original": "480",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSwerquAfaCx875DBgzPrVveXr2oKJneE_f1f10odCfOR1f&s=4",
"extensions": [
"Free cancellation"
]
},
{
"position": 2,
"block_position": "top",
"title": "Versailles Palace & Marie-Antoinette's Estate Full Day Private Tour from Paris",
"price": "$1,213",
"extracted_price": 1213,
"link": "https://www.viator.com/en/versailles/d763-ttd",
"source": "Viator",
"rating": 4.7,
"reviews": 17,
"reviews_original": "17",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQNfqmi9RJYRjswNoIZb4Jml3ieK-BCKXXJpCwPbpwUGe_c&s=4",
"extensions": [
"Free cancellation"
]
},
{
"position": 3,
"block_position": "top",
"title": "Skip the Line Paris Catacombs Tickets",
"price": "$56",
"extracted_price": 56,
"link": "https://www.thetourguy.com/tours/paris",
"source": "The Tour Guy",
"rating": 5.0,
"reviews": 11,
"reviews_original": "11",
"thumbnail": "https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcRSHFuB1EShcau2CMBy84qtRY1qW-Hwb3-mWz4yv-5rkssv&s=4",
"extensions": [
"Free cancellation"
]
},
...
],
...
}
Results for: macbook pro m4
on mobile

{
...
"shopping_results": [
{
"position": 1,
"block_position": "top",
"title": "Apple 14 inch MacBook Pro with M4 Chip 10-Core CPU / 10-Core Gpu, 24gb Memory, 1TB Ssd, Space Black, 2024",
"price": "$1,819.00",
"extracted_price": 1819,
"link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiX2Ii90cKLAxVeR0cBHaXPHpcYABATGgJxdQ&ae=2&co=1&gclid=EAIaIQobChMIl9iIvdHCiwMVXkdHAR2lzx6XEAQYASABEgK7kPD_BwE&sph=&sig=AOD64_1WgVrw2geUg43nIylsMVTufAtLHw&ctype=5&q=&ved=2ahUKEwjaqYS90cKLAxUFEFkFHaqcHkYQwg8oAHoECAcQDA&adurl=",
"product_id": "5152883601077389192",
"serpapi_product_api": "https://serpapi.com/search.json?engine=google_product&google_domain=google.com&product_id=5152883601077389192",
"source": "Walmart",
"rating": 4.8,
"reviews": 1000,
"reviews_original": "(1k+)",
"thumbnail": "https://serpapi.com/searches/67aeeff99656229aca98293f/images/7e9cede07b69010d828ac771fc5f738d69b624a46e275c6451be66b7139c325b.webp",
"publisher": "Shop now",
"publisher_link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiX2Ii90cKLAxVeR0cBHaXPHpcYABATGgJxdQ&ae=2&co=1&gclid=EAIaIQobChMIl9iIvdHCiwMVXkdHAR2lzx6XEAQYASABEgK7kPD_BwE&sph=&sig=AOD64_1WgVrw2geUg43nIylsMVTufAtLHw&ctype=5&q=&ved=2ahUKEwjaqYS90cKLAxUFEFkFHaqcHkYQ2OkJKAF6BAgHEBA&adurl="
},
{
"position": 2,
"block_position": "top",
"title": "Apple MacBook Pro 14.2\", M4 Chip with 10-Core CPU and 10-Core GPU, Late 2024 Space Black Standard Display 24GB 70W Adapter 1TB SSD",
"price": "$1,799.00",
"extracted_price": 1799,
"old_price": "1,999",
"extracted_old_price": 1999,
"link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiX2Ii90cKLAxVeR0cBHaXPHpcYABAeGgJxdQ&co=1&gclid=EAIaIQobChMIl9iIvdHCiwMVXkdHAR2lzx6XEAQYAiABEgJ3hPD_BwE&sig=AOD64_0RnDe-ddTvnLACeURcKu6fk_jTeg&ctype=5&q=&ved=2ahUKEwjaqYS90cKLAxUFEFkFHaqcHkYQwg8oAHoECAcQEg&adurl=",
"product_id": "5152883601077389192",
"serpapi_product_api": "https://serpapi.com/search.json?engine=google_product&google_domain=google.com&product_id=5152883601077389192",
"source": "Adorama",
"rating": 4.8,
"reviews": 1000,
"reviews_original": "(1k+)",
"thumbnail": "https://serpapi.com/searches/67aeeff99656229aca98293f/images/7e9cede07b69010d828ac771fc5f738d35ce1ffd29473ce03e8bb700664dfd7c.webp",
"extensions": [
"Sale"
],
"publisher": "Shop now",
"publisher_link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiX2Ii90cKLAxVeR0cBHaXPHpcYABAeGgJxdQ&co=1&gclid=EAIaIQobChMIl9iIvdHCiwMVXkdHAR2lzx6XEAQYAiABEgJ3hPD_BwE&sig=AOD64_0RnDe-ddTvnLACeURcKu6fk_jTeg&ctype=5&q=&ved=2ahUKEwjaqYS90cKLAxUFEFkFHaqcHkYQ2OkJKAN6BAgHEBg&adurl="
},
{
"position": 3,
"block_position": "top",
"title": "MacBook Pro M4 14-inch (latest 2024) - 16GB RAM, 512GB SSD - Space Black - Built for Apple Intelligence",
"price": "$1,599.00",
"extracted_price": 1599,
"link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiX2Ii90cKLAxVeR0cBHaXPHpcYABAOGgJxdQ&ae=2&co=1&gclid=EAIaIQobChMIl9iIvdHCiwMVXkdHAR2lzx6XEAQYAyABEgKOo_D_BwE&sig=AOD64_3XSv_8Rr3wglCrBvtwUeQuGxBUiw&ctype=5&q=&ved=2ahUKEwjaqYS90cKLAxUFEFkFHaqcHkYQwg8oAHoECAcQGg&adurl=",
"product_id": "4392703649099784031",
"serpapi_product_api": "https://serpapi.com/search.json?engine=google_product&google_domain=google.com&product_id=4392703649099784031",
"source": "Apple",
"thumbnail": "https://serpapi.com/searches/67aeeff99656229aca98293f/images/7e9cede07b69010d828ac771fc5f738d245ad58b9d4f275f16fd56b092d62296.webp",
"publisher": "Shop now",
"publisher_link": "https://www.google.com/aclk?sa=l&ai=DChcSEwiX2Ii90cKLAxVeR0cBHaXPHpcYABAOGgJxdQ&ae=2&co=1&gclid=EAIaIQobChMIl9iIvdHCiwMVXkdHAR2lzx6XEAQYAyABEgKOo_D_BwE&sig=AOD64_3XSv_8Rr3wglCrBvtwUeQuGxBUiw&ctype=5&q=&ved=2ahUKEwjaqYS90cKLAxUFEFkFHaqcHkYQ2OkJKAV6BAgHEBw&adurl="
},
...
],
...
}