{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Shopping Scraper",
    "description": "Google Shopping Scraper SD - Google Shopping Scraper is a product price tool that extracts Google Shopping results for any keyword and country: prices, sale prices, stores, ratings, reviews, images, delivery, plus every seller's offer and store link. Sort and price filters. No login.",
    "version": "1.0",
    "x-build-id": "q2bWevtcvb70ES2Mg"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/neuro-scraper~google-shopping-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-neuro-scraper-google-shopping-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/neuro-scraper~google-shopping-scraper/runs": {
      "post": {
        "operationId": "runs-sync-neuro-scraper-google-shopping-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/neuro-scraper~google-shopping-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-neuro-scraper-google-shopping-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "queries": {
            "title": "Search queries",
            "type": "array",
            "description": "What you would type into Google Shopping, one per line, e.g. \"wireless earbuds\", \"iPhone 17 case\", an EAN/GTIN such as 0194253401346, or a Google Shopping URL (https://www.google.com/search?q=...&udm=28). Each query is paged on its own.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country (gl)",
            "type": "string",
            "description": "Google country code of the shop market, e.g. us, gb, de, fr, ca, au, in. Sets the stores and the price currency.",
            "default": "us"
          },
          "language": {
            "title": "Language (hl)",
            "type": "string",
            "description": "Google interface language, e.g. en, de, fr, es. Changes product titles and labels where Google has translations.",
            "default": "en"
          },
          "googleDomain": {
            "title": "Google domain",
            "type": "string",
            "description": "Google domain to search, e.g. google.com, google.co.uk, google.de. google.com with the country above works for every market.",
            "default": "google.com"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "BEST_MATCH",
              "LOWEST_PRICE",
              "HIGHEST_PRICE",
              "TOP_RATED"
            ],
            "type": "string",
            "description": "Google Shopping's own sort menu (read from each results page).",
            "default": "BEST_MATCH"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only products from this price, in the country's currency (Google's own price filter; rows are checked too). 0 = no minimum.",
            "default": 0
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "Only products up to this price, in the country's currency (Google's own price filter; rows are checked too). 0 = no maximum.",
            "default": 0
          },
          "onSale": {
            "title": "On sale only",
            "type": "boolean",
            "description": "Google's 'On sale' filter; rows without a sale price or discount badge are also dropped.",
            "default": false
          },
          "freeShipping": {
            "title": "Free shipping only",
            "type": "boolean",
            "description": "Google's 'Free shipping' filter (offered by Google for most US searches).",
            "default": false
          },
          "maxItems": {
            "title": "Max products per query",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Products per query. Google serves about 40-50 per page and the run follows Google's own next-page offset until this number, 'Max pages per query' or Google's last page.",
            "default": 30
          },
          "maxPages": {
            "title": "Max pages per query",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Upper bound of results pages read per query (each page is one Google request).",
            "default": 10
          },
          "includeOffers": {
            "title": "Seller offers and product details",
            "type": "boolean",
            "description": "One extra Google request per product: every store offer shown in Google's product viewer (store, price, old price, availability, delivery, returns, seller rating, store link), the product description and its specifications.",
            "default": false
          },
          "maxOffersPerProduct": {
            "title": "Max offers per product",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep at most this many store offers per product (Google's order). 0 = all Google shows.",
            "default": 0
          },
          "resolveMerchantLinks": {
            "title": "Resolve store links",
            "type": "boolean",
            "description": "Turn Google's encrypted store links (/goto?url=...) into the real store URLs (one tiny request each). Only with 'Seller offers'.",
            "default": true
          },
          "products": {
            "title": "Products to look up (EAN / SKU / name)",
            "type": "array",
            "description": "Optional. Product codes or names, one per line (e.g. an EAN 0194253397434 or a model number). Each one is searched like a query; an EAN/GTIN is echoed in the ean column, other codes in sku.",
            "items": {
              "type": "string"
            }
          },
          "gl": {
            "title": "Country code (gl, alias)",
            "type": "string",
            "description": "Same as Country (two-letter code such as us, gb, de). Used instead of Country when set."
          },
          "hl": {
            "title": "Language code (hl, alias)",
            "type": "string",
            "description": "Same as Language (en, de, fr ...). Used instead of Language when set."
          },
          "location": {
            "title": "Location",
            "type": "string",
            "description": "Optional. A city / region as Google names it, e.g. 'New York,New York,United States' - local stores and prices for that place."
          },
          "productCondition": {
            "title": "Product condition",
            "enum": [
              "any",
              "new",
              "used",
              "refurbished"
            ],
            "type": "string",
            "description": "Applies Google's own condition filter of the search page when Google offers it for the query.",
            "default": "any"
          },
          "stores": {
            "title": "Only these stores",
            "type": "array",
            "description": "Optional. Store names, one per line (e.g. Walmart, Best Buy). Only products sold by a matching store are kept; more pages are read to reach your limit.",
            "items": {
              "type": "string"
            }
          },
          "device": {
            "title": "Device",
            "enum": [
              "desktop",
              "mobile",
              "tablet"
            ],
            "type": "string",
            "description": "Accepted for compatibility. Google lists the same products for every device, so desktop results are returned.",
            "default": "desktop"
          },
          "date_range": {
            "title": "Date range (compatibility)",
            "type": "string",
            "description": "Accepted for compatibility with price-history tools. Shopping results carry no date, so the option has no effect (the log says so)."
          },
          "force": {
            "title": "Force fresh results",
            "type": "boolean",
            "description": "Accepted for compatibility. Every run reads live results (there is no cache), so results are always fresh."
          },
          "output_file": {
            "title": "Also save as CSV file",
            "type": "string",
            "description": "Optional. A key name (e.g. shopping.csv): all rows are also saved as one CSV file under this key in the run's key-value store."
          },
          "maxConcurrency": {
            "title": "Parallel queries",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many queries run at the same time (default 3).",
            "default": 3
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Results pages always go through Apify's GOOGLE_SERP proxy (Google's intended route). This proxy is used for store-link resolution when the direct request is refused.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}