{
  "openapi": "3.0.1",
  "info": {
    "title": "EU TED & German Tenders Scraper (Procurement) | TenderPulse",
    "description": "EU TED v3 & German public tenders scraper (oeffentlichevergabe.de / DÖE eForms/OCDS) for B2B public procurement intelligence: CPV & keyword search, cross-portal deduplication, K.O. eligibility screening, contract awards & 0-100 bid match scoring ($0.04/tender).",
    "version": "1.0",
    "x-build-id": "wnr1gfOClzMozMMSz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/liebreich-software~tenderpulse-eu-dach-procurement-ai/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-liebreich-software-tenderpulse-eu-dach-procurement-ai",
        "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/liebreich-software~tenderpulse-eu-dach-procurement-ai/runs": {
      "post": {
        "operationId": "runs-sync-liebreich-software-tenderpulse-eu-dach-procurement-ai",
        "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/liebreich-software~tenderpulse-eu-dach-procurement-ai/run-sync": {
      "post": {
        "operationId": "run-sync-liebreich-software-tenderpulse-eu-dach-procurement-ai",
        "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",
        "required": [
          "countries"
        ],
        "properties": {
          "countries": {
            "title": "Target Countries (ISO-2 or ISO-3)",
            "type": "array",
            "description": "EU/EEA/DACH countries to search, e.g. DEU, AUT, CHE, FRA, NLD, POL, ITA, ESP.",
            "items": {
              "type": "string",
              "minLength": 2,
              "maxLength": 3
            },
            "default": [
              "DEU"
            ]
          },
          "keywords": {
            "title": "Search Keywords",
            "type": "array",
            "description": "Keywords for full-text tender matching (e.g. Cloud, Kubernetes, Photovoltaik, Heizungsanlagen).",
            "items": {
              "type": "string",
              "minLength": 2
            },
            "default": []
          },
          "cpvCodes": {
            "title": "CPV Codes",
            "type": "array",
            "description": "Optional EU CPV classification codes or prefixes (e.g. 72000000 for IT, 45000000 for Construction, 71000000 for Engineering).",
            "items": {
              "type": "string",
              "pattern": "^[0-9]{2,8}$"
            },
            "default": []
          },
          "mode": {
            "title": "Procurement Intelligence Mode",
            "enum": [
              "competition",
              "result",
              "planning"
            ],
            "type": "string",
            "description": "Choose 'competition' for live open tenders, or 'result' for freshly awarded contracts (prime contractor leads for B2B subcontracting).",
            "default": "competition"
          },
          "activeOnly": {
            "title": "Active Tenders Only",
            "type": "boolean",
            "description": "Exclude tenders whose submission deadline already passed.",
            "default": true
          },
          "includeDoe": {
            "title": "Include Germany DÖE OpenData (oeffentlichevergabe.de)",
            "type": "boolean",
            "description": "Merge national German sub-threshold & eForms-DE notices with automatic TED deduplication.",
            "default": true
          },
          "doeDaysBack": {
            "title": "DÖE Lookback Days",
            "minimum": 1,
            "maximum": 5,
            "type": "integer",
            "description": "How many previous daily DÖE export days to scan (1-5). Higher values find more sub-threshold notices but take longer.",
            "default": 1
          },
          "maxItems": {
            "title": "Maximum Tenders to Return",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Maximum number of analyzed tenders pushed to dataset (1-100). Default 5 keeps a 1-click test run at ~$0.20.",
            "default": 5
          },
          "language": {
            "title": "Report Language",
            "enum": [
              "de",
              "en"
            ],
            "type": "string",
            "description": "Output language for K.O. criteria labels and executive summaries.",
            "default": "de"
          },
          "companyUrl": {
            "title": "Company Website URL (for 0-100 Match Score)",
            "type": "string",
            "description": "Optional supplier homepage URL. TenderPulse profiles your capabilities & certifications to rank tenders 0-100.",
            "default": ""
          },
          "companyProfileText": {
            "title": "Company Capability Profile (Free Text)",
            "type": "string",
            "description": "Optional description of your services, technologies, and target project sizes.",
            "default": ""
          },
          "companyCertifications": {
            "title": "Company Certifications Held",
            "type": "array",
            "description": "Certifications your firm holds (e.g. ISO 27001, ISO 9001, BSI C5, TISAX, PQ-VOB).",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "companyAnnualTurnoverEur": {
            "title": "Company Annual Turnover (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Optional annual revenue in EUR to automatically flag tenders whose minimum turnover exceeds your capacity."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}