{
  "openapi": "3.0.1",
  "info": {
    "title": "Public Tenders Scraper: TED EU, UK & AusTender",
    "description": "Scrape public tenders, government contracts and contract awards from EU TED (Tenders Electronic Daily), UK Find a Tender, UK Contracts Finder and AusTender. Filter by keyword, CPV code, country, value and deadline. Monitoring mode returns only new or changed notices.",
    "version": "1.0",
    "x-build-id": "sRHTZHDYJm3yarUjH"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape_juanmuller~public-tenders-monitor/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape_juanmuller-public-tenders-monitor",
        "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/steadyscrape_juanmuller~public-tenders-monitor/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape_juanmuller-public-tenders-monitor",
        "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/steadyscrape_juanmuller~public-tenders-monitor/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape_juanmuller-public-tenders-monitor",
        "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": "Keep notices that mention any of these words in the title or description, for example software, cybersecurity, cleaning, \"road maintenance\". All words of a phrase must appear. End a word with * to match its beginning (cyber* matches cybersecurity). Leave empty to get everything. Every TED notice has an English title with its category, so English keywords work across all EU languages; add local-language words (Software, logiciel) to catch even more.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude keywords (optional)",
            "type": "array",
            "description": "Drop notices whose title or description contains any of these words, for example cleaning or catering.",
            "items": {
              "type": "string"
            }
          },
          "sources": {
            "title": "Sources",
            "type": "array",
            "description": "Official procurement portals to search. TED covers all EU and EEA countries plus Switzerland and others publishing to the EU journal. AusTender's open data contains awarded contracts only.",
            "items": {
              "type": "string",
              "enum": [
                "ted",
                "uk-fts",
                "uk-cf",
                "austender"
              ],
              "enumTitles": [
                "TED: Tenders Electronic Daily (EU and EEA)",
                "UK Find a Tender (above-threshold UK)",
                "UK Contracts Finder (below-threshold UK)",
                "AusTender (Australia, awarded contracts)"
              ]
            },
            "default": [
              "ted",
              "uk-fts",
              "uk-cf",
              "austender"
            ]
          },
          "noticeTypes": {
            "title": "Notice types",
            "type": "array",
            "description": "Opportunities are open calls for tenders. Pre-notices are planned procurements and market engagement notices published before the tender. Awards show who won a contract and for how much.",
            "items": {
              "type": "string",
              "enum": [
                "opportunity",
                "planning",
                "award"
              ],
              "enumTitles": [
                "Opportunities (open tenders)",
                "Pre-notices (planned procurements)",
                "Contract awards"
              ]
            },
            "default": [
              "opportunity"
            ]
          },
          "daysBack": {
            "title": "Published in the last (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "How many days back to search, counting today. Ignored if you set a start date. Use this for scheduled runs so the window rolls forward automatically.",
            "default": 7
          },
          "onlyOpen": {
            "title": "Only tenders still open for bids",
            "type": "boolean",
            "description": "Skip opportunities whose submission deadline has already passed. Notices without a published deadline are kept. Does not affect pre-notices and awards.",
            "default": true
          },
          "countries": {
            "title": "Buyer countries (optional)",
            "type": "array",
            "description": "Keep only buyers in these countries. Use country codes or English names, for example DE, FR, Ireland, GB, AU. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV codes (optional)",
            "type": "array",
            "description": "EU Common Procurement Vocabulary codes used by TED and UK portals. A code also matches everything below it: 72000000 (or just 72) means all IT services, 72212000 means software programming services. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "unspscCodes": {
            "title": "UNSPSC codes (optional, AusTender)",
            "type": "array",
            "description": "AusTender classifies contracts with UNSPSC codes instead of CPV. A code also matches everything below it: 43 (or 43000000) means all IT and telecoms, 8111 means computer services. Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "minValue": {
            "title": "Minimum value (optional)",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only notices with an estimated or awarded value of at least this amount, in the notice's own currency (EUR, GBP, AUD...). Notices that publish no value are kept, since many tenders do not state one."
          },
          "dateFrom": {
            "title": "Published from (optional)",
            "type": "string",
            "description": "First publication date to include. Overrides 'Published in the last'."
          },
          "dateTo": {
            "title": "Published until (optional)",
            "type": "string",
            "description": "Last publication date to include. Leave empty for today."
          },
          "onlyNewOrChanged": {
            "title": "Only new or changed notices (monitoring mode)",
            "type": "boolean",
            "description": "Remembers what earlier runs of the same search returned and saves only notices that are new or changed (new deadline, value, status or title, or a cancellation). Unchanged notices are skipped and not charged. Ideal for a daily schedule.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after saving this many notices, newest first. You are only charged for notices actually saved.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}