{
  "openapi": "3.0.1",
  "info": {
    "title": "ASIC Insolvency Notices Scraper — Liquidations & Watchlist",
    "description": "Australian insolvency notices from ASIC Published Notices: liquidations, administrations, restructurings, winding-up applications, creditor meetings and dividends, with the liquidator / administrator and key dates. Watch your customers and suppliers by ACN or ABN and get alerts.",
    "version": "0.1",
    "x-build-id": "nJLFwXUXHIQjobG17"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/he_work~au-insolvency-notices/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-he_work-au-insolvency-notices",
        "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/he_work~au-insolvency-notices/runs": {
      "post": {
        "operationId": "runs-sync-he_work-au-insolvency-notices",
        "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/he_work~au-insolvency-notices/run-sync": {
      "post": {
        "operationId": "run-sync-he_work-au-insolvency-notices",
        "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 get",
            "enum": [
              "feed",
              "lookup"
            ],
            "type": "string",
            "description": "New notices: everything ASIC published in a date range (optionally only for your companies). Look up: every notice for the companies you list, back to July 2012.",
            "default": "feed"
          },
          "publishedInLastDays": {
            "title": "Published in the last (days)",
            "minimum": 1,
            "maximum": 183,
            "type": "integer",
            "description": "New notices: notices published in this many days up to today (Sydney time). ASIC publishes on business days, so a look-back of 4 days or more spans a weekend. ASIC search covers the last 6 months.",
            "default": 3
          },
          "publishedFrom": {
            "title": "Published from (date)",
            "type": "string",
            "description": "New notices: first publish date (overrides 'last N days')."
          },
          "publishedTo": {
            "title": "Published to (date)",
            "type": "string",
            "description": "New notices: last publish date (default today)."
          },
          "companies": {
            "title": "Companies (ACN, ABN or name)",
            "type": "array",
            "description": "New notices: keep only notices about these companies (your customers, suppliers, debtors). Look up: the companies to search. ACNs and company ABNs match exactly; names match part of the company name.",
            "items": {
              "type": "string"
            }
          },
          "appointmentTypes": {
            "title": "Appointment types",
            "type": "array",
            "description": "Only these kinds of external administration (leave empty for all).",
            "items": {
              "type": "string",
              "enum": [
                "Court Liquidation",
                "Creditors' Voluntary Liquidation",
                "Deed of Company Arrangement",
                "Deregistration",
                "Members' Voluntary Liquidation",
                "Restructuring (Part 5.3B)",
                "Scheme of Arrangement",
                "Voluntary Administration",
                "Winding Up Application"
              ]
            }
          },
          "noticePurposes": {
            "title": "Notice purposes",
            "type": "array",
            "description": "Only these notice purposes, e.g. Appointment (a liquidator or administrator was appointed), Meeting, Dividend, Winding up application.",
            "items": {
              "type": "string",
              "enum": [
                "Meeting",
                "Dividend",
                "Disclaimer",
                "Appointment",
                "Deregistration",
                "Winding up application",
                "Intention to appoint a liquidator",
                "Declaration"
              ]
            }
          },
          "stateOfIncorporation": {
            "title": "State of incorporation",
            "enum": [
              "All",
              "NSW",
              "QLD",
              "VIC",
              "TAS",
              "WA",
              "SA",
              "NT",
              "ACT"
            ],
            "type": "string",
            "description": "Only companies registered in this state.",
            "default": "All"
          },
          "includeDeregistrations": {
            "title": "Include deregistration notices",
            "type": "boolean",
            "description": "Also return proposed deregistration notices (ASIC-initiated and voluntary). There are many of them; off by default.",
            "default": false
          },
          "recentOnly": {
            "title": "Look-up: last 6 months only",
            "type": "boolean",
            "description": "Look-ups normally also search ASIC's archive (notices older than 6 months, back to July 2012). Tick to skip it for faster runs.",
            "default": false
          },
          "includeDetails": {
            "title": "Notice details",
            "type": "boolean",
            "description": "Open each notice for the appointee, firm, contact, notice text and key dates (meeting, dividend, proof-of-debt deadline). Recommended.",
            "default": true
          },
          "maxResults": {
            "title": "Max notices",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many notices, newest first (0 = no limit). The form starts at 25 for a quick first run; set 0 to get every notice in the date range, e.g. for a scheduled daily feed.",
            "default": 0
          },
          "maxPagesPerSearch": {
            "title": "Max result pages per search",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Safety limit: ASIC shows 10 notices per page.",
            "default": 500
          },
          "watchListName": {
            "title": "Watch list name",
            "type": "string",
            "description": "Any name, e.g. 'debtor-watch'. Runs with the same name remember which notices they have already returned: new ones get change_status 'new'. Schedule a daily run with your companies list and Only new items to get each new notice once, by Slack, email, Telegram or Sheets."
          },
          "onlyNewItems": {
            "title": "Only new / changed items",
            "type": "boolean",
            "description": "With a watch list name: skip (and don't charge for) notices returned by earlier runs.",
            "default": false
          },
          "slackWebhookUrl": {
            "title": "Slack webhook URL",
            "type": "string",
            "description": "Slack incoming-webhook URL. Gets a digest of new / changed items after each run."
          },
          "telegramBotToken": {
            "title": "Telegram bot token",
            "type": "string",
            "description": "From @BotFather. Use together with the chat ID."
          },
          "telegramChatId": {
            "title": "Telegram chat ID",
            "type": "string",
            "description": "Chat, group or channel ID that receives the digest (e.g. -1001234567890)."
          },
          "discordWebhookUrl": {
            "title": "Discord webhook URL",
            "type": "string",
            "description": "Discord channel webhook URL. Gets the digest."
          },
          "googleSheetsWebAppUrl": {
            "title": "Google Sheets web app URL",
            "type": "string",
            "description": "Deploy the 10-line Apps Script from the README in your sheet and paste its web app URL: every new / changed item is appended as a row."
          },
          "notifyEmail": {
            "title": "Email digest to",
            "type": "string",
            "description": "Email address for the digest (sent with Apify's send-mail Actor)."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}