{
  "openapi": "3.0.1",
  "info": {
    "title": "Google Shopping Scraper & Price Monitor · $2/1K",
    "description": "From $2 per 1,000 products. Google Shopping prices for any product in 31 countries: price, original price and discount, seller, delivery, returns, condition, rating and reviews. Price-drop alerts between runs, filters and sorting, no start fee.",
    "version": "0.0",
    "x-build-id": "rNF32YUIJuGIM4K2P"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/xpandalabs~google-shopping-price-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-xpandalabs-google-shopping-price-monitor",
        "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/xpandalabs~google-shopping-price-monitor/runs": {
      "post": {
        "operationId": "runs-sync-xpandalabs-google-shopping-price-monitor",
        "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/xpandalabs~google-shopping-price-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-xpandalabs-google-shopping-price-monitor",
        "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 terms",
            "type": "array",
            "description": "Products to search for on Google Shopping, one per line, e.g. <code>sony wh-1000xm5</code> or <code>air fryer</code>. A Google Shopping link works too (its search term and country are used). One row per product, $2 per 1,000 products.",
            "items": {
              "type": "string"
            }
          },
          "country": {
            "title": "Country",
            "enum": [
              "US",
              "GB",
              "CA",
              "AU",
              "NZ",
              "IE",
              "DE",
              "AT",
              "CH",
              "FR",
              "BE",
              "NL",
              "IT",
              "ES",
              "PT",
              "SE",
              "DK",
              "NO",
              "FI",
              "PL",
              "CZ",
              "JP",
              "KR",
              "IN",
              "SG",
              "MY",
              "BR",
              "MX",
              "AE",
              "TR",
              "ZA"
            ],
            "type": "string",
            "description": "Which country's Google Shopping to search. Prices come in that country's currency.",
            "default": "US"
          },
          "maxProductsPerQuery": {
            "title": "Max products per search",
            "minimum": 1,
            "maximum": 120,
            "type": "integer",
            "description": "Google Shopping shows about 40 products per page and usually up to 2–3 pages per search.",
            "default": 40
          },
          "sortBy": {
            "title": "Sort products by",
            "enum": [
              "relevance",
              "price_low",
              "price_high",
              "rating",
              "reviews",
              "discount"
            ],
            "type": "string",
            "description": "Sorts the products the Actor found for each search.",
            "default": "relevance"
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "integer",
            "description": "In the country's currency."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "integer",
            "description": "In the country's currency."
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "any",
              "new",
              "used"
            ],
            "type": "string",
            "description": "New only drops pre-owned and refurbished offers.",
            "default": "any"
          },
          "onlyOnSale": {
            "title": "Only products on sale",
            "type": "boolean",
            "description": "Products Google shows with a lower price than usual (a crossed-out or 'Usually' price, or a % off label).",
            "default": false
          },
          "onlyFreeDelivery": {
            "title": "Only free delivery",
            "type": "boolean",
            "description": "Only products with unconditional free delivery (not 'free on $35+').",
            "default": false
          },
          "minRating": {
            "title": "Minimum rating",
            "enum": [
              "3",
              "3.5",
              "4",
              "4.5"
            ],
            "type": "string",
            "description": "Products without a rating are left out when this is set."
          },
          "sellers": {
            "title": "Only these sellers",
            "type": "array",
            "description": "Keep products sold by these stores (a part of the name is enough: <code>amazon</code> matches Amazon.com and Amazon.co.uk).",
            "items": {
              "type": "string"
            }
          },
          "excludeSellers": {
            "title": "Exclude sellers",
            "type": "array",
            "description": "Drop products sold by these stores (a part of the name is enough).",
            "items": {
              "type": "string"
            }
          },
          "titleMustContain": {
            "title": "Title must contain",
            "type": "array",
            "description": "Keep products whose title contains all of these words, to drop accessories and look-alikes.",
            "items": {
              "type": "string"
            }
          },
          "titleMustNotContain": {
            "title": "Title must not contain",
            "type": "array",
            "description": "Drop products whose title contains any of these words, e.g. accessories.",
            "items": {
              "type": "string"
            }
          },
          "includeForeignCurrency": {
            "title": "Include offers in other currencies",
            "type": "boolean",
            "description": "Google sometimes shows offers from foreign shops priced in their own currency (e.g. € in the US). They are left out by default so prices compare; turn on to keep them (their currency field shows which).",
            "default": false
          },
          "trackChanges": {
            "title": "Track price changes",
            "type": "boolean",
            "description": "Compares each product's price with the previous run of the same search and country: changeType, previousPrice, priceChangePct, lowestPriceSeen.",
            "default": true
          },
          "onlyChanges": {
            "title": "Only return changes",
            "type": "boolean",
            "description": "Return (and pay for) only products that are new, got cheaper or more expensive, or are at or below your target price. Unchanged products are free.",
            "default": false
          },
          "includeNewProducts": {
            "title": "Also alert on new products",
            "type": "boolean",
            "description": "With Only return changes, also return products that were not in the previous run. Off by default: Google rotates part of the results every day, so most 'new' products are not really new.",
            "default": false
          },
          "targetPrice": {
            "title": "Target price (alert)",
            "minimum": 0,
            "type": "integer",
            "description": "Flags products at or below this price with belowTargetPrice: true."
          },
          "changeThresholdPct": {
            "title": "Change threshold (%)",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Smaller price moves count as unchanged.",
            "default": 1
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "Google interface language, e.g. <code>en</code>. Empty = the country's main language. Affects texts like delivery and condition, not prices."
          },
          "maxConcurrency": {
            "title": "Parallel searches",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many searches run at the same time.",
            "default": 5
          },
          "maxRetries": {
            "title": "Retries per page",
            "minimum": 0,
            "maximum": 8,
            "type": "integer",
            "description": "Retries when Google does not answer a page.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}