{
  "openapi": "3.0.1",
  "info": {
    "title": "Startpage Shopping Scraper",
    "description": "Scrape shopping SERPs from startpage.com, a privacy-focused alternative to Google Search. Collect products, merchant URLs, images, sellers, prices, deals, shipping, ratings, reviews, and rankings. Export JSON, CSV, or Excel, or access results via API.",
    "version": "0.0",
    "x-build-id": "4yScK7JljLVlMjsR5"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/igolaizola~startpage-shopping-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-igolaizola-startpage-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/igolaizola~startpage-shopping-scraper/runs": {
      "post": {
        "operationId": "runs-sync-igolaizola-startpage-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/igolaizola~startpage-shopping-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-igolaizola-startpage-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",
        "required": [
          "queries",
          "maxItems"
        ],
        "properties": {
          "queries": {
            "title": "Search queries",
            "minItems": 1,
            "type": "array",
            "description": "One or more search queries. Each query is paginated fully before the next one starts.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum number of shopping results to save across all queries."
          },
          "region": {
            "title": "Region",
            "enum": [
              "all",
              "es_AR",
              "en_AU",
              "de_AT",
              "ru_BY",
              "fr_BE",
              "nl_BE",
              "pt-BR_BR",
              "bg_BG",
              "en_CA",
              "fr_CA",
              "es_CL",
              "zh-CN_CN",
              "es_CO",
              "cs_CZ",
              "da_DK",
              "ar_EG",
              "et_EE",
              "fi_FI",
              "fr_FR",
              "de_DE",
              "el_GR",
              "zh-TW_HK",
              "hu_HU",
              "en_IN",
              "hi_IN",
              "en_ID",
              "id_ID",
              "en_IE",
              "it_IT",
              "ja_JP",
              "ko_KR",
              "en_MY",
              "ms_MY",
              "es_MX",
              "nl_NL",
              "en_NZ",
              "no_NO",
              "es_PE",
              "en_PH",
              "fil_PH",
              "pl_PL",
              "pt_PT",
              "ro_RO",
              "ru_RU",
              "en_SG",
              "ms_SG",
              "en_ZA",
              "ca_ES",
              "es_ES",
              "sv_SE",
              "de_CH",
              "fr_CH",
              "it_CH",
              "zh-TW_TW",
              "tr_TR",
              "uk_UA",
              "en-GB_GB",
              "es_UY",
              "en_US",
              "es_US",
              "es_VE",
              "en_VN",
              "vi_VN"
            ],
            "type": "string",
            "description": "Region whose shopping results should be preferred.",
            "default": "all"
          },
          "language": {
            "title": "Search language",
            "enum": [
              "afrikaans",
              "arabic",
              "amharic",
              "azerbaijani",
              "indonesian",
              "malay",
              "bulgarian",
              "bengali",
              "javanese",
              "sudanese",
              "bosnian",
              "brazilian",
              "belarusian",
              "catalan",
              "czech",
              "welsh",
              "dansk",
              "deutsch",
              "estonian",
              "greek",
              "english",
              "espanol",
              "esperanto",
              "basque",
              "persian",
              "tagalog",
              "faroese",
              "francais",
              "frisian",
              "irish",
              "gaelic",
              "galician",
              "gujarati",
              "hindi",
              "croatian",
              "interlingua",
              "xhosa",
              "zulu",
              "icelandic",
              "italiano",
              "hebrew",
              "kannada",
              "georgian",
              "swahili",
              "latin",
              "latvian",
              "lithuanian",
              "hungarian",
              "bihari",
              "macedonian",
              "malayalam",
              "maltese",
              "marathi",
              "nederlands",
              "nepali",
              "norsk",
              "uzbek",
              "occitan",
              "thai",
              "polski",
              "portugues",
              "punjabi",
              "romanian",
              "russian",
              "albanian",
              "sinhalese",
              "slovak",
              "slovenian",
              "serbian",
              "suomi",
              "svenska",
              "tamil",
              "telugu",
              "vietnamese",
              "tigrinya",
              "turkce",
              "ukrainian",
              "urdu",
              "hangul",
              "jiantizhongwen",
              "nihongo",
              "fantizhengwen"
            ],
            "type": "string",
            "description": "Preferred language for search results.",
            "default": "english"
          },
          "safeSearch": {
            "title": "Safe Search",
            "enum": [
              "strict",
              "moderate",
              "off"
            ],
            "type": "string",
            "description": "Level of explicit-content filtering.",
            "default": "moderate"
          },
          "timePeriod": {
            "title": "Time period",
            "enum": [
              "any",
              "day",
              "week",
              "month",
              "year"
            ],
            "type": "string",
            "description": "Only return results from the selected recent period.",
            "default": "any"
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}