{
  "openapi": "3.0.1",
  "info": {
    "title": "Zap.co.il Product Prices & Reviews Scraper",
    "description": "Merchant prices and customer reviews for any product on zap.co.il, Israel's largest price-comparison site. One record per product with offers and reviews — pick prices, reviews, or both. Target by URL, ID, category, or brand. Read-only.",
    "version": "0.1",
    "x-build-id": "KhfiHHqZCyImDq4BV"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/amrameng~zap-products-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-amrameng-zap-products-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/amrameng~zap-products-scraper/runs": {
      "post": {
        "operationId": "runs-sync-amrameng-zap-products-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/amrameng~zap-products-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-amrameng-zap-products-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": {
          "productUrls": {
            "title": "Product URLs",
            "uniqueItems": true,
            "type": "array",
            "description": "zap product links, e.g. https://www.zap.co.il/model.aspx?modelid=1124638 . The model ID is parsed from each URL.",
            "items": {
              "type": "string"
            }
          },
          "modelIds": {
            "title": "Model IDs",
            "uniqueItems": true,
            "type": "array",
            "description": "Raw zap model IDs (the modelid= value), e.g. 1124638.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category",
            "enum": [
              "e-cellphone",
              "e-tv",
              "e-fridge",
              "e-washingmachine",
              "e-airconditioner",
              "e-camera",
              "e-headphone",
              "e-coffeemachine",
              "e-oven",
              "e-dishwasher",
              "e-vaccumcleaner",
              "e-cellwatch",
              "e-tvgame",
              "e-fan",
              "e-drayer",
              "e-hobs",
              "c-pclaptop",
              "c-pcdesktop",
              "c-monitor",
              "c-printer",
              "c-tabletpc",
              "b-perfume",
              "b-shampoo",
              "b-aftershave",
              "b-glasses",
              "h-grill",
              "h-drill",
              "h-cabinet",
              "h-taps",
              "h-ink",
              "h-gardenfurniture",
              "k-babycarriage",
              "k-safetyseat",
              "k-trampoline",
              "k-lego",
              "k-furniture",
              "s-bycicle",
              "s-treadmill",
              "s-tent",
              "s-soccer",
              "g-watch",
              "g-jewlery",
              "g-stores",
              "t-speakers",
              "t-amplifier",
              "p-shoe",
              "an-dogfood"
            ],
            "type": "string",
            "description": "Scrape every product in a category. Pick from the list. Leave empty to scrape only the products you provide above."
          },
          "manufacturerFilter": {
            "title": "Brand filter (advanced)",
            "type": "string",
            "description": "Optional. Limit a category run to a single brand using the site's brand-filter value, e.g. db188396=1951979 for Apple phones (db188396=1951988 for Samsung). Only used with a category."
          },
          "parts": {
            "title": "What to scrape",
            "uniqueItems": true,
            "type": "array",
            "description": "Which data to collect per product: offers (merchant prices) and/or reviews. Default both.",
            "items": {
              "type": "string",
              "enum": [
                "offers",
                "reviews"
              ],
              "enumTitles": [
                "Offers (prices)",
                "Reviews"
              ]
            },
            "default": [
              "offers",
              "reviews"
            ]
          },
          "maxProducts": {
            "title": "Max products (category mode only)",
            "minimum": 0,
            "type": "integer",
            "description": "Safety cap on how many products to scrape when using a category. Ignored when you pass explicit productUrls / modelIds. Set 0 for no limit.",
            "default": 0
          },
          "maxReviews": {
            "title": "Max reviews per product",
            "minimum": 0,
            "type": "integer",
            "description": "Cap how many reviews to collect per product (newest first). The product's reviewCount still reports the true total. Set 0 for all reviews.",
            "default": 0
          },
          "reviewsSince": {
            "title": "Reviews since (YYYY-MM-DD)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only collect reviews written on or after this date. Reviews are newest-first, so this also stops paging early — ideal for scheduled, incremental runs. Leave blank for all dates."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "An Israeli residential proxy is recommended for the most reliable results. This is the default.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "IL"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}