{
  "openapi": "3.0.1",
  "info": {
    "title": "Blinkit Scraper - Grocery Prices, Stock & Delivery Time",
    "description": "Scrape Blinkit quick commerce products in India by keyword and city or exact point: price, MRP, discount, stock, delivery time, store, brand, pack size, category, rating and image. Compare prices across cities, track changes with onlyNew. Error rows are free.",
    "version": "0.1",
    "x-build-id": "VzYs3uNu41aIvrDQ0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapewise~blinkit-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapewise-blinkit-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/scrapewise~blinkit-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapewise-blinkit-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/scrapewise~blinkit-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapewise-blinkit-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": {
          "keywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "What to search on Blinkit, one keyword per line (product, brand or category, for example 'paneer', 'cow ghee', 'basmati rice'). Each keyword is searched in each location. Also accepts 'searchQuery', 'query' and 'keyword'.",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "City",
            "enum": [
              "Mumbai",
              "Delhi",
              "Bengaluru",
              "Hyderabad",
              "Ahmedabad",
              "Chennai",
              "Kolkata",
              "Surat",
              "Pune",
              "Jaipur",
              "Lucknow",
              "Kanpur",
              "Nagpur",
              "Indore",
              "Thane",
              "Bhopal",
              "Visakhapatnam",
              "Patna",
              "Vadodara",
              "Ghaziabad",
              "Gurugram",
              "Noida"
            ],
            "type": "string",
            "description": "City whose prices, stock and delivery time you want. Ignored when latitude and longitude or the locations list are filled.",
            "default": "Mumbai"
          },
          "latitude": {
            "title": "Latitude (optional)",
            "type": "string",
            "description": "Exact delivery point, for example 12.9352 for Koramangala, Bengaluru. Use together with longitude. Prices and stock follow the store that serves this point."
          },
          "longitude": {
            "title": "Longitude (optional)",
            "type": "string",
            "description": "Exact delivery point, for example 77.6245. Use together with latitude."
          },
          "locations": {
            "title": "Several locations (optional)",
            "type": "array",
            "description": "Compare prices across places in one run: city names from the list above or 'latitude,longitude' points (for example '19.1197,72.8468'). Each keyword is searched in each location and every product row says where it came from. Also accepts 'cities'.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Blinkit search links (optional)",
            "type": "array",
            "description": "Blinkit search pages such as https://blinkit.com/s/?q=atta. The keyword of each link is searched in the chosen locations. Also accepts 'urls'.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "maxItems": {
            "title": "Max products",
            "minimum": 0,
            "type": "integer",
            "description": "Maximum products delivered in the run. With several keywords or locations it is split evenly between them, so each city gets its share. 0 = no limit. Also accepts 'maxResults'.",
            "default": 50
          },
          "includeVariants": {
            "title": "Include other pack sizes",
            "type": "boolean",
            "description": "Also return the other sizes of each product (500 ml and 1 litre, 5 kg and 10 kg) as their own rows with their own price and stock, linked by variantOf.",
            "default": true
          },
          "onlyInStock": {
            "title": "Only products in stock",
            "type": "boolean",
            "description": "Skip products that are sold out at the chosen location.",
            "default": false
          },
          "excludeSponsored": {
            "title": "Skip sponsored products",
            "type": "boolean",
            "description": "Skip the products marked as ads in the search results.",
            "default": false
          },
          "minPrice": {
            "title": "Min price (INR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only products at this price in rupees or more."
          },
          "maxPrice": {
            "title": "Max price (INR)",
            "minimum": 0,
            "type": "integer",
            "description": "Only products at this price in rupees or less."
          },
          "onlyNew": {
            "title": "Only new products and price or stock changes",
            "type": "boolean",
            "description": "Remembers price and stock of each product for the same keyword and location, and returns only products that are new, changed price, went out of stock or came back, with changeType, previousPrice and previousInStock. Unchanged products are skipped and not charged. Use it with a schedule to track price drops.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Default: Apify residential proxy in India. Change only if you know what you need.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "IN"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}