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",
},
]
...
}
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"
]
},
...
],
...
}