{
  "openapi": "3.0.1",
  "info": {
    "title": "Ireland Planning Applications",
    "description": "Search every planning application in Ireland: 31 councils, 500k+ records, updated weekly. Filter by council, date, keyword, decision, size or radius. Monitoring mode returns only new applications. Clean JSON/CSV/Excel with coordinates and council links. No personal data.",
    "version": "0.0",
    "x-build-id": "bInecgxEmEMkpGknk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/copperlark~ireland-planning-applications/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-copperlark-ireland-planning-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/copperlark~ireland-planning-applications/runs": {
      "post": {
        "operationId": "runs-sync-copperlark-ireland-planning-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/copperlark~ireland-planning-applications/run-sync": {
      "post": {
        "operationId": "run-sync-copperlark-ireland-planning-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": {
          "planningAuthorities": {
            "title": "Councils",
            "type": "array",
            "description": "Limit to these planning authorities. Leave empty for all of Ireland.",
            "items": {
              "type": "string",
              "enum": [
                "Carlow County Council",
                "Cavan County Council",
                "Clare County Council",
                "Cork City Council",
                "Cork County Council",
                "Donegal County Council",
                "Dublin City Council",
                "Dun Laoghaire Rathdown County Council",
                "Fingal County Council",
                "Galway City Council",
                "Galway County Council",
                "Kerry County Council",
                "Kildare County Council",
                "Kilkenny County Council",
                "Laois County Council",
                "Leitrim County Council",
                "Limerick County Council",
                "Longford County Council",
                "Louth County Council",
                "Mayo County Council",
                "Meath County Council",
                "Monaghan County Council",
                "Offaly County Council",
                "Roscommon County Council",
                "Sligo County Council",
                "South Dublin County Council",
                "Tipperary County Council",
                "Waterford City and County Council",
                "Westmeath County Council",
                "Wexford County Council",
                "Wicklow County Council"
              ]
            },
            "default": []
          },
          "latitude": {
            "title": "Centre latitude",
            "pattern": "^-?\\d{1,2}(\\.\\d+)?$",
            "type": "string",
            "description": "Optional radius search: latitude of the centre point (WGS84), e.g. 53.3498 for Dublin."
          },
          "longitude": {
            "title": "Centre longitude",
            "pattern": "^-?\\d{1,3}(\\.\\d+)?$",
            "type": "string",
            "description": "Longitude of the centre point (WGS84), e.g. -6.2603."
          },
          "radiusKm": {
            "title": "Radius (km)",
            "minimum": 1,
            "maximum": 300,
            "type": "integer",
            "description": "Only used when latitude and longitude are set."
          },
          "lastNDays": {
            "title": "Received in the last N days",
            "minimum": 1,
            "maximum": 6000,
            "type": "integer",
            "description": "Ignored when 'Received from' is set.",
            "default": 30
          },
          "receivedFrom": {
            "title": "Received from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "YYYY-MM-DD. Overrides 'last N days'."
          },
          "receivedTo": {
            "title": "Received to",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "YYYY-MM-DD (inclusive)."
          },
          "decidedFrom": {
            "title": "Decided from",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only applications with a decision on or after this date."
          },
          "keywords": {
            "title": "Description contains (any of)",
            "type": "array",
            "description": "Match any of these words in the development description, e.g. solar, extension, apartments, data centre.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Description must not contain",
            "type": "array",
            "description": "Drop applications whose description contains any of these words.",
            "items": {
              "type": "string"
            }
          },
          "applicationTypes": {
            "title": "Application types",
            "type": "array",
            "description": "Match on application type, e.g. PERMISSION, RETENTION, OUTLINE.",
            "items": {
              "type": "string"
            }
          },
          "decisions": {
            "title": "Decisions",
            "type": "array",
            "description": "Match on decision text, e.g. GRANT, REFUSE, CONDITIONAL.",
            "items": {
              "type": "string"
            }
          },
          "statuses": {
            "title": "Statuses",
            "type": "array",
            "description": "Match on application status, e.g. NEW APPLICATION, DECIDED, WITHDRAWN.",
            "items": {
              "type": "string"
            }
          },
          "minResidentialUnits": {
            "title": "Minimum residential units",
            "minimum": 1,
            "type": "integer",
            "description": "e.g. 10 to find larger housing schemes."
          },
          "minFloorArea": {
            "title": "Minimum floor area (m²)",
            "minimum": 1,
            "type": "integer",
            "description": "Only developments with at least this gross floor area in square metres."
          },
          "oneOffHouse": {
            "title": "One-off houses",
            "enum": [
              "any",
              "only",
              "exclude"
            ],
            "type": "string",
            "description": "Include, restrict to, or exclude one-off rural houses.",
            "default": "any"
          },
          "withAppealOnly": {
            "title": "Only applications under appeal",
            "type": "boolean",
            "description": "Only return applications that have an appeal reference.",
            "default": false
          },
          "monitoringId": {
            "title": "Monitoring name (only new applications)",
            "type": "string",
            "description": "Give a name (e.g. 'wicklow-extensions') and schedule this Actor: each run returns only applications that earlier runs with the same name haven't already returned, so you're only charged for new ones. Leave empty for a normal search."
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 600000,
            "type": "integer",
            "description": "You're charged per application returned, so set a cap.",
            "default": 1000
          },
          "sort": {
            "title": "Sort by received date",
            "enum": [
              "newest",
              "oldest"
            ],
            "type": "string",
            "description": "Order of results by date received.",
            "default": "newest"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}