{
  "openapi": "3.0.1",
  "info": {
    "title": "Czech public tenders (zakazky.gov.cz / NEN)",
    "description": "Structured Czech public tender notices from the official open data of the Registr veřejných zakázek (VVZ, NEN, Tender arena, TENDERMARKET), with keyword, CPV, date and incremental filters.",
    "version": "0.1",
    "x-build-id": "KnPuEh2V6JfX0kIE3"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/makeme200k~czech-public-tenders/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-makeme200k-czech-public-tenders",
        "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/makeme200k~czech-public-tenders/runs": {
      "post": {
        "operationId": "runs-sync-makeme200k-czech-public-tenders",
        "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/makeme200k~czech-public-tenders/run-sync": {
      "post": {
        "operationId": "run-sync-makeme200k-czech-public-tenders",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "bulk",
              "profiles"
            ],
            "type": "string",
            "description": "bulk: read the official monthly open data of the Registr verejnych zakazek (covers VVZ, NEN, Tender arena and TENDERMARKET; a month is published around the 5th day of the following month). profiles: read fresh, same-day data directly from the machine-readable XML export of specific contracting authority profiles listed in profileUrls.",
            "default": "bulk"
          },
          "publishedSince": {
            "title": "Published since",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Only return tenders whose procedure started on or after this date (YYYY-MM-DD). Also determines how many monthly open data files are read. Bulk open data starts in February 2024. Default: the first day of the previous month."
          },
          "keyword": {
            "title": "Keyword",
            "type": "string",
            "description": "Case and diacritics insensitive substring matched against the tender title, description and contracting authority name. Example: rekonstrukce, software, uklid."
          },
          "cpvPrefix": {
            "title": "CPV prefix",
            "type": "string",
            "description": "Only return tenders whose main or part CPV code starts with these digits. Example: 45 for construction works, 72 for IT services, 33 for medical equipment."
          },
          "maxItems": {
            "title": "Max items",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many tenders have been returned. Each returned tender is one dataset item.",
            "default": 100
          },
          "newerThan": {
            "title": "Incremental: newer than timestamp",
            "type": "string",
            "description": "Incremental mode. Only return tenders whose last change timestamp (updatedAt, Europe/Prague local time) is strictly newer than this value. Use the maxUpdatedAt value stored in the LAST_RUN_INFO record of the previous run, or the highest updatedAt you have already processed. Format: 2026-07-31T23:59:59."
          },
          "categories": {
            "title": "Categories (bulk mode)",
            "type": "array",
            "description": "Which open data categories to read in bulk mode. VZ: public contracts (default and recommended). DNS: dynamic purchasing systems. SON: design contests. SK: qualification systems. RVP: subcontractor selection procedures.",
            "items": {
              "type": "string",
              "enum": [
                "VZ",
                "DNS",
                "SON",
                "SK",
                "RVP"
              ],
              "enumTitles": [
                "Public contracts (VZ)",
                "Dynamic purchasing systems (DNS)",
                "Design contests (SON)",
                "Qualification systems (SK)",
                "Subcontractor procedures (RVP)"
              ]
            },
            "default": [
              "VZ"
            ]
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "The Czech government data infrastructure sits behind a firewall that rejects datacenter IP ranges, so Czech residential proxies are used by default when running on the Apify platform. Verified: direct datacenter connections and datacenter proxies are refused, residential CZ works. Change only if you know you need to.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ],
              "apifyProxyCountry": "CZ"
            }
          },
          "profileUrls": {
            "title": "Profile URLs (profiles mode)",
            "type": "array",
            "description": "Contracting authority profile URLs for profiles mode, for example https://nen.nipez.cz/profil/CzechInvest. Every certified Czech procurement tool must serve the standard XML export at <profile URL>/XMLdataVZ, so profiles hosted on NEN, E-ZAK, Tender arena and others all work. The actor waits 10 seconds between requests to nen.nipez.cz as its robots.txt requests.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}