{
  "openapi": "3.0.1",
  "info": {
    "title": "BikeDekho Scraper: Used Bikes, New Bikes & Dealers",
    "description": "Scrape bikedekho.com, India's motorcycle and scooter marketplace: used bike listings with price, km driven, owners, city and photos, new bike specs and ex-showroom prices, on-road prices by city and dealer showrooms. No login, no proxy. Export JSON, CSV or Excel.",
    "version": "0.1",
    "x-build-id": "wRuVztnIFYNhaEd4E"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/recordsdata~bikedekho-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-recordsdata-bikedekho-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~bikedekho-scraper/runs": {
      "post": {
        "operationId": "runs-sync-recordsdata-bikedekho-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~bikedekho-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-recordsdata-bikedekho-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": [
              "used-bikes",
              "new-bikes",
              "on-road-prices",
              "dealers",
              "urls"
            ],
            "type": "string",
            "description": "Used bikes: second-hand ads for your filters. New bikes: one row per model with specs and ex-showroom price. On-road prices: one row per variant and city with RTO, insurance and total. Dealers: showrooms by brand and city. Addresses and ad numbers: paste links below.",
            "default": "used-bikes"
          },
          "maxItems": {
            "title": "Max rows to collect",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stops after this many rows, all record types together. Example: 50. Free plan: capped at 10 rows per run.",
            "default": 50
          },
          "cities": {
            "title": "Cities (optional)",
            "type": "array",
            "description": "City names, one per line. Example: Delhi, Mumbai, Pune. Used bikes: each city is a separate search (empty = all India). On-road prices: cities to price (empty = Delhi). Dealers: cities to list (empty = every city).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "brands": {
            "title": "Brands (optional)",
            "type": "array",
            "description": "Brand names, one per line. Example: Royal Enfield, Honda, TVS. Case does not matter. Empty means every brand.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "models": {
            "title": "Models (optional)",
            "type": "array",
            "description": "Model names or parts of them, one per line. Example: Activa, Classic 350, SP125. Works with Brands to narrow inside them.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "bodyTypes": {
            "title": "Body type",
            "type": "array",
            "description": "Keep only used bikes of these types. Empty means all types.",
            "items": {
              "type": "string",
              "enum": [
                "street",
                "cruiser",
                "sports-naked",
                "scooters",
                "sports",
                "tourer",
                "moped",
                "commuter",
                "adventure-tourer",
                "sports-tourer",
                "cafe-racer",
                "super",
                "electric",
                "off-road",
                "roadster",
                "dirt",
                "scrambler"
              ],
              "enumTitles": [
                "Street",
                "Cruiser",
                "Sports naked",
                "Scooters",
                "Sports",
                "Tourer",
                "Moped",
                "Commuter",
                "Adventure tourer",
                "Sports tourer",
                "Cafe racer",
                "Super bike",
                "Electric",
                "Off road",
                "Roadster",
                "Dirt",
                "Scrambler"
              ]
            },
            "default": []
          },
          "fuelType": {
            "title": "Fuel type",
            "enum": [
              "any",
              "petrol",
              "electric"
            ],
            "type": "string",
            "description": "Keep only used bikes with this fuel. The site lists petrol and electric.",
            "default": "any"
          },
          "engineSizes": {
            "title": "Engine size (cc)",
            "type": "array",
            "description": "Keep only used bikes in these ranges. Each range you pick is searched separately. Empty means all sizes.",
            "items": {
              "type": "string",
              "enum": [
                "upto-100cc",
                "100cc-125cc",
                "125cc-150cc",
                "150cc-200cc",
                "200cc-250cc",
                "250cc-500cc",
                "500cc-1000cc",
                "above-1000cc"
              ],
              "enumTitles": [
                "Up to 100 cc",
                "100 to 125 cc",
                "125 to 150 cc",
                "150 to 200 cc",
                "200 to 250 cc",
                "250 to 500 cc",
                "500 to 1000 cc",
                "Above 1000 cc"
              ]
            },
            "default": []
          },
          "priceFrom": {
            "title": "Min price (INR)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Lowest price in rupees. Example: 30000. 0 means no limit."
          },
          "priceTo": {
            "title": "Max price (INR)",
            "minimum": 0,
            "maximum": 10000000,
            "type": "integer",
            "description": "Highest price in rupees. Example: 150000. 0 means no limit."
          },
          "yearFrom": {
            "title": "Min registration year",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "This year or newer. Example: 2018. 0 means no limit."
          },
          "yearTo": {
            "title": "Max registration year",
            "minimum": 0,
            "maximum": 2100,
            "type": "integer",
            "description": "This year or older. Example: 2024. 0 means no limit."
          },
          "mileageFrom": {
            "title": "Min km driven (km)",
            "minimum": 0,
            "maximum": 1500000,
            "type": "integer",
            "description": "At least this odometer reading in km. Example: 5000. 0 means no limit."
          },
          "mileageTo": {
            "title": "Max km driven (km)",
            "minimum": 0,
            "maximum": 1500000,
            "type": "integer",
            "description": "At most this odometer reading in km. Example: 40000. 0 means no limit."
          },
          "listedWithinDays": {
            "title": "Listed within the last (days)",
            "minimum": 0,
            "maximum": 3650,
            "type": "integer",
            "description": "Only ads posted in the last N days. Example: 7. 0 means no limit. The site has no sort order, so more pages may be read to find recent ads."
          },
          "startUrls": {
            "title": "bikedekho.com links",
            "type": "array",
            "description": "Paste links, one per line. Example: https://www.bikedekho.com/used-bikes+in+pune . Accepted: used-bike search, ad page, model (/honda/sp125), price (/honda/sp125/price-in-delhi), brand (/honda-bikes) and showroom (/showrooms/honda/delhi) pages.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "listingIds": {
            "title": "Ad numbers (optional)",
            "type": "array",
            "description": "The 24 letters and digits at the end of an ad address. Example: 68983ad96f92ad806d0f17e2. Each returns the full ad.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "scrapeDetails": {
            "title": "Open each used-bike ad for full details",
            "type": "boolean",
            "description": "On: opens every ad to add transmission, engine, power, brakes, tyres, ABS, registration state, views and seller type. Adds one request per ad. Off: search-result data only, much faster.",
            "default": false
          },
          "includeContactDetails": {
            "title": "Add dealer contact details (Dealers mode)",
            "type": "boolean",
            "description": "Adds the business phone and WhatsApp of dealer showrooms. Seller names, phones and plates of used-bike ads 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 delhi-scooters. 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
          },
          "maxConcurrency": {
            "title": "Pages read at the same time (1 to 5)",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Requests are paced at about four per second in total, so a higher value adds little.",
            "default": 3
          },
          "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}