How to use Google Shopping API for Competitive Pricing Analysis
When presented with identical items to choose from, shoppers usually opt for the one with the lowest price. Thus, it’s critical for any seller to run a competitive pricing analysis before setting prices for their products.
DataForSEO’s Google Shopping API offers two endpoints for conducting a competitive pricing analysis — Products and Sellers.
1 The Products endpoint provides a list of products for the specified query, along with valuable product information.
POST https://api.dataforseo.com/v3/merchant/google/products/task_post
To send a request, specify a keyword with the commercial intent in the keyword
field and also include location_code
, location_name
, or location_coordinate
and language_name
or language_code
.
Your POST request should be structured as in the following example:
[
{
"language_code": "en",
"location_code": 2840,
"keyword": "iphone 17 pro"
}
]
In the API response, you will get the products Google displays for the specified query, with their prices to compare.
{
"version": "0.1.20251015",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0711 sec.",
"cost": 0,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "10161724-1535-0179-0000-b13984803dab",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0255 sec.",
"cost": 0,
"result_count": 1,
"path": [
"v3",
"merchant",
"google",
"products",
"task_get",
"advanced",
"10161724-1535-0179-0000-b13984803dab"
],
"data": {
"se_type": "products",
"se": "google",
"api": "merchant",
"function": "products",
"language_code": "en",
"location_code": 2840,
"keyword": "iphone 17 pro",
"device": "desktop",
"os": "windows"
},
"result": [
{
"keyword": "iphone 17 pro",
"type": "shopping",
"se_domain": "google.com",
"location_code": 2840,
"language_code": "en",
"check_url": "https://www.google.com/search?q=iphone%2017%20pro&hl=en&gl=US&udm=28&gws_rd=cr&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
"datetime": "2025-10-16 14:24:24 +00:00",
"spell": null,
"item_types": [
"google_shopping_serp"
],
"items_count": 40,
"items": [
{
"type": "google_shopping_serp",
"rank_group": 1,
"rank_absolute": 1,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[1]/li[1]",
"domain": null,
"title": "Apple iPhone 17 Pro",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=gid:9961958114952839788&prds=gpcid:9961958114952839788,rds:PC_9961958114952839788%7CPROD_PC_9961958114952839788,catalogid:1123534174992467175,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 1299,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": "1123534174992467175",
"data_docid": null,
"seller": "Apple",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": {
"type": "rating_element",
"position": "left",
"rating_type": "Max5",
"value": 4.7,
"votes_count": 734,
"rating_max": 5
},
"shop_rating": null,
"product_images": [
"https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcQGAwEsFNliufWmfYbTI3uNG0_6h4zmRjXz8ff9aRIqDd9B-QoxBvfitl6BFnsS57L0uxuzc5eMMeQBpe2xCc5VUv32rkB69fJthua4toeg0-hCZjHxx7PCDg"
],
"shop_ad_aclk": null,
"delivery_info": {
"delivery_message": "Free next-day delivery",
"delivery_price": null
},
"stores_count_info": null,
"gid": "9961958114952839788"
},
{
"type": "google_shopping_serp",
"rank_group": 2,
"rank_absolute": 2,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[2]/li[1]",
"domain": null,
"title": "Apple iPhone 17 Pro Max",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=gid:5141485329231317038&prds=gpcid:5141485329231317038,rds:PC_5141485329231317038%7CPROD_PC_5141485329231317038,catalogid:10935984542125885098,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 1599,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": "10935984542125885098",
"data_docid": null,
"seller": "Apple",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": {
"type": "rating_element",
"position": "left",
"rating_type": "Max5",
"value": 4.3,
"votes_count": 687,
"rating_max": 5
},
"shop_rating": null,
"product_images": [
"https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcRpUSMeAsqd589UZhzQMfHiSPtKfm7CFP_LJMHL8OfcsZ_aE7jBpED9TxRAAu2M4IUiAWaHmgJsbaNxaSftg1csz50-j5RKZUyLb0y8af4AQyYvxDrXwFwg"
],
"shop_ad_aclk": null,
"delivery_info": {
"delivery_message": "Free next-day delivery",
"delivery_price": null
},
"stores_count_info": null,
"gid": "5141485329231317038"
},
{
"type": "google_shopping_serp",
"rank_group": 3,
"rank_absolute": 3,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[3]/li[1]",
"domain": null,
"title": "Apple iPhone 17",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=gid:6027158597472037202&prds=gpcid:6027158597472037202,rds:PC_6027158597472037202%7CPROD_PC_6027158597472037202,catalogid:9752551043032087109,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 1029,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": "9752551043032087109",
"data_docid": null,
"seller": "Apple",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": {
"type": "rating_element",
"position": "left",
"rating_type": "Max5",
"value": 4.7,
"votes_count": 605,
"rating_max": 5
},
"shop_rating": null,
"product_images": [
"https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcTo2Y8YkxqY7blMwAkiFHRv4oWJHUvrcOeL5syCc8ofqO3lN05QLuz0i-TvxJdGxMpw8kmMH50xVC_RWhIdZyJuk4gsXkMZ25GBgOffhz9Izz8bLTDY5tnaCfw"
],
"shop_ad_aclk": null,
"delivery_info": {
"delivery_message": "Free next-day delivery",
"delivery_price": null
},
"stores_count_info": null,
"gid": "6027158597472037202"
},
{
"type": "google_shopping_serp",
"rank_group": 4,
"rank_absolute": 4,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[4]/li[1]",
"domain": null,
"title": "Apple iPhone 17 Pro",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=pid:10052764502278375349&prds=productid:10052764502278375349,pvo:3,pvt:hg&hl=en&gl=US",
"tags": [
"5% OFF"
],
"price": 950,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": null,
"data_docid": "10052764502278375349",
"seller": "Mercari",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": null,
"shop_rating": null,
"product_images": [
"https://encrypted-tbn2.gstatic.com/shopping?q=tbn:ANd9GcQJKZxstsKTVTHri3DEvKTbXauAaJ22yipV6LBcm1pGTgqP6zelznPBTcm4ciUhD42mtHjgrhdJCm1sxmc6ipPxlO2wybeZgjgMHZYpGig1VCeKyGjziTAcxw"
],
"shop_ad_aclk": null,
"delivery_info": {
"delivery_message": "Free delivery",
"delivery_price": null
},
"stores_count_info": null,
"gid": null
},
{
"type": "google_shopping_serp",
"rank_group": 5,
"rank_absolute": 5,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[5]/li[1]",
"domain": null,
"title": "iPhone 17 Pro Max",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=pid:17699597896494074280&prds=productid:17699597896494074280,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 1199,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": null,
"data_docid": "17699597896494074280",
"seller": "Optimum Mobile",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": {
"type": "rating_element",
"position": "left",
"rating_type": "Max5",
"value": 4.3,
"votes_count": 687,
"rating_max": 5
},
"shop_rating": null,
"product_images": [
"https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcTN3MUt8jMNK-IwvBF4OkRfc1NFv5J5DDVUVyUu7ZGzSLXAynqDx4tLg5ZO2ti_YdObeACkcMOWTzG6EWTDMJhYMjPZ8u1tjZ2IooJXmto"
],
"shop_ad_aclk": null,
"delivery_info": null,
"stores_count_info": null,
"gid": null
},
{
"type": "google_shopping_serp",
"rank_group": 6,
"rank_absolute": 6,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[6]/li[1]",
"domain": null,
"title": "Apple iPhone 17 Pro 512GB",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=pid:11888738339892073931&prds=productid:11888738339892073931,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 950,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": null,
"data_docid": "11888738339892073931",
"seller": "Mercari",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": null,
"shop_rating": null,
"product_images": [
"https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcQieIXiGI0g3ESrYcoGUzHJYoCJTc9kc_jqDU6SBhnZipcGTOu_1pZ2a8kXOc9GpWpsEQNDyr18M5I8Eajt80E8Sng0E75vHsj5HOMnwfc"
],
"shop_ad_aclk": null,
"delivery_info": {
"delivery_message": "Free delivery",
"delivery_price": null
},
"stores_count_info": null,
"gid": null
},
{
"type": "google_shopping_serp",
"rank_group": 7,
"rank_absolute": 7,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[7]/li[1]",
"domain": null,
"title": "Lot Of 10 Apple Iphone 17 Pro Max Unlocked Mixed",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=pid:12531620381015405387&prds=productid:12531620381015405387,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 16380,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": null,
"data_docid": "12531620381015405387",
"seller": "eBay",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": null,
"shop_rating": null,
"product_images": [
"https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcQLC_618GZcauBw0KthZH6VZQSftwU3ggL_Xox3yqflJ_VStmtaUp87iyRwdOxOEFJeWtmsLyBpxtRy3FpcWfbnXj-rFjMxP_hl4gvu0wH4RV9OOM_1Hjae0w"
],
"shop_ad_aclk": null,
"delivery_info": null,
"stores_count_info": null,
"gid": null
},
{
"type": "google_shopping_serp",
"rank_group": 8,
"rank_absolute": 8,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[8]/li[1]",
"domain": null,
"title": "Apple iPhone 17 Pro Max",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=pid:7847047585218431551&prds=productid:7847047585218431551,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 1800,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": null,
"data_docid": "7847047585218431551",
"seller": "Mercari",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": null,
"shop_rating": null,
"product_images": [
"https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcQqSv1rkwTp2iCOUVPcDB-u9jAabMk1oHQPuNDCQRKWQNpEKXTWVOjEdO2Q0_ycW_D7bIYiAiRH6p2ubI5UlfxglFV31honMUaOUWOPOACIvURlwA24g11PsQ"
],
"shop_ad_aclk": null,
"delivery_info": {
"delivery_message": "Free delivery",
"delivery_price": null
},
"stores_count_info": null,
"gid": null
},
{
"type": "google_shopping_serp",
"rank_group": 9,
"rank_absolute": 9,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[9]/li[1]",
"domain": null,
"title": "iphone 17 Pro Max 256Gb",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=pid:13646271142095465165&prds=productid:13646271142095465165,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 1500,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": null,
"data_docid": "13646271142095465165",
"seller": "Whatnot",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": null,
"shop_rating": null,
"product_images": [
"https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcTN6eez2XRKQduVVJ8kDEwtsU5psVBozQyJm1Ki-Kmm3YRqmCfTSCeNHCZB1-lM_c4B5qn48KzooQGXXlexGwP3OMhL1n_Z2XnmJIKq3kk"
],
"shop_ad_aclk": null,
"delivery_info": null,
"stores_count_info": null,
"gid": null
},
{
"type": "google_shopping_serp",
"rank_group": 10,
"rank_absolute": 10,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[10]/li[1]",
"domain": null,
"title": "Apple iPhone 17 PRO MAX",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=pid:802768882770449585&prds=productid:802768882770449585,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 800,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": null,
"data_docid": "802768882770449585",
"seller": "Mercari",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": {
"type": "rating_element",
"position": "left",
"rating_type": "Max5",
"value": 4.3,
"votes_count": 687,
"rating_max": 5
},
"shop_rating": null,
"product_images": [
"https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcQw1gxN8bx6NtzArM_7OQi5X9WpbLSKqAH9XTTOxUMUV4QhhKr5GBatJ4kBEJBZJcXTvIgmoJRVDxrzIASBWxX0_aAn2-4t9j-F31OrWZA"
],
"shop_ad_aclk": null,
"delivery_info": {
"delivery_message": "Free delivery",
"delivery_price": null
},
"stores_count_info": null,
"gid": null
},
{
"type": "google_shopping_serp",
"rank_group": 11,
"rank_absolute": 11,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[1]/li[1]",
"domain": null,
"title": "Apple iPhone 17 Pro Max 2 TB Cosmic Orange",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=pid:11025228588737417899&prds=productid:11025228588737417899,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 1999,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": null,
"data_docid": "11025228588737417899",
"seller": "Visible",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": {
"type": "rating_element",
"position": "left",
"rating_type": "Max5",
"value": 4.3,
"votes_count": 687,
"rating_max": 5
},
"shop_rating": null,
"product_images": [
"https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcQ8bHEPK3LAe_up93SOHntuwr5KLnfF4rTE4aB_muFYh9qBZHhYZV8ZA-pNrdT4__7fkhMn4IAdcqFDBhgannGicmKBrqgXP7h2S46pbeYCzxo5W-mhyyjrFQ"
],
"shop_ad_aclk": null,
"delivery_info": {
"delivery_message": "Free delivery by Mon",
"delivery_price": null
},
"stores_count_info": null,
"gid": null
},
{
"type": "google_shopping_serp",
"rank_group": 12,
"rank_absolute": 12,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[2]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[2]/li[1]",
"domain": null,
"title": "Apple iPhone 17 Pro Max Sealed Dual ESIM USA Preorder",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=pid:10915794662881516299&prds=productid:10915794662881516299,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 1999.99,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": null,
"data_docid": "10915794662881516299",
"seller": "eBay",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": {
"type": "rating_element",
"position": "left",
"rating_type": "Max5",
"value": 4.3,
"votes_count": 687,
"rating_max": 5
},
"shop_rating": null,
"product_images": [
"https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcRNGBXHkMHcAqJRgt7YgWHqVJQnHLb2G0rU6RqjeCT68Ni8j6LH1nfZcjTB1OCwAwfYGmU9cnhl7BIT09UWxsSicek_-JcCXtUBSbbL8bKQVXSH72WNZGDe_Q"
],
"shop_ad_aclk": null,
"delivery_info": {
"delivery_message": "Free delivery by Wed",
"delivery_price": null
},
"stores_count_info": null,
"gid": null
},
{
"type": "google_shopping_serp",
"rank_group": 40,
"rank_absolute": 40,
"position": "left",
"xpath": "/html[1]/body[1]/div[2]/div[1]/div[8]/div[1]/div[2]/div[2]/div[1]/div[1]/div[1]/div[6]/div[1]/div[1]/g-card[1]/div[1]/div[1]/div[1]/div[1]/div[2]/product-viewer-group[1]/g-card[1]/div[1]/div[1]/div[1]/ul[1]/div[10]/li[1]",
"domain": null,
"title": "iPhone 17 Pro Crystal Silver Edition | Craft by Merlin 1 TB",
"description": null,
"url": null,
"shopping_url": "https://google.com/search?ibp=oshop&q=pid:3857854134931073394&prds=productid:3857854134931073394,pvo:3,pvt:hg&hl=en&gl=US",
"tags": null,
"price": 3524.37,
"price_multiplier": null,
"old_price": null,
"currency": "USD",
"product_id": null,
"data_docid": "3857854134931073394",
"seller": "Craftbymerlin",
"additional_specifications": null,
"reviews_count": null,
"is_best_match": false,
"product_rating": null,
"shop_rating": null,
"product_images": [
"https://encrypted-tbn1.gstatic.com/shopping?q=tbn:ANd9GcQjodiGL8pxFpoCFRV7Y-CPTVzZMJn1n5AM27loFtJXLdygq6QzvxB7uSuhbJotHOxWVfxkYzI9wVUpRukPSHJC0XAFfyE0H5Zea2W3-WO2-lXL3x_iiYPJTA"
],
"shop_ad_aclk": null,
"delivery_info": {
"delivery_message": "Free delivery",
"delivery_price": null
},
"stores_count_info": null,
"gid": null
}
]
}
]
}
]
}
2 The Sellers endpoint provides a list of sellers that list the specified product on Google Shopping.
POST https://api.dataforseo.com/v3/merchant/google/sellers/task_post
To send a request, do the following:
1. Specify one of the values: product_id
, data_docid
, or gid
. You can find these values in the response of the Google Shopping Products endpoint.
2. Set the location and language using location_code
, location_name
, or location_coordinate
and language_name
or language_code
, respectively.
Your POST request should be structured as in the following example:
[
{
"language_code": "en",
"location_code": 2840,
"product_id": "1123534174992467175"
}
]
In the API response, you will find the list of sellers that offer the specified product on Google Shopping, along with pricing information to compare.
{
"version": "0.1.20251015",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0279 sec.",
"cost": 0,
"tasks_count": 1,
"tasks_error": 0,
"tasks": [
{
"id": "10171733-1535-0183-0000-53d925c185ab",
"status_code": 20000,
"status_message": "Ok.",
"time": "0.0195 sec.",
"cost": 0,
"result_count": 1,
"path": [
"v3",
"merchant",
"google",
"sellers",
"task_get",
"advanced",
"10171733-1535-0183-0000-53d925c185ab"
],
"data": {
"se_type": "sellers",
"se": "google",
"api": "merchant",
"function": "sellers",
"language_code": "en",
"location_code": 2840,
"product_id": "1123534174992467175",
"device": "desktop",
"os": "windows"
},
"result": [
{
"product_id": "1123534174992467175",
"type": "shops_list",
"se_domain": "google.com",
"location_code": 2840,
"language_code": "en",
"check_url": "https://google.com/search?ibp=oshop&q=cid%3A1123534174992467175&gl=US&hl=en&udm=28&prds=catalogid:1123534174992467175,pvt:hg,pvo:3&&gws_rd=cr&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
"datetime": "2025-10-17 14:33:07 +00:00",
"title": "Apple iPhone 17 Pro",
"url": null,
"image_url": "https://encrypted-tbn3.gstatic.com/shopping?q=tbn:ANd9GcSJ61RibPFxz6Z1eFrhzQeXHPvFpGsCfqP3OT6-kZFwQIEWIXyqWficaHvTKRZE0RJUBAG9704vkUVjDp_8vQUvhhuMvTj8a64wxhWUJZdLusDiBHbUeTimUWs",
"rating": null,
"item_types": [
"shops_list"
],
"items_count": 23,
"items": [
{
"type": "shops_list",
"rank_group": 1,
"rank_absolute": 1,
"position": "left",
"xpath": null,
"domain": "www.apple.com",
"title": "Apple",
"url": "https://www.apple.com/us/xc/product/MG7N4LL/A?cppart=UNLOCKED&cid=aos-us-seo-pla-iphone",
"details": "iPhone 17 Pro 512GB Silver Unlocked- Apple",
"base_price": 1299,
"tax": null,
"shipping_price": null,
"total_price": 1299,
"currency": "USD",
"price_multiplier": null,
"displayed_payment_breakdown": null,
"seller_name": "Apple",
"rating": {
"type": "rating_element",
"position": "left",
"rating_type": "Max5",
"value": 4.681586,
"votes_count": 14604,
"rating_max": 5
},
"shop_ad_aclk": null,
"product_condition": null,
"product_annotation": "Best price"
},
{
"type": "shops_list",
"rank_group": 23,
"rank_absolute": 23,
"position": "left",
"xpath": null,
"domain": "www.walmart.com",
"title": "Walmart - Seller",
"url": "https://www.walmart.com/ip/Apple-iPhone-17-Pro-5G-512GB-Cricket-Wireless-Silver-Good/17953320502?wmlspartner=wlpa&selectedSellerId=7250",
"details": "used Pre-owned Apple iPhone 17 Pro 5G 512gb - Cricket Wireless - Silver (Good)",
"base_price": 1279.97,
"tax": null,
"shipping_price": null,
"total_price": 1279.97,
"currency": "USD",
"price_multiplier": null,
"displayed_payment_breakdown": null,
"seller_name": "Walmart - Seller",
"rating": null,
"shop_ad_aclk": null,
"product_condition": "Pre-owned",
"product_annotation": null
}
]
}
]
}
]
}