| Field | Type | Description |
|---|---|---|
| shopping_filters | array | List of shopping filters |
| Field | Type | Description |
|---|---|---|
| type | string | Filter category |
| input_type | string | Input type |
| options | array | Filter options |
| Value | Description |
|---|---|
| link | Standard filter |
| link_with_icon | Filter with icon |
| Field | Type | Description |
|---|---|---|
| text | string | Filter name |
| serpapi_link | string | SerpApi query link |
| shoprs | string | Google Shopping filter parameter |
{
"shopping_filters": [
{
"type": "Delivery",
"input_type": "link_with_icon",
"options": [
{
"text": "Nearby",
"serpapi_link": "https://www.google.com/search?q=pizza+nearby&udm=28",
"shoprs": "CAEYAyoFcGl6emEyDAgDEgZOZWFyYnkYAli7miFgAg"
},
{
"text": "On sale",
"serpapi_link": "https://www.google.com/search?q=pizza+sale&udm=28",
"shoprs": "CAESBEoCGAEYBioFcGl6emEyEwgGEgdPbiBzYWxlGAIiBEoCGAFYu5ohYAI"
}
]
},
{
"type": "Category",
"input_type": "link",
"options": [
{
"text": "Pizza Sauce",
"serpapi_link": "https://www.google.com/search?q=pizza+sauce",
"shoprs": "CAEYCSoFcGl6emEyDwgJEgtQaXp6YSBTYXVjZWAC"
}
]
}
]
}| Field | Type | Description |
|---|---|---|
| shopping | array | List of products |
| position | number | Position of the product in the shopping results |
| title | string | Product title |
| product_link | string | Product details search link |
| img_link | string | Product image (base64 or URL) |
| multiple_sources | boolean | Whether the product comes from multiple merchants |
| rating | number | Product rating |
| reviews | string | Review count |
{
"shopping": [
{
"position": 1,
"title": "Screamin' Sicilian Mother of Meat Pizza",
"product_link": "https://www.google.com/search?ibp=oshop&prds=catalogid:,headlineOfferDocid:,imageDocid:,rds:,gpcid:,mid:,pvt:&hl=en&gl=us&udm=28",
"img_link": "data:image/webp;base64,UklGRliVAABXRUJQVlA4IEyVAACwvAGdASqSAZIBPmkqkUWkI",
"multiple_sources": true,
"rating": 4.7,
"reviews": "2.9K"
},
{
"position": 6,
"title": "Screamin' Sicilian Holy Pepperoni Pizza",
"product_link": "https://www.google.com/search?ibp=oshop&prds=catalogid:,headlineOfferDocid:,imageDocid:,rds:,gpcid:,mid:,pvt:&hl=en&gl=us&udm=28",
"img_link": "https://example.com/product_image.jpg",
"multiple_sources": true,
"rating": 4.8,
"reviews": "1.5K"
}
]
}