{
  "openapi": "3.0.1",
  "info": {
    "title": "🏠 India Real Estate Intelligence — Projects, RERA & Builders",
    "description": "Paste any 99acres search URL (buy/rent/projects/commercial, any city) → get every listing with full data: project & builder, price, locality+city, geo-coordinates, RERA, possession, BHK/configs, area, USP, images & URL. Paginates all pages. India property data.",
    "version": "1.0",
    "x-build-id": "m4Ts5ddFnalCQHNLO"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/inexhaustible_glass~99acres-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-inexhaustible_glass-99acres-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/inexhaustible_glass~99acres-scraper/runs": {
      "post": {
        "operationId": "runs-sync-inexhaustible_glass-99acres-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/inexhaustible_glass~99acres-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-inexhaustible_glass-99acres-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": {
          "city": {
            "title": "🏙️ City",
            "type": "string",
            "description": "Type any Indian city (800+ supported): Mumbai, Delhi, Pune, Bangalore, Hyderabad, Jaipur, Lucknow, Indore, Surat, Chandigarh, Kochi… etc."
          },
          "area": {
            "title": "📍 Area / locality (optional)",
            "type": "string",
            "description": "Filter to a specific area within the city. Examples: Andheri, Wakad, Whitefield, Gachibowli. Leave empty for the whole city."
          },
          "transaction": {
            "title": "🏷️ Buy or Rent",
            "enum": [
              "Buy",
              "Rent"
            ],
            "type": "string",
            "description": "Whether to scrape properties for sale (Buy) or for rent.",
            "default": "Buy"
          },
          "listingType": {
            "title": "🏘️ Listing type",
            "enum": [
              "Projects",
              "Properties"
            ],
            "type": "string",
            "description": "Projects = new construction (builder name, RERA). Properties = individual resale/agent listings (agent name + company + RERA).",
            "default": "Projects"
          },
          "startUrls": {
            "title": "🔗 OR paste 99acres URLs (optional)",
            "type": "array",
            "description": "Advanced: instead of city/area above, paste full 99acres search URLs (with your own filters). Leave empty if using the city field.",
            "items": {
              "type": "string"
            }
          },
          "maxResults": {
            "title": "🔢 Max results per URL",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "How many listings to pull from each search URL.",
            "default": 200
          },
          "maxPages": {
            "title": "📄 Max pages per URL",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Safety cap on pages to crawl (20 listings per page).",
            "default": 50
          },
          "enrichDetails": {
            "title": "🔍 Try extra detail (amenities, price/sqft) — experimental",
            "type": "boolean",
            "description": "Optionally open each project's page for amenities, price/sqft & full descriptions. Experimental: 99acres heavily protects detail pages, so this may not fill on every run. The listing data (below) is always returned reliably.",
            "default": false
          },
          "builderIntel": {
            "title": "🏢 Builder intelligence (MCA — directors & registered office) — experimental",
            "type": "boolean",
            "description": "Enrich each project's builder with its public MCA (Ministry of Corporate Affairs) company record: CIN, registered office address, director names + DIN, company status. 100% public, government-filed data — great for B2B lead-gen & developer due-diligence. ⚠️ Experimental: the MCA data sources are heavily Cloudflare-protected and block shared/datacenter IPs, so this fills reliably only when you supply your OWN residential proxy via 'Custom proxies' above. With Apify's shared proxy it may return blank. The core listing + RERA data is always returned regardless.",
            "default": false
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy (required — 99acres blocks datacenter IPs)",
            "type": "object",
            "description": "RESIDENTIAL proxy is required for reliable results. Use Apify Residential (default), OR switch to 'Custom proxies' and paste your own residential proxy URLs (e.g. IPFlux: http://user:pass@host:port) to use your own bandwidth.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}