{
  "openapi": "3.0.1",
  "info": {
    "title": "Netherlands Public Tender Alerts - TenderNed API",
    "description": "$1.50 per 1,000 notices. Daily Dutch government tender alerts (aanbestedingen, overheidsopdrachten) from TenderNed via its public CC0 web service. Filter by keyword, CPV code, province, contract type and deadline; only new notices are returned.",
    "version": "0.1",
    "x-build-id": "GYonWXa3IjgDJb42G"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/orange_briefcase_hrj~netherlands-tender-alerts/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-orange_briefcase_hrj-netherlands-tender-alerts",
        "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/orange_briefcase_hrj~netherlands-tender-alerts/runs": {
      "post": {
        "operationId": "runs-sync-orange_briefcase_hrj-netherlands-tender-alerts",
        "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/orange_briefcase_hrj~netherlands-tender-alerts/run-sync": {
      "post": {
        "operationId": "run-sync-orange_briefcase_hrj-netherlands-tender-alerts",
        "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": "Words or phrases to look for in the notice title and description (case-insensitive, whole words, accents ignored). Leave empty for every notice that matches the other filters.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywordMatch": {
            "title": "Keyword match",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "Match notices containing ANY of the keywords, or ALL of them.",
            "default": "any"
          },
          "searchIn": {
            "title": "Search keywords in",
            "enum": [
              "titleAndDescription",
              "titleOnly"
            ],
            "type": "string",
            "description": "Look for keywords in the title and description, or in the title only (fewer, more precise matches).",
            "default": "titleAndDescription"
          },
          "excludeKeywords": {
            "title": "Exclude keywords",
            "type": "array",
            "description": "Skip notices whose title or description contains any of these words.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV codes",
            "type": "array",
            "description": "Common Procurement Vocabulary codes, with or without the check digit. Prefix matching: 72000000 matches every IT service code starting with 72; 45000000 matches all construction work. Leave empty for all.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Provinces or NUTS codes",
            "type": "array",
            "description": "Limit to places of performance. Use province names (Groningen, Friesland, Drenthe, Overijssel, Gelderland, Flevoland, Utrecht, Noord-Holland, Zuid-Holland, Zeeland, Noord-Brabant, Limburg) or NUTS codes such as NL32 or NL329 (prefix match). Leave empty for the whole country.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "includeNationwide": {
            "title": "Include nationwide notices when filtering by province",
            "type": "boolean",
            "description": "When provinces are set, also keep notices whose place of performance is only given as 'Nederland' (NL).",
            "default": true
          },
          "contractTypes": {
            "title": "Contract types",
            "type": "array",
            "description": "Services, supplies (goods) or works. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "services",
                "supplies",
                "works"
              ],
              "enumTitles": [
                "Services (diensten)",
                "Supplies (leveringen)",
                "Works (werken)"
              ]
            },
            "default": []
          },
          "scope": {
            "title": "EU or national procedures",
            "enum": [
              "all",
              "european",
              "national"
            ],
            "type": "string",
            "description": "European (above EU threshold, also published on TED) or national procedures only, or both.",
            "default": "all"
          },
          "buyerContains": {
            "title": "Buyer name contains",
            "type": "array",
            "description": "Only keep notices whose contracting authority name contains one of these strings (e.g. 'Gemeente Amsterdam', 'Rijkswaterstaat', 'Ministerie').",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "noticeTypes": {
            "title": "Notice types",
            "type": "array",
            "description": "Which kinds of TenderNed publication to return. 'tender' = open contract notices (aankondiging opdracht).",
            "items": {
              "type": "string",
              "enum": [
                "tender",
                "priorInformation",
                "marketConsultation",
                "correction",
                "award",
                "modification",
                "earlyTermination"
              ],
              "enumTitles": [
                "Tender / contract notice (aankondiging opdracht)",
                "Prior information notice (vooraankondiging)",
                "Market consultation (marktconsultatie)",
                "Correction (rectificatie)",
                "Contract award (gegunde opdracht)",
                "Contract modification (wijziging)",
                "Early termination (vroegtijdige beëindiging)"
              ]
            },
            "default": [
              "tender"
            ]
          },
          "excludeExpired": {
            "title": "Skip notices whose deadline has passed",
            "type": "boolean",
            "description": "Drop tenders, corrections and market consultations whose closing date is already in the past.",
            "default": true
          },
          "deadlineFrom": {
            "title": "Deadline on or after",
            "type": "string",
            "description": "Only keep notices whose closing date is on or after this date (YYYY-MM-DD). Notices without a closing date are kept."
          },
          "lookbackDays": {
            "title": "Look back (days)",
            "minimum": 1,
            "maximum": 365,
            "type": "integer",
            "description": "How many days of publications to fetch on a normal run, or on the first run in 'only new' mode (1-365).",
            "default": 7
          },
          "onlyNew": {
            "title": "Only new since last run",
            "type": "boolean",
            "description": "Remember notices already delivered (per filter set) and only output new ones. Ideal for a daily schedule. Switch it on for scheduled alerts (off by default so one-off searches always return results).",
            "default": false
          },
          "stateKey": {
            "title": "Alert name (state key)",
            "type": "string",
            "description": "Optional name for this alert's memory. By default it is derived from your filters, so changing filters starts a fresh alert."
          },
          "includeDetails": {
            "title": "Include CPV codes, regions and contract dates",
            "type": "boolean",
            "description": "Fetch each matching notice's detail record (one extra API request per notice) for CPV codes, NUTS regions, contract start/end, buyer reference, TED number and PDF link.",
            "default": true
          },
          "includeSummary": {
            "title": "Save a summary",
            "type": "boolean",
            "description": "Save a digest (counts, top buyers, closing-soonest notices) as SUMMARY in the run's key-value store.",
            "default": true
          },
          "maxResults": {
            "title": "Max notices per run",
            "minimum": 1,
            "maximum": 20000,
            "type": "integer",
            "description": "Stop after this many notices. In 'only new' mode anything left over is picked up on the next run.",
            "default": 500
          },
          "requestIntervalSecs": {
            "title": "Seconds between API requests",
            "minimum": 0.1,
            "maximum": 10,
            "type": "number",
            "description": "Pause between requests to TenderNed. Keep the default to be polite to the public service.",
            "default": 0.3
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}