Seller offers by barcode or catalog ID
curl --request GET \
--url https://scrapebadger.com/v1/google/shopping/offers \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/google/shopping/offers"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://scrapebadger.com/v1/google/shopping/offers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/google/shopping/offers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/google/shopping/offers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/google/shopping/offers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/google/shopping/offers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"barcode": "<string>",
"catalog_id": "<string>",
"total_offers": 123,
"resolved_query": "<string>",
"product_title": "<string>",
"offers": [
{
"title": "<string>",
"position": 123,
"source": "<string>",
"price": {
"value": 123,
"currency": "<string>",
"extracted": "<string>"
},
"extracted_price": 123,
"link": "<string>",
"delivery": "<string>",
"extensions": [
"<string>"
],
"rating": 123
}
]
}Shopping
Seller offers
Get the seller offers Google Shopping lists for one product, by catalog ID or barcode.
GET
/
v1
/
google
/
shopping
/
offers
Seller offers by barcode or catalog ID
curl --request GET \
--url https://scrapebadger.com/v1/google/shopping/offers \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/google/shopping/offers"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://scrapebadger.com/v1/google/shopping/offers', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/google/shopping/offers",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/google/shopping/offers"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/google/shopping/offers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/google/shopping/offers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"barcode": "<string>",
"catalog_id": "<string>",
"total_offers": 123,
"resolved_query": "<string>",
"product_title": "<string>",
"offers": [
{
"title": "<string>",
"position": 123,
"source": "<string>",
"price": {
"value": 123,
"currency": "<string>",
"extracted": "<string>"
},
"extracted_price": 123,
"link": "<string>",
"delivery": "<string>",
"extensions": [
"<string>"
],
"rating": 123
}
]
}Returns the sellers Google Shopping lists for one product: one entry per merchant
For a product’s full detail (description, specs, images, variants) together with its merchant offers, use Immersive product detail with
source, each with its own price and link. Pass exactly one of catalog_id or barcode.
A call costs 25 credits, whichever identifier you pass.
Identifying the product
catalog_id: Google’s Shopping catalog identifier. A Shopping search result carries it ascatalog_idwhen Google ships it on that page, and a Google Shopping product URL carries it asprds=catalogid:<id>. The sellers are read from Google’s product page, so there is no lookup step and no doubt about which product you get. Up to 60 offers come back, andtotal_offerssays how many sellers Google lists.barcode: a GTIN-8, UPC-A, EAN-13 or GTIN-14. Google Shopping does not match raw barcodes, so the barcode is first resolved to a product through a Google web search. The match is returned asresolved_query, and the offers come from a Shopping search for it.
cURL
curl "https://scrapebadger.com/v1/google/shopping/offers?catalog_id=762120719996356571&gl=de&hl=de" \
-H "x-api-key: YOUR_API_KEY"
Offer fields
| Field | Description |
|---|---|
offers[].source | The merchant name, for example Walmart or Best Buy. |
offers[].price | value, currency and extracted (the price as Google shows it). |
offers[].link | The merchant’s product page URL, resolved from Google’s redirect. If Google does not release the destination in time, it is Google’s redirect (https://www.google.com/goto?url=…), which still opens the merchant page in a browser. |
offers[].delivery | Shipping line as Google shows it. |
offers[].extensions | Availability, shipping and returns lines. |
include_offers=true. The Shopping offers guide has more examples.Query Parameters
Response
Successful Response
Response for GET /v1/google/shopping/offers.

