{
  "openapi": "3.0.1",
  "info": {
    "title": "AusTender Contract Notices Scraper - Suppliers, ABN & Values",
    "description": "Scrape Australian Government contract notices from AusTender (tenders.gov.au): agency, supplier name and ABN, value, start and end dates, UNSPSC category, procurement method, amendments, consultancy and confidentiality flags, agency contact. Open tenders too. Monitor mode. No API key.",
    "version": "0.1",
    "x-build-id": "ITRQkyAALr75bVdlG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapersdelight~austender-contract-notices-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapersdelight-austender-contract-notices-scraper",
        "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/scrapersdelight~austender-contract-notices-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapersdelight-austender-contract-notices-scraper",
        "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/scrapersdelight~austender-contract-notices-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapersdelight-austender-contract-notices-scraper",
        "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": {
          "recordType": {
            "title": "Record type",
            "enum": [
              "contractNotices",
              "approachesToMarket",
              "both"
            ],
            "type": "string",
            "description": "Contract notices = awarded contracts (who won, value, dates). Open tenders = Approaches to Market currently open for bids. Both = up to Max results of each.",
            "default": "contractNotices"
          },
          "noticeIds": {
            "title": "CN IDs or notice URLs (lookup mode)",
            "type": "array",
            "description": "Look up specific notices instead of a date window, e.g. \"CN4271813\" (the notice and all its amendments), \"CN4271813-A1\" (one amendment), or a tenders.gov.au Cn/Show or Atm/Show URL.",
            "items": {
              "type": "string"
            }
          },
          "dateType": {
            "title": "Date the window applies to",
            "enum": [
              "contractPublished",
              "contractLastModified",
              "contractStart",
              "contractEnd"
            ],
            "type": "string",
            "description": "Which contract-notice date the window filters on. Last modified also returns amendments (value changes, extensions); Contract end finds contracts about to expire.",
            "default": "contractPublished"
          },
          "daysBack": {
            "title": "Days back",
            "minimum": 1,
            "maximum": 8000,
            "type": "integer",
            "description": "Window of the last N days ending today (Canberra time). Ignored when Date from / Date to is set. AusTender publishes on business days, so 3+ covers a weekend.",
            "default": 7
          },
          "dateFrom": {
            "title": "Date from",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "Start of the window, YYYY-MM-DD, as a Canberra calendar day (what tenders.gov.au prints). History reaches back to 2004. Future dates work with Contract end date."
          },
          "dateTo": {
            "title": "Date to",
            "pattern": "^(\\d{4}-\\d{2}-\\d{2})?$",
            "type": "string",
            "description": "End of the window, YYYY-MM-DD (inclusive). Empty = today, or Date from when that is in the future."
          },
          "expiringWithinDays": {
            "title": "Contracts expiring within (days)",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Shortcut for a re-tender pipeline: contract notices whose end date falls between today and today + N days, soonest first. Overrides the date settings above."
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Keep notices whose description, agency reference, supplier, agency or category contains ANY of these (case-insensitive), e.g. \"cyber\", \"cleaning\", \"software\".",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Drop notices containing ANY of these words in the same fields, e.g. \"lease\", \"travel\".",
            "items": {
              "type": "string"
            }
          },
          "agencies": {
            "title": "Agencies (names or ABNs)",
            "type": "array",
            "description": "Buying agency name contains (e.g. \"Defence\", \"Home Affairs\") or exact 11-digit agency ABN (e.g. \"41687119230\" for CSIRO).",
            "items": {
              "type": "string"
            }
          },
          "suppliers": {
            "title": "Suppliers (names or ABNs)",
            "type": "array",
            "description": "Winning supplier name contains (e.g. \"Accenture\") or exact 11-digit supplier ABN - one run returns that supplier's federal win history.",
            "items": {
              "type": "string"
            }
          },
          "unspscPrefixes": {
            "title": "UNSPSC category prefixes",
            "type": "array",
            "description": "UNSPSC code prefixes, e.g. \"43\" (IT), \"8010\" (management advisory), \"80111600\" (temporary personnel).",
            "items": {
              "type": "string"
            }
          },
          "procurementMethods": {
            "title": "Procurement method",
            "type": "array",
            "description": "Keep only these procurement methods. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "open",
                "limited",
                "prequalified"
              ],
              "enumTitles": [
                "Open tender",
                "Limited tender",
                "Prequalified (selective) tender"
              ]
            }
          },
          "minValue": {
            "title": "Minimum value (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "Contract notices worth at least this much (AUD, as published)."
          },
          "maxValue": {
            "title": "Maximum value (AUD)",
            "minimum": 0,
            "type": "integer",
            "description": "Contract notices worth at most this much (AUD)."
          },
          "states": {
            "title": "States / territories",
            "type": "array",
            "description": "Contract notices: the supplier's state. Open tenders: the delivery location. Empty = all.",
            "items": {
              "type": "string",
              "enum": [
                "ACT",
                "NSW",
                "NT",
                "QLD",
                "SA",
                "TAS",
                "VIC",
                "WA",
                "OUTSIDE AUSTRALIA"
              ],
              "enumTitles": [
                "ACT",
                "NSW",
                "NT",
                "QLD",
                "SA",
                "TAS",
                "VIC",
                "WA",
                "Outside Australia (suppliers only)"
              ]
            }
          },
          "contractStatus": {
            "title": "Contract status",
            "enum": [
              "any",
              "active",
              "cancelled"
            ],
            "type": "string",
            "description": "Active or cancelled contract notices only. Any = both.",
            "default": "any"
          },
          "includeAmendments": {
            "title": "Include amendments",
            "type": "boolean",
            "description": "Keep amendment notices (id like CN4271813-A1: value changes, extensions, corrections). Most arrive with Last modified or Contract end windows.",
            "default": true
          },
          "atmClosingWithinDays": {
            "title": "Open tenders closing within (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "Open tenders only: keep those closing between today and today + N days."
          },
          "includeDetails": {
            "title": "Read each notice page",
            "type": "boolean",
            "description": "Adds the fields only the notice page shows: category name, execution date, original value and change, amendment reasons, ATM / SON ids, consultancy, confidentiality, suppliers invited, SME flags. Included in the price.",
            "default": true
          },
          "monitorMode": {
            "title": "Only new notices (monitor)",
            "type": "boolean",
            "description": "Return only notices this monitor has not delivered before - pairs with a daily schedule. The memory follows your record type and filters, or the Monitor key below.",
            "default": false
          },
          "monitorKey": {
            "title": "Monitor key",
            "type": "string",
            "description": "Optional name for the monitor memory (letters, digits, hyphens), e.g. \"defence-it\". Use different keys for different watchlists."
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many rows (per record type when Both). AusTender publishes ~150-250 contract notices per business day (4,450 in September 2026). 0 = no limit.",
            "default": 200
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Leave as is: requests go direct and fall back to a small Apify residential (AU) allowance only if tenders.gov.au refuses them. Set your own proxy here to use it as that fallback instead.",
            "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}