Google Shopping
Retrieve shopping with the Google API. The request accepts a country code and a language code when provided. Use it for search visibility research or technical SEO. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
- Selected price
- $0.002 / callPublished pricing
- Sellers / APIs
- 2 / 4
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Google Shopping
Prepare your request, then continue with your agent.
Selected price
$0.002 / call
- Provider
- API
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
Response structure
shoppingobject[]deliverystringoffersstringpositionintegerpricestringproductIdstringratingnumberratingCountintegersourcestringtitlestring
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
shopping?: Array<{
delivery?: string;
offers?: string;
position?: number;
price?: string;
productId?: string;
rating?: number;
ratingCount?: number;
source?: string;
title?: string;
}>;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
| Google Shopping Product · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| Google Shopping Merchant URLs · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
| Google Shopping · POST · View API reference | $0.00015 / call | —Select to load statistics | —successP50— | |
Current Serper Shopping · POST · View API reference | $0.002 / call | — | —successP50— |
- Unit price
- $0.002
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.2
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/serper/shopping- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
'https://api.openany.si/v1/agent-apis/serper/shopping' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"num": 40,
"q": "apple inc"
}'Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
q | JSON request bodybody | string | Yes | Text query for this search. Supply a non-empty query for keyword search modes. |
gl | JSON request bodybody | string | No | Country code from the official selector. The UI initially selects us; server default is not verified. |
hl | JSON request bodybody | string | No | Language code from the official selector. The UI initially selects en; server default is not verified. |
page | JSON request bodybody | integer | No | Results page. UI starts at 1; each page is a separate single-query request. Server bounds are not published here. |
num | JSON request bodybody | integer | No | Result count. Images offers 10 or 100 with different prices; Shopping/Patents emit 40 in official generated code. enum: 40 |
Required markers inside a nested object or variant apply when that object or variant is used.
Sample response
Sample response · Configured HTTP 200; actual status is unverified. Example from the provider's documentation. Field values in your results will differ.
{
"shopping": [
{
"delivery": "$8.00 shipping",
"offers": "10+",
"position": 1,
"price": "$104.97",
"productId": "4195027484078128635",
"rating": 4.5,
"ratingCount": 1,
"source": "Nike",
"title": "Nike Air Max 97 GS 'White Metallic Silver'"
}
]
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Google Shopping
Retrieve shopping with the Google API. The request accepts a country code and a language code when provided. Use it for search visibility research or technical SEO. Choose an implementation and check its published request fields, examples, and usage pricing before integrating.
## Available implementations
litescrape · Google Shopping Product: https://openany.si/markets/apis/capabilities/google-shopping?offering=08738b3a-e06f-4c25-ba0d-86ff05d2225c · $0.00015 / call
litescrape · Google Shopping Merchant URLs: https://openany.si/markets/apis/capabilities/google-shopping?offering=7f8840e1-b06f-496c-b354-388452f9e49a · $0.00015 / call
litescrape · Google Shopping: https://openany.si/markets/apis/capabilities/google-shopping?offering=b08de6ff-e5b4-4d03-94d5-18f436c3e275 · $0.00015 / call
serper · Serper Shopping: https://openany.si/markets/apis/capabilities/google-shopping?offering=a69e56a2-bfc3-4e71-a43f-dae23651bfda · $0.002 / call
## Selected API contract
Documentation: https://openany.si/apis/a69e56a2-bfc3-4e71-a43f-dae23651bfda
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/serper/shopping
Price: $0.002 / call
Provider: serper
Contract revision: 4
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
## Prepared request
```bash
curl \
'https://api.openany.si/v1/agent-apis/serper/shopping' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"num": 40,
"q": "apple inc"
}'
```
## API contract
```json
{
"resource_type": "api",
"name": "Serper Shopping",
"endpoint": "https://api.openany.si/v1/agent-apis/serper/shopping",
"method": "POST",
"content_type": "application/json",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Text query for this search. Supply a non-empty query for keyword search modes.",
"location": "body",
"name": "q",
"nullable": false,
"pointer": "/q",
"required": true,
"type": "string"
},
{
"description": "Country code from the official selector. The UI initially selects us; server default is not verified.",
"location": "body",
"name": "gl",
"nullable": false,
"pointer": "/gl",
"required": false,
"type": "string"
},
{
"description": "Language code from the official selector. The UI initially selects en; server default is not verified.",
"location": "body",
"name": "hl",
"nullable": false,
"pointer": "/hl",
"required": false,
"type": "string"
},
{
"description": "Results page. UI starts at 1; each page is a separate single-query request. Server bounds are not published here.",
"location": "body",
"name": "page",
"nullable": false,
"pointer": "/page",
"required": false,
"type": "integer"
},
{
"description": "Result count. Images offers 10 or 100 with different prices; Shopping/Patents emit 40 in official generated code.",
"enum_values": [
40
],
"location": "body",
"name": "num",
"nullable": false,
"pointer": "/num",
"required": false,
"type": "integer"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "2000",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example (abridged; HTTP assumed)",
"request": {
"body": {
"num": 40,
"q": "apple inc"
},
"headers": {},
"path": {},
"query": {}
},
"response_body": {
"shopping": [
{
"delivery": "$8.00 shipping",
"offers": "10+",
"position": 1,
"price": "$104.97",
"productId": "4195027484078128635",
"rating": 4.5,
"ratingCount": 1,
"source": "Nike",
"title": "Nike Air Max 97 GS 'White Metallic Silver'"
}
]
}
}
]
}
```Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example (abridged; HTTP assumed)
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 5
Review these request fields before running. Keep the published provider and request method unchanged.
q- Text query for this search. Supply a non-empty query for keyword search modes.
gl- Country code from the official selector. The UI initially selects us; server default is not verified.
hl- Language code from the official selector. The UI initially selects en; server default is not verified.
page- Results page. UI starts at 1; each page is a separate single-query request. Server bounds are not published here.
num- Result count. Images offers 10 or 100 with different prices; Shopping/Patents emit 40 in official generated code.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/serper/shopping' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "num": 40, "q": "apple inc" }'Check the response
Sample response · Configured HTTP 200; actual status is unverified.
Sample response{ "shopping": [ { "delivery": "$8.00 shipping", "offers": "10+", "position": 1, "price": "$104.97", "productId": "4195027484078128635", "rating": 4.5, "ratingCount": 1, "source": "Nike", "title": "Nike Air Max 97 GS 'White Metallic Silver'" } ] }