{
  "openapi": "3.0.1",
  "info": {
    "title": "Belgium Tenders Scraper: Public Procurement (e-Procurement)",
    "description": "Belgian public tenders from publicprocurement.be (e-Procurement BDA) by keyword, notice type, CPV, region, procedure, buyer and deadline: contract notices, awards and corrections in NL, FR, DE, EN, with lots, buyer contact, value, winners and documents. Export to JSON, CSV or Excel, or via API.",
    "version": "1.0",
    "x-build-id": "LTeKAEZs4Tx63PbyG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/steadyscrape~belgium-tenders-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-steadyscrape-belgium-tenders-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/steadyscrape~belgium-tenders-scraper/runs": {
      "post": {
        "operationId": "runs-sync-steadyscrape-belgium-tenders-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/steadyscrape~belgium-tenders-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-steadyscrape-belgium-tenders-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": {
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Each keyword is one search of publicprocurement.be, matched the way the site's own search matches it, across titles and descriptions in Dutch, French, German or English (<i>voirie</i>, <i>schoonmaak</i>, <i>IT services</i>). A keyword of several words finds notices holding any of them; put a phrase in quotes to match it whole (<i>\"travaux de voirie\"</i>). Empty: every publication that passes the filters below.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "noticeTypes": {
            "title": "Notice type",
            "type": "array",
            "description": "eForms notice types, grouped: <b>Contract or concession notice</b> is the call for tenders to bid on (national notices below the EU thresholds included), <b>Contract or concession award notice</b> names the winners. Empty: every type.",
            "items": {
              "type": "string",
              "enum": [
                "market_consultation",
                "prior_information",
                "prior_information_call_for_competition",
                "qualification_system",
                "contract_notice",
                "design_contest",
                "voluntary_ex_ante_transparency",
                "contract_award_notice",
                "design_contest_result",
                "contract_modification",
                "contract_completion"
              ],
              "enumTitles": [
                "Preliminary market consultation",
                "Prior information notice (for information, buyer profile or shorter time limits)",
                "Prior information notice used as a call for competition",
                "Qualification system",
                "Contract or concession notice (standard or light regime, subcontracting)",
                "Design contest",
                "Voluntary ex-ante transparency notice",
                "Contract or concession award notice",
                "Design contest result",
                "Contract modification",
                "Contract completion"
              ]
            },
            "default": []
          },
          "openForBidsOnly": {
            "title": "Open for bids only",
            "type": "boolean",
            "description": "Only publications whose submission deadline has not passed (the site's \"active deadline\" filter).",
            "default": false
          },
          "natures": {
            "title": "Contract type",
            "type": "array",
            "description": "Works, supplies or services. Empty: any.",
            "items": {
              "type": "string",
              "enum": [
                "works",
                "supplies",
                "services"
              ],
              "enumTitles": [
                "Works",
                "Supplies",
                "Services"
              ]
            },
            "default": []
          },
          "procedures": {
            "title": "Procedure",
            "type": "array",
            "description": "The award procedure, as the notice names it. Empty: any.",
            "items": {
              "type": "string",
              "enum": [
                "open",
                "open-def",
                "restricted",
                "neg-w-call-24",
                "neg-w-call-25",
                "neg-w-call-81",
                "s-neg-w-call-24-81",
                "s-neg-w-call-25",
                "comp-dial",
                "innovation",
                "low-value-t",
                "neg-wo-call-24",
                "neg-wo-call-25",
                "neg-wo-call-81",
                "proc-neg",
                "suigen-social",
                "neg-w-call-23",
                "neg-wo-call-23",
                "open-cons",
                "suigen-other",
                "purchase-fadps"
              ],
              "enumTitles": [
                "Open procedure",
                "Open procedure (defence and security)",
                "Restricted procedure",
                "Negotiated procedure with prior publication",
                "Negotiated procedure with prior call for competition (utilities)",
                "Negotiated procedure with publication (defence and security)",
                "Simplified negotiated procedure with prior publication",
                "Simplified negotiated procedure with call for competition (utilities)",
                "Competitive dialogue",
                "Innovation partnership",
                "Low-value tender",
                "Negotiated procedure without prior publication",
                "Negotiated procedure without prior call for competition (utilities)",
                "Negotiated procedure without publication (defence and security)",
                "Procedure involving negotiations",
                "Sui generis (social and other specific services)",
                "Concession with prior publication of a concession notice (multiple stages)",
                "Concession without prior publication of a concession notice",
                "Concession with prior publication of a concession notice (single stage)",
                "Procedure defined by the contracting authority or entity",
                "Purchase under an existing framework agreement or dynamic purchasing system"
              ]
            },
            "default": []
          },
          "regions": {
            "title": "Region or province (place of performance)",
            "type": "array",
            "description": "A region holds its provinces, and a notice placed in all of Belgium is in every one. Empty: anywhere.",
            "items": {
              "type": "string",
              "enum": [
                "brussels",
                "flanders",
                "antwerp",
                "limburg",
                "east_flanders",
                "flemish_brabant",
                "west_flanders",
                "wallonia",
                "walloon_brabant",
                "hainaut",
                "liege",
                "luxembourg",
                "namur"
              ],
              "enumTitles": [
                "Brussels-Capital Region (BE1)",
                "Flemish Region (BE2)",
                "Antwerp province (BE21)",
                "Limburg province (BE22)",
                "East Flanders province (BE23)",
                "Flemish Brabant province (BE24)",
                "West Flanders province (BE25)",
                "Walloon Region (BE3)",
                "Walloon Brabant province (BE31)",
                "Hainaut province (BE32)",
                "Liège province (BE33)",
                "Luxembourg province (BE34)",
                "Namur province (BE35)"
              ]
            },
            "default": []
          },
          "cpvCodes": {
            "title": "CPV codes",
            "type": "array",
            "description": "Each code matches every code below it, main or additional: <i>45000000</i> is all construction work, <i>72000000</i> all IT services. With or without the check digit (<i>45000000-7</i>). At most 100.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "languages": {
            "title": "Publication language",
            "type": "array",
            "description": "Only notices published in one of these languages. Empty: any.",
            "items": {
              "type": "string",
              "enum": [
                "nl",
                "fr",
                "de",
                "en"
              ],
              "enumTitles": [
                "Dutch",
                "French",
                "German",
                "English"
              ]
            },
            "default": []
          },
          "buyers": {
            "title": "Buyers (contracting authorities)",
            "type": "array",
            "description": "Names as the platform writes them in any of its languages (<i>Stad Gent</i>, <i>Ville de Liège</i>, <i>SPF Finances</i>), or enterprise numbers (<i>0207.451.227</i>). Each is looked up in the platform's directory of organisations and searched with its departments; a name that is no organisation's whole name matches every one holding it.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "publishedWithinDays": {
            "title": "Published in the last N days",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Published or corrected in the last N days (Brussels time), today included. 0 for any day.",
            "default": 0
          },
          "closingWithinDays": {
            "title": "Deadline in the next N days",
            "minimum": 0,
            "maximum": 730,
            "type": "integer",
            "description": "Submission deadline in the next N days (Brussels time), today included. 0 for any deadline.",
            "default": 0
          },
          "includeDetails": {
            "title": "Include details (versions, submission vault, forum, documents, buyer contact, estimated value, winners)",
            "type": "boolean",
            "description": "Reads each publication's workspace: every version with its deadline, the vault and forum dates, the documents by name, links to external platforms, and from the eForms notice the buyer's address and contact, the estimated value, and for awards the winners, amounts and tenders received. Charged as a notice with details; three requests per notice, so runs are slower.",
            "default": false
          },
          "textLanguage": {
            "title": "Texts in",
            "enum": [
              "nl",
              "fr",
              "de",
              "en"
            ],
            "type": "string",
            "description": "The language of titles, descriptions, buyer names and CPV descriptions when the notice has it; otherwise the notice's own language. Every language the notice has is in <code>titles</code> and <code>descriptions</code>.",
            "default": "en"
          },
          "maxResults": {
            "title": "Maximum notices",
            "minimum": 0,
            "type": "integer",
            "description": "Across all keywords. 0 for no maximum.",
            "default": 100
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}