{
  "openapi": "3.0.1",
  "info": {
    "title": "91Wheels Scraper: Bikes, Scooters, Prices & Dealers",
    "description": "Scrape 91wheels.com, India's motorcycle and scooter portal: 530 models with specs, 947 variant spec sheets, on-road prices for 1,053 cities, 19,000+ dealer showrooms and upcoming launches, plus monitoring of new models and price changes. No login, no proxy. Export JSON, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "RVCfNaPMCnMvpVrzo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/recordsdata~91wheels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-recordsdata-91wheels-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/recordsdata~91wheels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-recordsdata-91wheels-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/recordsdata~91wheels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-recordsdata-91wheels-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": {
          "mode": {
            "title": "What to collect",
            "enum": [
              "models",
              "variants",
              "on-road-prices",
              "dealers",
              "urls"
            ],
            "type": "string",
            "description": "Models: one row per motorcycle or scooter with specs, price range and ratings. Variants: one row per variant with the full spec sheet. On-road prices: one row per variant and city with RTO, insurance and total. Dealers: showrooms by brand and city. Addresses you list: paste 91wheels.com links below.",
            "default": "models"
          },
          "maxItems": {
            "title": "Max rows to collect",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stops after this many rows. Example: 50. Free plan: capped at 10 rows (preview). Paid plans: up to 1,000,000.",
            "default": 50
          },
          "makes": {
            "title": "Brands (optional)",
            "type": "array",
            "description": "Brand names, one per line. Example: Royal Enfield, TVS, Hero. Case does not matter and an unknown brand is reported with the closest names. Empty means every brand.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "models": {
            "title": "Models (optional)",
            "type": "array",
            "description": "Model names, one per line. Example: Classic 350, Activa, Raider 125. A name matches the exact model or every model containing all its words. Works with Brands to narrow inside them.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "vehicleTypes": {
            "title": "Vehicle type (optional)",
            "type": "array",
            "description": "Motorcycles, scooters or both. Empty means both.",
            "items": {
              "type": "string",
              "enum": [
                "motorcycle",
                "scooter"
              ],
              "enumTitles": [
                "Motorcycles",
                "Scooters"
              ]
            },
            "default": []
          },
          "cities": {
            "title": "Cities (optional)",
            "type": "array",
            "description": "Indian cities, one per line. Example: Mumbai, Pune, Bangalore. On-road prices: each city is priced (empty = New Delhi). Models and variants: the first city sets the price shown. Dealers: the cities to list (empty = every city; small towns work).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "bodyTypes": {
            "title": "Body type (motorcycles only)",
            "type": "array",
            "description": "Keep only motorcycles of these types. Scooters have no body type. Empty means all types.",
            "items": {
              "type": "string",
              "enum": [
                "commuter",
                "sports",
                "cruiser",
                "cafe-racer",
                "adventure",
                "tourer",
                "naked",
                "street",
                "dirt",
                "off-road"
              ],
              "enumTitles": [
                "Commuter",
                "Sports",
                "Cruiser",
                "Cafe racer",
                "Adventure",
                "Tourer",
                "Naked",
                "Street",
                "Dirt",
                "Off-road"
              ]
            },
            "default": []
          },
          "fuelType": {
            "title": "Fuel type",
            "enum": [
              "any",
              "petrol",
              "electric",
              "cng"
            ],
            "type": "string",
            "description": "Keep only vehicles with this fuel. Any means all fuels.",
            "default": "any"
          },
          "modelStatus": {
            "title": "Sale status (Models mode only)",
            "enum": [
              "available",
              "upcoming",
              "both"
            ],
            "type": "string",
            "description": "On sale = models available in India. Upcoming = announced models with an expected launch date. Variants and on-road prices exist only for models on sale.",
            "default": "available"
          },
          "priceFrom": {
            "title": "Min ex-showroom price (INR)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Lowest price in rupees. Example: 80000. A model stays when its price range reaches this value. 0 means no lower limit."
          },
          "priceTo": {
            "title": "Max ex-showroom price (INR)",
            "minimum": 0,
            "maximum": 100000000,
            "type": "integer",
            "description": "Highest price in rupees. Example: 250000. A model stays when its price range starts at or below this value. 0 means no upper limit."
          },
          "startUrls": {
            "title": "91wheels.com links",
            "type": "array",
            "description": "Paste links, one per line. Example: https://www.91wheels.com/bikes/royalenfield/classic-350 . Accepted: brand, model, variant, price (/price-in-pune) and dealer (/bike-dealers/heromotocorp/mumbai) pages. Links with variant= are refused by the site.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "includeModelDetails": {
            "title": "Add full specs, counts and brochure (Models mode)",
            "type": "boolean",
            "description": "Adds top speed, weight, clearance, tank size, warranty, efficiency, review counts, key features and brochure link. Adds one request per model; turn off for a faster run with list data only.",
            "default": true
          },
          "includeContactDetails": {
            "title": "Add dealer phone numbers (Dealers mode)",
            "type": "boolean",
            "description": "Adds the business phone of dealer showrooms. Dealer e-mails and reviewer names are never output.",
            "default": false
          },
          "onlyNew": {
            "title": "Return only new rows",
            "type": "boolean",
            "description": "Skips every row delivered in an earlier run with the same monitor name, so scheduled runs return only what is new and you pay only for those.",
            "default": false
          },
          "trackPriceChanges": {
            "title": "Also report price changes",
            "type": "boolean",
            "description": "Needs Return only new rows. A price seen before with a different value comes back as a price-change row with the previous price and the change in percent.",
            "default": false
          },
          "stateKey": {
            "title": "Monitor name (optional)",
            "type": "string",
            "description": "One name per saved search, for example tvs-weekly. Empty derives a name from your filters.",
            "default": ""
          },
          "resetSeen": {
            "title": "Start over: forget seen rows",
            "type": "boolean",
            "description": "Clears the memory of this monitor name before the run.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy (optional)",
            "type": "object",
            "description": "Leave empty. Direct requests work; add a proxy only if your own network needs one."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}