API Hop Docs
Google Shopping endpoint reference
Search Google Shopping products, filters, product details and merchant offers.
Concurrency limit
AI and Data each share an account-wide pool of concurrent slots: 5 AI / 2 Data by default, adjusted by your subscription. Endpoint overrides still cannot exceed the category pool. Reaching either limit returns HTTP 429. Asynchronous tasks occupy a slot until execution ends.
GET /v1/google-shopping/search GET /v1/google-shopping/light GET /v1/google-shopping/filters GET /v1/google-shopping/product GET /v1/google-shopping/immersive-product Search Google Shopping products, filters, product details and merchant offers.
Authentication and billing
The default price is $0.0003 (300 credits) per successful request. Use your API Hop API key. Availability depends on active gateways and key permissions. Check the current catalog and your account for the price per successful request; account-specific pricing takes precedence. Successful empty results are billable. Failed requests release the credit reservation. Requests time out after 60 seconds, with no automatic retry or pagination. Settlement failures never repeat the upstream request.
Authorization: Bearer YOUR_API_KEYGoogle Shopping: Search products
GET https://api.apihop.ai/v1/google-shopping/search
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
query | string | Text to search for on the selected service. At most 8,192 UTF-8 bytes.; query: optional | coffee grinder |
country | string | Two-letter country or storefront code, such as us or gb.; country: optional; ^[A-Za-z]{2}$ | - |
language | string | Provider-supported language code, such as en.; language: optional | - |
page | integer | One-based page number.; page: optional; min: 1; max: 1000 | 1 |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
location | string | Location to search around, such as Austin, TX.; location: optional | - |
latitude | number | latitude; requires the other coordinate.; latitude: optional; min: -90; max: 90 | -90 |
longitude | number | longitude; requires the other coordinate.; longitude: optional; min: -180; max: 180 | -180 |
safe | string | Provider safe-search filtering.; safe: optional; active, off | active |
uule | string | Encoded Google location; cannot be combined with location or coordinates.; uule: optional; UTF-8 bytes: 4096 | - |
google_domain | string | Google country domain, such as google.com or google.co.uk.; google_domain: optional | - |
start | integer | Source result offset, starting at zero. The provider determines page size.; start: optional; min: 0; max: 1000 | 0 |
shoprs | string | Native Google filter token, or up to twenty tokens joined by ||. Supplies the query when query is omitted; named controls override corresponding filters.; shoprs: optional; UTF-8 bytes: 16384 | - |
min_price | number | Lower price bound in the source country currency. Overrides the corresponding shoprs bound.; min_price: optional; min: 0; max: 1000000000 | 0 |
max_price | number | Upper price bound in the source country currency. Overrides the corresponding shoprs bound.; max_price: optional; min: 0; max: 1000000000 | 0 |
sort_by | string | Price sorting: 1 for low to high, 2 for high to low. Overrides shoprs sorting.; sort_by: optional; 1, 2 | 1 |
free_shipping | boolean | Enable or disable the native free shipping filter, overriding shoprs.; free_shipping: optional | true |
on_sale | boolean | Enable or disable the native on sale filter, overriding shoprs.; on_sale: optional | true |
small_business | boolean | Enable or disable the native small business filter, overriding shoprs.; small_business: optional | true |
Validation rules
Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/latitude => longitude; longitude => latitudeNOT (page AND start)min_price <= max_pricequery OR shoprs: requireduule => NOT location AND NOT latitude AND NOT longitude
Examples
curl --get "https://api.apihop.ai/v1/google-shopping/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=coffee grinder"Google Shopping: Search products (light)
GET https://api.apihop.ai/v1/google-shopping/light
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
query | string | Text to search for on the selected service. At most 8,192 UTF-8 bytes.; query: optional | coffee grinder |
country | string | Two-letter country or storefront code, such as us or gb.; country: optional; ^[A-Za-z]{2}$ | - |
language | string | Provider-supported language code, such as en.; language: optional | - |
page | integer | One-based page number.; page: optional; min: 1; max: 1000 | 1 |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
location | string | Location to search around, such as Austin, TX.; location: optional | - |
latitude | number | latitude; requires the other coordinate.; latitude: optional; min: -90; max: 90 | -90 |
longitude | number | longitude; requires the other coordinate.; longitude: optional; min: -180; max: 180 | -180 |
safe | string | Provider safe-search filtering.; safe: optional; active, off | active |
uule | string | Encoded Google location; cannot be combined with location or coordinates.; uule: optional; UTF-8 bytes: 4096 | - |
google_domain | string | Google country domain, such as google.com or google.co.uk.; google_domain: optional | - |
start | integer | Source result offset, starting at zero. The provider determines page size.; start: optional; min: 0; max: 1000 | 0 |
shoprs | string | Native Google filter token, or up to twenty tokens joined by ||. Supplies the query when query is omitted; named controls override corresponding filters.; shoprs: optional; UTF-8 bytes: 16384 | - |
min_price | number | Lower price bound in the source country currency. Overrides the corresponding shoprs bound.; min_price: optional; min: 0; max: 1000000000 | 0 |
max_price | number | Upper price bound in the source country currency. Overrides the corresponding shoprs bound.; max_price: optional; min: 0; max: 1000000000 | 0 |
sort_by | string | Price sorting: 1 for low to high, 2 for high to low. Overrides shoprs sorting.; sort_by: optional; 1, 2 | 1 |
free_shipping | boolean | Enable or disable the native free shipping filter, overriding shoprs.; free_shipping: optional | true |
on_sale | boolean | Enable or disable the native on sale filter, overriding shoprs.; on_sale: optional | true |
small_business | boolean | Enable or disable the native small business filter, overriding shoprs.; small_business: optional | true |
Validation rules
Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/latitude => longitude; longitude => latitudeNOT (page AND start)min_price <= max_pricequery OR shoprs: requireduule => NOT location AND NOT latitude AND NOT longitude
Examples
curl --get "https://api.apihop.ai/v1/google-shopping/light" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=coffee grinder"Google Shopping: Get shopping filters
GET https://api.apihop.ai/v1/google-shopping/filters
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
query | string | Text to search for on the selected service. At most 8,192 UTF-8 bytes.; query: REQUIRED | coffee grinder |
country | string | Two-letter country or storefront code, such as us or gb.; country: optional; ^[A-Za-z]{2}$ | - |
language | string | Provider-supported language code, such as en.; language: optional | - |
location | string | Location to search around, such as Austin, TX.; location: optional | - |
latitude | number | latitude; requires the other coordinate.; latitude: optional; min: -90; max: 90 | -90 |
longitude | number | longitude; requires the other coordinate.; longitude: optional; min: -180; max: 180 | -180 |
uule | string | Encoded Google location; cannot be combined with location or coordinates.; uule: optional; UTF-8 bytes: 4096 | - |
google_domain | string | Google country domain, such as google.com or google.co.uk.; google_domain: optional | - |
shoprs | string | Native Google filter token, or up to twenty tokens joined by ||. Supplies the query when query is omitted; named controls override corresponding filters.; shoprs: optional; UTF-8 bytes: 16384 | - |
device | string | Device presentation for the source request.; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
Validation rules
Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/latitude => longitude; longitude => latitudeuule => NOT location AND NOT latitude AND NOT longitude
Examples
curl --get "https://api.apihop.ai/v1/google-shopping/filters" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=coffee grinder"Google Shopping: Get product details
GET https://api.apihop.ai/v1/google-shopping/product
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
id | string | Use product_id from an item in a Google Shopping result.; id: optional | 17755277695162489284 |
query | string | Keep the query that returned this product_id so Google can supply its current product details. At most 8,192 UTF-8 bytes.; query: optional | sony wh-1000xm5 |
country | string | Two-letter country or storefront code, such as us or gb.; country: optional; ^[A-Za-z]{2}$ | - |
language | string | Provider-supported language code, such as en.; language: optional | - |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
page_token | string | Product selection token returned by Google Shopping or product results. Carries the original product, offer, query and locale.; page_token: optional; UTF-8 bytes: 16384 | - |
offer_view | boolean | Include the selected merchant offer view for a product ID lookup.; offer_view: optional | true |
Validation rules
Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/id XOR page_token: required; page_token => NOT query AND NOT country AND NOT language AND NOT offer_viewid: /^[0-9]{1,30}$/Tokens: copy the exact token from a fresh response; do not invent or reuse expired tokens
Examples
curl --get "https://api.apihop.ai/v1/google-shopping/product" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=17755277695162489284" \
--data-urlencode "query=sony wh-1000xm5"Google Shopping: Get immersive product details
GET https://api.apihop.ai/v1/google-shopping/immersive-product
Request parameters
| Field | Type | Constraints | Example |
|---|---|---|---|
page_token | string | Product selection token returned as immersive_product_page_token by Google Shopping.; page_token: REQUIRED; UTF-8 bytes: 16384 | gprod1.eyJ2IjoxLCJpZCI6IjE3NzU1Mjc3Njk1MTYyNDg5Mjg0IiwicSI6InNvbnkgd2gtMTAwMHhtNSIsImdsIjoidXMiLCJobCI6ImVuIn0 |
more_stores | boolean | Request up to thirteen stores, subject to source availability.; more_stores: optional | true |
next_page_token | string | Copy the opaque next_page_token from the previous response using the same account, search parameters, device, and result limit. Tokens expire after one hour; restart pagination if rejected or expired.; next_page_token: optional; UTF-8 bytes: 24576 | - |
zero_trace | boolean | Do not archive source or parsed response artifacts.; zero_trace: optional | true |
Validation rules
Send query parameters only, without a request body. Unknown, repeated, empty or invalid values are rejected. Only JSON responses are supported. No automatic pagination or retry is performed. The rules below use AND, OR, XOR (exactly one), NOT and => (requires).
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/page_token: copy immersive_product_page_token from a fresh search result; next_page_token requires more_stores = trueTokens: copy the exact token from a fresh response; do not invent or reuse expired tokens
Examples
curl --get "https://api.apihop.ai/v1/google-shopping/immersive-product" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "page_token=gprod1.eyJ2IjoxLCJpZCI6IjE3NzU1Mjc3Njk1MTYyNDg5Mjg0IiwicSI6InNvbnkgd2gtMTAwMHhtNSIsImdsIjoidXMiLCJobCI6ImVuIn0"Responses and errors
The native JSON response and numeric precision are preserved. The example below illustrates an empty successful result, not a live call. HTTP 400 means invalid input; 401 authentication required; 402 insufficient credit; 403 unavailable or unauthorized; 405 unsupported method; 429 rate limit; 5xx service or upstream failure. Keep X-Request-Id for diagnosis.
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}