{
  "openapi": "3.0.1",
  "info": {
    "title": "Australian Charities Scraper",
    "description": "Australian Charities and Not-for-profits Commission (ACNC) Scraper",
    "version": "0.0",
    "x-build-id": "4GrBILok6b5pdCWNl"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/captivating_clarinet~acnc/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-captivating_clarinet-acnc",
        "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/captivating_clarinet~acnc/runs": {
      "post": {
        "operationId": "runs-sync-captivating_clarinet-acnc",
        "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/captivating_clarinet~acnc/run-sync": {
      "post": {
        "operationId": "run-sync-captivating_clarinet-acnc",
        "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": {
          "searchTerm": {
            "title": "Charity name or ABN",
            "type": "string",
            "description": "Search by charity name or ABN. Leave blank to use filters instead."
          },
          "location": {
            "title": "Charity location",
            "type": "string",
            "description": "Search suburb or postcode."
          },
          "status": {
            "title": "Status",
            "enum": [
              "Registered",
              "Revoked",
              "Voluntarily revoked"
            ],
            "type": "string",
            "description": "Charity registration status.",
            "default": "Registered"
          },
          "size": {
            "title": "Size",
            "enum": [
              "Large",
              "Medium",
              "Small"
            ],
            "type": "string",
            "description": "Charity size."
          },
          "operatingState": {
            "title": "State of operation",
            "enum": [
              "442525206",
              "2642561731",
              "254052704",
              "3738643685",
              "74986278",
              "305305219",
              "3283369133",
              "700166136",
              "2436188296"
            ],
            "type": "string",
            "description": "Australian state the charity operates in."
          },
          "countries": {
            "title": "Countries of operation",
            "enum": [
              "1789607488",
              "2677286971",
              "1664123983",
              "831440508",
              "2990942542",
              "4251792985",
              "1122992818",
              "1916266241",
              "60000940",
              "361675714",
              "299819657",
              "1474225954",
              "2617389991",
              "3411872625",
              "1754436759",
              "1865560516",
              "2647707828",
              "2109290352",
              "2427965986",
              "2551714669",
              "3390375802",
              "84027732",
              "2077379440",
              "1968483994",
              "4198290940",
              "2219423205",
              "518315488",
              "62021569",
              "3285898834",
              "3672489918",
              "2795601364",
              "1563114528",
              "561077479",
              "428996190",
              "1207782951",
              "2218827890",
              "1928293556",
              "3809346112",
              "971834596",
              "842554592",
              "1160246246",
              "725561226",
              "2016076494",
              "1437885631",
              "1626325540",
              "1952667118",
              "2208710759",
              "779737648",
              "2691402736",
              "3456989782",
              "2984616339",
              "646786247",
              "2420439506",
              "239501005",
              "609359002",
              "932410785",
              "2122996136",
              "1819209598",
              "3684617504",
              "2618175708",
              "2226085289",
              "3401324796",
              "1805269653",
              "309747606",
              "2512286277",
              "2985204337",
              "121454611",
              "1786774787",
              "750064544",
              "311414191",
              "3181471080",
              "3547585981",
              "4122426331",
              "1587946932",
              "3301978884",
              "1170779034",
              "2602912225",
              "1838606431",
              "217346316",
              "2449663986",
              "1520992555",
              "2608608604",
              "266022505",
              "382570151",
              "512708717",
              "1837967272",
              "777952348",
              "2590702878",
              "2780785696",
              "1718264898",
              "3008979313",
              "585069007",
              "199796760",
              "3569471062",
              "472364048",
              "4254523237",
              "4225790268",
              "2160389270",
              "2213295331",
              "3585366341",
              "1219330253",
              "2805259669",
              "1335111834",
              "1811661031",
              "490637435",
              "1770003631",
              "4108721855",
              "534354382",
              "2690230965",
              "338130558",
              "4021132742",
              "1540059217",
              "2787889741",
              "2721694507",
              "2202151125",
              "3088905054",
              "3841747181",
              "3194580348",
              "1429765081",
              "711454169",
              "1343066742",
              "3809283664",
              "2007320486",
              "3363092863",
              "1406491111",
              "457342887",
              "286342226",
              "2623961533",
              "3479209937",
              "3049179811",
              "3440327867",
              "375588017",
              "3613204721",
              "1547414658",
              "338758655",
              "3667971656",
              "263005616",
              "2134688598",
              "65273427",
              "106013414",
              "774535531",
              "140733066",
              "3550630368",
              "536557617",
              "3873228617",
              "1716520350",
              "4171649994",
              "3082038010",
              "2131622377",
              "2791924250",
              "1729667362",
              "216439339",
              "2160797381",
              "977422236",
              "2103458618",
              "241715737",
              "3776404894",
              "1293407471",
              "2534090534",
              "3526080487",
              "254052704",
              "1941069965",
              "1575594665",
              "3571611267",
              "3996924490",
              "2704173733",
              "3528313829",
              "1723373468",
              "44967114",
              "2818510304",
              "956426380",
              "422453359",
              "3940692583",
              "684082746",
              "3618595502",
              "1223509347",
              "270476414",
              "2903746723",
              "834856803",
              "579704207",
              "1177401495",
              "741869408",
              "3645070315",
              "693817849",
              "3698368659",
              "3305739557",
              "74993950",
              "2414567732",
              "1662354353",
              "256616510",
              "3242386644",
              "2924782003",
              "1196814092",
              "1766445192",
              "3046112852",
              "4211871653",
              "2194449579",
              "1537866639",
              "3444175596",
              "1155573584",
              "3294343407",
              "2486253753",
              "3174958594",
              "2598830411",
              "2060548947",
              "1146089528",
              "4185751281",
              "3179497705",
              "1409461882",
              "2449098900",
              "330040633",
              "2250265955",
              "3665763213",
              "2197609827",
              "402534219",
              "45768404",
              "3095644381",
              "732922246",
              "480960120",
              "1898177891",
              "2209823413",
              "4218756291",
              "3335563666",
              "1723175352",
              "900911966",
              "927251696",
              "2563879240",
              "4263870084",
              "1002971053",
              "3223838707",
              "1491873575",
              "3344183625",
              "2372764343",
              "2954837636",
              "759803244",
              "895026901",
              "4111472120",
              "3618150535",
              "2310465348",
              "1185600568",
              "3905329337",
              "528108910",
              "1285752877",
              "1317407295",
              "175292891",
              "3432511836",
              "3015467081",
              "2221643360"
            ],
            "type": "string",
            "description": "Country the charity operates in."
          },
          "beneficiaries": {
            "title": "Who the charity helps",
            "type": "array",
            "description": "Select one or more groups the charity benefits.",
            "items": {
              "type": "string",
              "enum": [
                "3146375612",
                "1641835825",
                "1823230369",
                "2483440479",
                "2523687389",
                "2188565051",
                "977941433",
                "1176952354",
                "2573156300",
                "1598068466",
                "1155417080",
                "2350702914",
                "1695659589",
                "643754464",
                "3025230247",
                "946434742",
                "3646436640",
                "3565208518",
                "3383773076",
                "2242005915",
                "3706662050",
                "2393951208",
                "1247192072",
                "644231501",
                "3104854755",
                "2521070821",
                "3572029580",
                "3977995734",
                "3062318039",
                "1763865644",
                "2555503676"
              ],
              "enumTitles": [
                "Aboriginal and Torres Strait Islander people",
                "Adults - aged 25 to under 65",
                "Adults - aged 65 and over",
                "All ages",
                "Animals",
                "Children - aged 6 to under 15",
                "Early childhood - aged under 6",
                "Environment",
                "Families",
                "Females",
                "Financially disadvantaged people",
                "Gay, lesbian, bisexual, transgender or intersex persons",
                "General community in Australia",
                "LGBTIQA+",
                "Males",
                "Migrants, refugees or asylum seekers",
                "Other",
                "Other charities",
                "Other gender identities",
                "Overseas communities or charities",
                "People at risk of homelessness/ people experiencing homelessness",
                "People from a culturally and linguistically diverse background",
                "People in rural/regional/remote communities",
                "People with chronic illness (including terminal illness)",
                "People with disabilities",
                "Pre/post release offenders and/or their families",
                "Unemployed persons",
                "Veterans and/or their families",
                "Victims of crime (including family violence)",
                "Victims of disaster",
                "Youth - 15 to under 25"
              ]
            }
          },
          "subtype": {
            "title": "Charity subtype",
            "enum": [
              "658793843",
              "3890620834",
              "2697164113",
              "580600276",
              "865552835",
              "2321270675",
              "3321665488",
              "1081603383",
              "3270114275",
              "2845156550",
              "2641370551",
              "2680599663",
              "1945357704",
              "4071475724",
              "2001210929",
              "1421705952",
              "164670360",
              "3233224004",
              "931976107",
              "3140496310",
              "3251919639"
            ],
            "type": "string",
            "description": "Charity purpose/subtype."
          },
          "maxResults": {
            "title": "Max results",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Maximum number of charity records to fetch.",
            "default": 5
          },
          "fetchDetails": {
            "title": "Fetch details",
            "type": "boolean",
            "description": "Fetch the extensive details of the charities scraped",
            "default": true
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}