{
  "openapi": "3.0.1",
  "info": {
    "title": "Australia New Companies Feed: ASIC Weekly Registrations",
    "description": "Weekly feed of newly registered Australian companies from the official ASIC Company Dataset: ACN, ABN, company type, class, status, registration date. Optional deregistrations, name changes, strike-off actions and external administrations. Companies only.",
    "version": "0.1",
    "x-build-id": "J3rXaX262EM0Yzytc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/moment-data~australia-new-companies-feed/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-moment-data-australia-new-companies-feed",
        "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/moment-data~australia-new-companies-feed/runs": {
      "post": {
        "operationId": "runs-sync-moment-data-australia-new-companies-feed",
        "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/moment-data~australia-new-companies-feed/run-sync": {
      "post": {
        "operationId": "run-sync-moment-data-australia-new-companies-feed",
        "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": {
          "eventTypes": {
            "title": "Event types",
            "type": "array",
            "description": "newRegistrations (default) = companies registered with ASIC in the window. deregistrations = companies deregistered in the window. nameChanges = companies whose current name started in the window (with former names). strikeOffs = companies whose status changed to 'strike-off action in progress' since the previous weekly snapshot. externalAdministrations = companies newly flagged as in external administration (receivership / liquidation / administration) since the previous snapshot. Any event type other than newRegistrations scans the whole ~400 MB file (about 2 minutes at 512 MB memory, faster with more).",
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "window",
              "sinceLastRun"
            ],
            "type": "string",
            "description": "window = every matching record in the last Days back days of the latest weekly snapshot (stateless, default). sinceLastRun = only records not delivered by a previous run with the same State key (re-reads 14 days of overlap).",
            "default": "window"
          },
          "daysBack": {
            "title": "Days back",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Event-date window ending on the newest registration date in the snapshot. ASIC uploads a new snapshot every Tuesday (Australian time), so 7 days = one snapshot. About 1,000-1,200 new companies are registered per working day.",
            "default": 7
          },
          "companyTypes": {
            "title": "Company types",
            "type": "array",
            "description": "APTY (proprietary / Pty Ltd), APUB (public company, incl. non-profits limited by guarantee), FNOS (foreign company registered in Australia), RACN (registrable Australian body, e.g. incorporated associations), CCIV. Names like proprietary, public, foreign also work. Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "subClasses": {
            "title": "Sub classes",
            "type": "array",
            "description": "ASIC sub-class codes: PROP (proprietary other), PSTC (proprietary superannuation trustee), PNPC (proprietary non-profit), ULST (unlisted public), ULSN (unlisted public non-profit), LIST (listed public), HUNT (home unit company), PUBF (foreign, lodges balance sheet). Empty = all.",
            "items": {
              "type": "string"
            }
          },
          "nameKeywords": {
            "title": "Name contains (any)",
            "type": "array",
            "description": "Keep companies whose name (or former name, for name changes) contains any of these, e.g. solar, tech, construction, cafe, health.",
            "items": {
              "type": "string"
            }
          },
          "excludeNameKeywords": {
            "title": "Name excludes",
            "type": "array",
            "description": "Drop companies whose name contains any of these, e.g. super, nominees, holdings, investments.",
            "items": {
              "type": "string"
            }
          },
          "excludeSuperannuationTrustees": {
            "title": "Exclude superannuation trustee companies",
            "type": "boolean",
            "description": "Drop corporate trustees of (self-managed) super funds (sub classes PSTC, ULSS, LISS), which are rarely operating businesses.",
            "default": false
          },
          "onlyWithAbn": {
            "title": "Only companies with an ABN",
            "type": "boolean",
            "description": "Keep only records that already show an Australian Business Number. Most brand-new companies get their ABN later, so this drops many new registrations.",
            "default": false
          },
          "excludePersonNamedCompanies": {
            "title": "Exclude person-named companies",
            "type": "boolean",
            "description": "Drop proprietary companies whose name is just a person's name (e.g. 'J SMITH PTY LTD', 'JOHN SMITH PTY LTD'). On by default to keep the feed entity-level.",
            "default": true
          },
          "autoExtend": {
            "title": "Widen window when it is short",
            "type": "boolean",
            "description": "In window mode, walk back day by day (max 28 days) when fewer than about 25 records match (narrow filters). Turn off to get exactly the Days back window.",
            "default": true
          },
          "fullScan": {
            "title": "Full scan for new registrations",
            "type": "boolean",
            "description": "New registrations are read from the end of the file (sorted by ACN), which covers about 99.9% of new companies in a few MB. Turn on to scan the whole file and also catch the rare out-of-sequence numbers (some foreign companies / registered bodies).",
            "default": false
          },
          "maxItems": {
            "title": "Max records per run",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Hard cap on delivered records (also caps your spend), split fairly across event types. Newest first in window mode, oldest first in sinceLastRun mode.",
            "default": 30
          },
          "stateKey": {
            "title": "State key",
            "type": "string",
            "description": "sinceLastRun only: separate saved state per saved search (e.g. 'sydney-solar').",
            "default": "default"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}