{
  "openapi": "3.0.1",
  "info": {
    "title": "AusTender Contract Notices - Australian Government Contracts",
    "description": "Australian Government contract notices from AusTender's official OCDS API: agency, UNSPSC, value (AUD), contract period, procurement method and supplier companies with ABN. Filter by keyword, agency, UNSPSC, value, state or contract end date. CC BY 3.0 AU. Unofficial; not affiliated with AusTender.",
    "version": "0.1",
    "x-build-id": "t3RRKpsuRKxcTwbLU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/jpopendata~australia-austender/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-jpopendata-australia-austender",
        "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~australia-austender/runs": {
      "post": {
        "operationId": "runs-sync-jpopendata-australia-austender",
        "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~australia-austender/run-sync": {
      "post": {
        "operationId": "run-sync-jpopendata-australia-austender",
        "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": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Optional. Words or phrases searched as whole words, any case, in the contract description, the agency reference, the agency and its division/branch and the supplier name, e.g. \"software\", \"cyber security\", \"legal services\". A notice matches if it contains ANY of them. Leave empty for all notices.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "buyers": {
            "title": "Agency name contains",
            "type": "array",
            "description": "Optional. Part of the procuring agency's name, e.g. \"Department of Defence\", \"Taxation\", \"CSIRO\", \"Services Australia\". Any match counts.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "unspscCodes": {
            "title": "UNSPSC codes",
            "type": "array",
            "description": "Optional. UNSPSC category codes or prefixes (2, 4, 6 or 8 digits): \"43\" (information technology, broadcasting and telecommunications: the whole segment), \"8012\" (legal services), \"80101500\" (business and corporate management consultation), \"72\" (building, construction and maintenance services). A notice matches when its category starts with any of them.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "suppliers": {
            "title": "Supplier name contains",
            "type": "array",
            "description": "Optional. Part of the supplier's name, e.g. \"Accenture\", \"Leidos\", \"KPMG\". Only supplier names that are shown can match (names of possible private persons are withheld and never match).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "supplierAbns": {
            "title": "Supplier ABNs",
            "type": "array",
            "description": "Optional. Australian Business Numbers of suppliers (11 digits, spaces allowed), e.g. \"51 002 260 602\". Only suppliers whose name is shown can match.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "procurementMethods": {
            "title": "Procurement methods",
            "type": "array",
            "description": "Optional. Any of: open (Open tender), limited (Limited tender), prequalified (Prequalified tender). Empty = all methods.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "supplierStates": {
            "title": "Supplier states",
            "type": "array",
            "description": "Optional. Where the supplier is located: ACT, NSW, NT, QLD, SA, TAS, VIC, WA (full names such as \"Victoria\" work too) or \"Outside Australia\". Empty = everywhere.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "valueMin": {
            "title": "Minimum value (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Minimum contract value in Australian dollars, including GST, e.g. 100000. Notices without a value are dropped when a value range is set."
          },
          "valueMax": {
            "title": "Maximum value (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional. Maximum contract value in Australian dollars, including GST, e.g. 5000000."
          },
          "dateField": {
            "title": "Date the window applies to",
            "enum": [
              "published",
              "lastModified",
              "contractStart",
              "contractEnd"
            ],
            "type": "string",
            "description": "Which date the window searches: published = new contract notices published in the window (default); lastModified = notices created or changed in the window (use with Include amendments to get amendment notices); contractStart = contracts starting in the window; contractEnd = contracts ending in the window (find contracts coming up for renewal).",
            "default": "published"
          },
          "daysBack": {
            "title": "Days back",
            "type": "integer",
            "description": "For published / lastModified: search from N days ago up to today (1..366, Canberra calendar days). Ignored when Date from is set. Agencies publish about 150-400 contract notices per working day; with Max rows the run stops early once it has enough.",
            "default": 7
          },
          "daysAhead": {
            "title": "Days ahead",
            "type": "integer",
            "description": "For contractStart / contractEnd: search from today up to N days ahead (1..731). Ignored when Date from / Date to are set. Example: contractEnd with 90 = contracts ending in the next 90 days.",
            "default": 90
          },
          "dateFrom": {
            "title": "Date from",
            "type": "string",
            "description": "Optional. First day of the window, YYYY-MM-DD, e.g. \"2026-09-01\". DD/MM/YYYY (day first), \"1-Sep-2026\", \"today\", \"yesterday\" and relative days such as \"-30d\" or \"+180d\" also work. The window can be at most 366 days; AusTender's API starts on 2013-01-01.",
            "default": ""
          },
          "dateTo": {
            "title": "Date to",
            "type": "string",
            "description": "Optional. Last day of the window, YYYY-MM-DD. Empty = today (published / lastModified) or Date from + Days ahead (contractStart / contractEnd).",
            "default": ""
          },
          "includeAmendments": {
            "title": "Include amendments",
            "type": "boolean",
            "description": "Also output amendment notices (IDs like CN1234567-A1) as their own rows. AusTender's publication-date search returns new contract notices only, so use it with dateField = lastModified (or contractStart / contractEnd).",
            "default": false
          },
          "maxItems": {
            "title": "Max rows",
            "type": "integer",
            "description": "Maximum rows (1..5000). Rows come in AusTender's order: newest notices first (published / lastModified) or the earliest week of the window first (contractStart / contractEnd). You are charged per row.",
            "default": 20
          },
          "maxApiRequests": {
            "title": "Max API requests",
            "type": "integer",
            "description": "Hard budget of requests to the AusTender API for the whole run (1..500). Requests are sent one at a time at least 2 seconds apart; one request returns up to 100 notices. 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 AusTender 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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}