curl --request GET \
--url https://scrapebadger.com/v1/google/products/detail \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/google/products/detail"
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/products/detail', 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/products/detail",
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/products/detail"
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/products/detail")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/google/products/detail")
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{
"title": "<string>",
"description": "<string>",
"brand": "<string>",
"rating": 123,
"reviews_count": 123,
"price_range": "<string>",
"sellers": [
{
"name": "<string>",
"price": "<string>",
"link": "<string>",
"shipping": "<string>"
}
],
"specs": {},
"images": [
"<string>"
],
"product_id": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Immersive product detail
Get deep product details from Google’s immersive product page.
curl --request GET \
--url https://scrapebadger.com/v1/google/products/detail \
--header 'x-api-key: <api-key>'import requests
url = "https://scrapebadger.com/v1/google/products/detail"
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/products/detail', 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/products/detail",
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/products/detail"
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/products/detail")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/google/products/detail")
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{
"title": "<string>",
"description": "<string>",
"brand": "<string>",
"rating": 123,
"reviews_count": 123,
"price_range": "<string>",
"sellers": [
{
"name": "<string>",
"price": "<string>",
"link": "<string>",
"shipping": "<string>"
}
],
"specs": {},
"images": [
"<string>"
],
"product_id": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Identifying the product
This endpoint does not take an arbitraryproduct_id. To look a product up you must supply its gpcid — Google’s Shopping product identifier — together with the original search query q that surfaced it. Pass the gpcid value in the product_id parameter:
curl "https://scrapebadger.com/v1/google/products/detail?product_id=12337842083609640743&q=wireless+earbuds" \
-H "x-api-key: YOUR_API_KEY"
gpcid is returned as the gpcid (also surfaced as product_id) field on every /v1/google/shopping/search result tile. The q is required because Google’s RPC re-renders the SERP for that exact query to mint the session tokens used to fetch the detail page — so the product must be discoverable via q.page_token for new integrations. Each /v1/google/shopping/search tile also returns a bundled page_token that encodes the gpcid, q, gl, hl, and domain for you. Passing page_token alone takes precedence over the legacy product_id + q form, so you don’t have to track the original query yourself.Authorizations
Query Parameters
Google Shopping product identifier (gpcid). Returned as product_id/gpcid on /shopping/search tiles.
Original search query that surfaced the product. Required by Google's /async/oapv RPC — the page-level ei/xsrf and per-tile oapvfc tokens are extracted from the SERP Google renders for this exact query, so the product must be discoverable via this query.
Country code (ISO 3166 alpha-2). Defaults to the country implied by domain (e.g. google.com.au → au), falling back to us when domain doesn't carry a country hint.
Language code.
Google domain ("google.com" / "google.co.uk" / …) — used to localise the SERP render that produces the session tokens.
When true, return the full merchant-offer list with deep product URLs for every merchant Google ships an offer-block for. Offers come from the primary oapv response (top ~5 panel merchants: DICK'S, Kohl's, Zappos, etc.) plus a parallel paginated fan-out of /async/oapv with async_context=MORE_STORES at offsets sori=5..60 — which surfaces an additional ~50 sellers including GOAT, eBay sub-sellers, Macy's, StockX, Poshmark, Flight Club, etc. (+5 parallel RPCs, ~1 s wall-clock).
When true, also fetch size/colour variants via /async/toy_v (+1 secondary RPC, ~1 s).
When true (only meaningful with include_offers=true), browser-render the Shopping SERP so additional merchant deep URLs surface from the rendered HTML. Best-effort: catalog-feed retailers (DSW / Famous Footwear / Shoe Carnival / Myer / rebel) get deep URLs; paid-Shopping-Ads merchants (Zappos, GOAT, Academy, etc.) still get their homepage because their click-through URLs are signed by Google's aclk redirect and can't be reproduced server-side. Adds ~5–8 s latency.
Response
Successful Response
Response for GET /api/v1/products/detail.

