{
  "openapi": "3.0.1",
  "info": {
    "title": "ASIC Australian Companies - ACN/ABN Lookup & New Registrations",
    "description": "Australian companies from ASIC's weekly Company Dataset on data.gov.au: search by name, ACN/ARBN or ABN, or list new registrations and deregistrations by date. Status, type, class, ABN, registration dates, former names. Official CKAN API; CC BY 3.0 AU. Unofficial; not affiliated with ASIC.",
    "version": "0.1",
    "x-build-id": "he9rFoue2I8TRcMgS"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jpopendata~au-asic-companies/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jpopendata-au-asic-companies",
        "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/jpopendata~au-asic-companies/runs": {
      "post": {
        "operationId": "runs-sync-jpopendata-au-asic-companies",
        "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/jpopendata~au-asic-companies/run-sync": {
      "post": {
        "operationId": "run-sync-jpopendata-au-asic-companies",
        "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 fetch",
            "enum": [
              "recent",
              "search"
            ],
            "type": "string",
            "description": "recent (default) = companies registered (or deregistered) in a date window — by default the 7 days up to the latest weekly ASIC extract, newest first. search = look up companies by name keywords, ACN/ARBN or ABN (no date limit unless you set Date from / Date to). If you enter ACNs or ABNs the run switches to search automatically.",
            "default": "recent"
          },
          "companyNames": {
            "title": "Company name keywords",
            "type": "array",
            "description": "Optional. Words of the company name, any case, e.g. \"Woolworths\", \"bp australia\", \"mining*\". Every word must appear as a whole word of the name (any order); end a word with * to match its start (\"woolw*\"). A company matches if ANY entry matches. Former names count too (see Match former names). In mode recent they narrow the new registrations; in mode search they search the whole register.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "acns": {
            "title": "ACNs / ARBNs",
            "type": "array",
            "description": "Optional (mode search). Australian Company Numbers or Australian Registered Body Numbers: 9 digits, spaces and labels allowed, e.g. \"004 085 616\", \"ACN 000 000 019\". Up to 2,000 per run (100 per request). Numbers that fail the check digit are skipped and listed in RUN_SUMMARY.invalidNumbers.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "abns": {
            "title": "ABNs",
            "type": "array",
            "description": "Optional (mode search). Australian Business Numbers of companies: 11 digits, spaces allowed, e.g. \"53 004 085 616\". Only companies are in this dataset (no sole traders, partnerships or trusts). Numbers that fail the ABN check are skipped.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "dateField": {
            "title": "Date the window applies to",
            "enum": [
              "registered",
              "deregistered"
            ],
            "type": "string",
            "description": "registered (default) = date of registration; deregistered = date of deregistration (ASIC keeps deregistered companies in this dataset for one year only).",
            "default": "registered"
          },
          "lastDays": {
            "title": "Last N days",
            "type": "integer",
            "description": "Mode recent: the N days up to and including the latest weekly ASIC extract (1..366). The extract is published every Tuesday, so the window ends on that day, not today. Ignored when Date from is set. Australia registers roughly 4,000-6,000 companies a week.",
            "default": 7
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "Optional. First day of the window, YYYY-MM-DD, e.g. \"2026-07-01\". DD/MM/YYYY (day first), \"1-Jul-2026\", \"today\", \"yesterday\" and \"-30d\" (30 days before today, Sydney time) also work. In mode recent the window can be at most 3,660 days; in mode search any range works together with names or numbers.",
            "default": ""
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "Optional. Last day of the window (inclusive), same formats as Date from. Defaults to the latest weekly extract date.",
            "default": ""
          },
          "statuses": {
            "title": "Statuses",
            "type": "array",
            "description": "Optional. ASIC status codes or names: REGD (Registered), DRGD (Deregistered), EXAD (External administration - receivership/liquidation), SOFF (Strike-off action in progress), NOAC (Not active), NRGD (Not registered), PROV, DISS, DIV3, PEND, CNCL. \"registered\", \"deregistered\", \"liquidation\", \"strike off\" also work. Empty = all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "types": {
            "title": "Company types",
            "type": "array",
            "description": "Optional. APTY (Australian proprietary company), APUB (Australian public company), FNOS (foreign company registered in Australia), RACN (registered Australian body). \"proprietary\", \"public\", \"foreign\" also work. Empty = all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "classes": {
            "title": "Company classes",
            "type": "array",
            "description": "Optional. LMSH (limited by shares), LMGT (limited by guarantee), LMSG (shares and guarantee), NLIA (no liability), UNLM (unlimited), NONE. Empty = all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "subClasses": {
            "title": "Company sub classes",
            "type": "array",
            "description": "Optional. ASIC sub class codes, e.g. LIST (listed public company), ULST (unlisted public company), PROP (proprietary other), PSTC (proprietary superannuation trustee company), PNPC (proprietary non-profit), HUNT (home unit company), NLTD, ULSN, ULSS, LISN, LISS, EXPT, NEXT, PUBF, RACA, RACO, STFI, NONE. Empty = all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "previousStates": {
            "title": "Previous state of registration",
            "type": "array",
            "description": "Optional. NSW, VIC, QLD, SA, WA, TAS, ACT, NT (or the full names). This is the state in which an older company was originally registered (before national registration in 1991); newer companies have none, and the dataset has no registered office address.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "onlyChangedThisWeek": {
            "title": "Only changed in the latest weekly extract",
            "type": "boolean",
            "description": "Only companies whose name, type, class, sub class or status changed (or that are new) since the previous weekly extract — ASIC's \"Modified since last report\" flag. Combine with Statuses = EXAD to get this week's companies entering external administration.",
            "default": false
          },
          "includeFormerNameMatches": {
            "title": "Match former names",
            "type": "boolean",
            "description": "When a keyword matches only a former name of a company, still return the company (matchedBy = formerName). Turn off to match current names only.",
            "default": true
          },
          "maxItems": {
            "title": "Max companies",
            "type": "integer",
            "description": "Maximum companies to return (1..100000). Companies come newest first (highest ACN first). When you list ACNs/ABNs it is raised to cover the list. You are charged per company.",
            "default": 100
          },
          "maxApiRequests": {
            "title": "Max API requests",
            "type": "integer",
            "description": "Hard budget of requests to the data.gov.au API for the whole run (1..500). Requests go one at a time at least 2 seconds apart; one request returns up to 1,000 name records (100 numbers per request for ACN/ABN lists). If the budget runs out the run still succeeds with what it found (complete=false in RUN_SUMMARY).",
            "default": 30
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional and normally not needed: the data.gov.au API answers Apify datacenter IPs. If set, one sticky session is used for the whole run (never rotation).",
            "default": {
              "useApifyProxy": false
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}