{
  "openapi": "3.0.1",
  "info": {
    "title": "NSW Development Applications (Australia) - DA Leads & Trends",
    "description": "Every development application lodged on the NSW Planning Portal since 2019: cost, development type, new dwellings, status, address and coordinates. Filter by council, suburb, date, cost or type, or get trends by council and month. Official open data, updated daily.",
    "version": "1.0",
    "x-build-id": "hEwbsVBIJS4L3Gvzd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mollydancer~nsw-development-applications/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mollydancer-nsw-development-applications",
        "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/mollydancer~nsw-development-applications/runs": {
      "post": {
        "operationId": "runs-sync-mollydancer-nsw-development-applications",
        "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/mollydancer~nsw-development-applications/run-sync": {
      "post": {
        "operationId": "run-sync-mollydancer-nsw-development-applications",
        "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": {
          "outputMode": {
            "title": "What do you want back?",
            "enum": [
              "applications",
              "summary"
            ],
            "type": "string",
            "description": "One row per development application, or one summary row per council, suburb, month or other group.",
            "default": "applications"
          },
          "groupBy": {
            "title": "Summarise by",
            "enum": [
              "council",
              "suburb",
              "postcode",
              "month",
              "developmentType",
              "status"
            ],
            "type": "string",
            "description": "Only used for the summary. Counts, new dwellings and total and median cost of development per group.",
            "default": "council"
          },
          "councils": {
            "title": "Councils",
            "type": "array",
            "description": "Leave empty for all of NSW.",
            "items": {
              "type": "string",
              "enum": [
                "Albury City Council",
                "Armidale Regional Council",
                "Ballina Shire Council",
                "Balranald Shire Council",
                "Bathurst Regional Council",
                "Bayside Council",
                "Bega Valley Shire Council",
                "Bellingen Shire Council",
                "Berrigan Shire Council",
                "Blacktown City Council",
                "Bland Shire Council",
                "Blayney Shire Council",
                "Blue Mountains City Council",
                "Bogan Shire Council",
                "Bourke Shire Council",
                "Brewarrina Shire Council",
                "Broken Hill City Council",
                "Burwood Council",
                "Byron Shire Council",
                "Cabonne Shire Council",
                "Camden Council",
                "Campbelltown City Council",
                "Canterbury-Bankstown Council",
                "Carrathool Shire Council",
                "Central Coast Council",
                "Central Darling Shire Council",
                "Cessnock City Council",
                "City of Canada Bay Council",
                "City of Parramatta Council",
                "Clarence Valley Council",
                "Cobar Shire Council",
                "Coffs Harbour City Council",
                "Coolamon Shire Council",
                "Coonamble Shire Council",
                "Cootamundra-Gundagai Regional Council",
                "Council of the City of Sydney",
                "Cowra Shire Council",
                "Cumberland Council",
                "Dubbo Regional Council",
                "Dungog Shire Council",
                "Edward River Council",
                "Eurobodalla Shire Council",
                "Fairfield City Council",
                "Federation Council",
                "Forbes Shire Council",
                "Georges River Council",
                "Gilgandra Shire Council",
                "Glen Innes Severn Shire Council",
                "Goulburn Mulwaree Council",
                "Greater Hume Shire Council",
                "Griffith City Council",
                "Gunnedah Shire Council",
                "Gwydir Shire Council",
                "Hawkesbury City Council",
                "Hay Shire Council",
                "Hilltops Council",
                "Inner West Council",
                "Inverell Shire Council",
                "Junee Shire Council",
                "Kempsey Shire Council",
                "Ku-ring-gai Council",
                "Kyogle Council",
                "Lachlan Shire Council",
                "Lake Macquarie City Council",
                "Lane Cove Municipal Council",
                "Leeton Shire Council",
                "Lismore City Council",
                "Lithgow City Council",
                "Liverpool City Council",
                "Liverpool Plains Shire Council",
                "Lockhart Shire Council",
                "Maitland City Council",
                "Mid-Coast Council",
                "Mid-Western Regional Council",
                "Moree Plains Shire Council",
                "Mosman Municipal Council",
                "Murray River Council",
                "Murrumbidgee Council",
                "Muswellbrook Shire Council",
                "Nambucca Valley Council",
                "Narrabri Shire Council",
                "Narrandera Shire Council",
                "Narromine Shire Council",
                "Newcastle City Council",
                "North Sydney Council",
                "Northern Beaches Council",
                "Oberon Council",
                "Orange City Council",
                "Parkes Shire Council",
                "Penrith City Council",
                "Port Macquarie-Hastings Council",
                "Port Stephens Council",
                "Queanbeyan-Palerang Regional Council",
                "Randwick City Council",
                "Richmond Valley Council",
                "Ryde City Council",
                "Shellharbour City Council",
                "Shoalhaven City Council",
                "Singleton Council",
                "Snowy Monaro Regional Council",
                "Snowy Valleys Council",
                "Strathfield Municipal Council",
                "Sutherland Shire Council",
                "Tamworth Regional Council",
                "Temora Shire Council",
                "Tenterfield Shire Council",
                "The Council of the Municipality of Hunters Hill",
                "The Council of the Municipality of Kiama",
                "The Council of the Shire of Hornsby",
                "The Hills Shire Council",
                "Tweed Shire Council",
                "Upper Hunter Shire Council",
                "Upper Lachlan Shire Council",
                "Uralla Shire Council",
                "Wagga Wagga City Council",
                "Walcha Council",
                "Walgett Shire Council",
                "Warren Shire Council",
                "Warrumbungle Shire Council",
                "Waverley Council",
                "Weddin Shire Council",
                "Wentworth Shire Council",
                "Willoughby City Council",
                "Wingecarribee Shire Council",
                "Wollondilly Shire Council",
                "Wollongong City Council",
                "Woollahra Municipal Council",
                "Yass Valley Council"
              ]
            }
          },
          "suburbs": {
            "title": "Suburbs",
            "type": "array",
            "description": "e.g. 'PENRITH', 'Castle Hill'. Not case sensitive.",
            "items": {
              "type": "string"
            }
          },
          "postcodes": {
            "title": "Postcodes",
            "type": "array",
            "description": "e.g. '2750'.",
            "items": {
              "type": "string"
            }
          },
          "addressContains": {
            "title": "Address contains",
            "type": "array",
            "description": "Any of these words in the address, e.g. a street name.",
            "items": {
              "type": "string"
            }
          },
          "lodgedWithinDays": {
            "title": "Lodged in the last N days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Used when no other date is set.",
            "default": 30
          },
          "lodgedFrom": {
            "title": "Lodged from",
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "lodgedTo": {
            "title": "Lodged to",
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "determinedFrom": {
            "title": "Determined from",
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "determinedTo": {
            "title": "Determined to",
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "updatedFrom": {
            "title": "Updated since",
            "type": "string",
            "description": "Applications changed on or after this date (new lodgements, status changes, determinations). Handy for daily monitoring."
          },
          "updatedTo": {
            "title": "Updated to",
            "type": "string",
            "description": "YYYY-MM-DD"
          },
          "developmentCategories": {
            "title": "Development categories",
            "type": "array",
            "description": "Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Residential",
                "Commercial",
                "Industrial",
                "Recreational",
                "Other"
              ]
            }
          },
          "developmentTypeContains": {
            "title": "Development type contains",
            "type": "array",
            "description": "Any of these words, e.g. 'Dual occupancy', 'Swimming pool', 'Demolition', 'Secondary dwelling', 'Childcare'.",
            "items": {
              "type": "string"
            }
          },
          "applicationTypes": {
            "title": "Application types",
            "type": "array",
            "description": "New DAs, modifications of approved DAs, or reviews. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Development Application",
                "Modification Application",
                "Review of determination"
              ]
            }
          },
          "statuses": {
            "title": "Status",
            "type": "array",
            "description": "Where the application is up to. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "Under Assessment",
                "Additional Information Requested",
                "On Exhibition",
                "Determined",
                "Deferred Commencement",
                "Pending Court Appeal",
                "Pending lodgement",
                "Rejected",
                "Withdrawn"
              ]
            }
          },
          "minCost": {
            "title": "Minimum cost of development (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "e.g. 1000000 for $1 million or more."
          },
          "maxCost": {
            "title": "Maximum cost of development (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "Upper limit on the estimated cost."
          },
          "minNewDwellings": {
            "title": "Minimum new dwellings",
            "minimum": 0,
            "type": "integer",
            "description": "e.g. 2 for dual occupancies and up."
          },
          "applicationNumbers": {
            "title": "Planning Portal numbers",
            "type": "array",
            "description": "Look up specific applications, e.g. 'PAN-563722'.",
            "items": {
              "type": "string"
            }
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "lodgedDesc",
              "updatedDesc",
              "costDesc",
              "dwellingsDesc"
            ],
            "type": "string",
            "description": "Order of the applications returned.",
            "default": "lodgedDesc"
          },
          "maxResults": {
            "title": "Maximum applications",
            "minimum": 1,
            "maximum": 60000,
            "type": "integer",
            "description": "Stop after this many applications. You are charged per row returned.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}