{
  "openapi": "3.0.1",
  "info": {
    "title": "99acres Projects Search Scraper",
    "description": "Scrape 99acres new project search results with developer info, configurations, RERA, and optional deep scraping.",
    "version": "1.1",
    "x-build-id": "2txjM0sZek0u7H6eD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/codingfrontend~99acres-projects-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-codingfrontend-99acres-projects-search-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/codingfrontend~99acres-projects-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-codingfrontend-99acres-projects-search-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/codingfrontend~99acres-projects-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-codingfrontend-99acres-projects-search-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": [
          "searchUrls"
        ],
        "properties": {
          "searchUrls": {
            "title": "99acres Project Search URLs",
            "minItems": 1,
            "maxItems": 10,
            "uniqueItems": true,
            "type": "array",
            "description": "One or more 99acres project search URLs. Canonical /new-projects-in-... pages are also supported.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max Projects",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Global maximum number of projects to save across all input URLs.",
            "default": 20
          },
          "maxPages": {
            "title": "Max Pages Per URL",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of pagination pages to visit for each input URL.",
            "default": 25
          },
          "filters": {
            "title": "Project Filters",
            "type": "object",
            "description": "Optional post-extraction filters. Prices are Indian rupees and areas use the unit exposed by each listing.",
            "properties": {
              "statuses": {
                "title": "Statuses",
                "type": "array",
                "description": "Keep projects whose status or possession text contains one of these values.",
                "editor": "stringList",
                "default": []
              },
              "configurations": {
                "title": "Configurations",
                "type": "array",
                "description": "Keep projects with a matching configuration, such as 2 BHK or 3 BHK.",
                "editor": "stringList",
                "default": []
              },
              "minPrice": {
                "title": "Minimum Price (INR)",
                "type": "number",
                "description": "Minimum project price. Listing price ranges overlap this threshold.",
                "minimum": 0
              },
              "maxPrice": {
                "title": "Maximum Price (INR)",
                "type": "number",
                "description": "Maximum project price. Listing price ranges overlap this threshold.",
                "minimum": 0
              },
              "minArea": {
                "title": "Minimum Area",
                "type": "number",
                "description": "Minimum project area in the unit exposed by the listing.",
                "minimum": 0
              },
              "maxArea": {
                "title": "Maximum Area",
                "type": "number",
                "description": "Maximum project area in the unit exposed by the listing.",
                "minimum": 0
              }
            },
            "additionalProperties": false
          },
          "enableDeepScraping": {
            "title": "Deep Scraping",
            "type": "boolean",
            "description": "Open each project detail page for additional description, amenities, RERA, developer, date, floor, and image data. Detail pages may be unavailable when 99acres presents a verification page.",
            "default": false
          },
          "includeDescription": {
            "title": "Include Descriptions",
            "type": "boolean",
            "description": "Include listing and detail-page descriptions.",
            "default": true
          },
          "includeHighlights": {
            "title": "Include Project Highlights",
            "type": "boolean",
            "description": "Include USP/highlight bullet points visible on project cards.",
            "default": true
          },
          "includeImages": {
            "title": "Include Images",
            "type": "boolean",
            "description": "Include project image URLs exposed by cards or detail pages.",
            "default": true
          },
          "includeAmenities": {
            "title": "Include Amenities",
            "type": "boolean",
            "description": "Include amenities found during optional deep scraping.",
            "default": true
          },
          "includeContact": {
            "title": "Include Contact Fields",
            "type": "boolean",
            "description": "Include developer/contact fields discovered during optional deep scraping.",
            "default": true
          },
          "deduplicate": {
            "title": "Deduplicate Projects",
            "type": "boolean",
            "description": "Deduplicate by 99acres project ID across pagination and multiple input URLs.",
            "default": true
          },
          "locale": {
            "title": "Browser Locale",
            "enum": [
              "en-IN",
              "en-US"
            ],
            "type": "string",
            "description": "Locale used for the ordinary browser context and Accept-Language header.",
            "default": "en-IN"
          },
          "requestDelayMs": {
            "title": "Request Delay (ms)",
            "minimum": 0,
            "maximum": 30000,
            "type": "integer",
            "description": "Optional delay before each pagination or detail navigation.",
            "default": 0
          },
          "maxConcurrency": {
            "title": "Search Page Concurrency",
            "minimum": 1,
            "maximum": 3,
            "type": "integer",
            "description": "Maximum number of search pages processed at once. Lower values reduce load on 99acres.",
            "default": 1
          },
          "detailConcurrency": {
            "title": "Detail Tab Concurrency",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "Maximum number of project detail tabs opened at once when deep scraping is enabled.",
            "default": 2
          },
          "maxRequestRetries": {
            "title": "Max Request Retries",
            "minimum": 0,
            "maximum": 2,
            "type": "integer",
            "description": "Maximum Crawlee retries for a failed search-page request.",
            "default": 0
          },
          "navigationTimeoutSecs": {
            "title": "Navigation Timeout (seconds)",
            "minimum": 30,
            "maximum": 300,
            "type": "integer",
            "description": "Timeout for search and detail page navigation.",
            "default": 90
          },
          "requestHandlerTimeoutSecs": {
            "title": "Handler Timeout (seconds)",
            "minimum": 60,
            "maximum": 600,
            "type": "integer",
            "description": "Maximum time allowed for one search-page handler.",
            "default": 180
          },
          "headless": {
            "title": "Headless Mode",
            "type": "boolean",
            "description": "Run Chrome in headless mode. Disable only for local debugging.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy Configuration",
            "type": "object",
            "description": "Optional Apify Proxy or custom HTTP proxy configuration.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}