{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Industrial Equipment Tender Matcher",
    "description": "Find EU TED tenders for industrial pumps, generators and compressors with CPV filtering, verified source-text evidence, buyer names and bid deadlines. Official public TED API.",
    "version": "1.0",
    "x-build-id": "NdOcvrSG4LPvQ5WKz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/afkdigital~eu-industrial-equipment-tender-matcher/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-afkdigital-eu-industrial-equipment-tender-matcher",
        "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/afkdigital~eu-industrial-equipment-tender-matcher/runs": {
      "post": {
        "operationId": "runs-sync-afkdigital-eu-industrial-equipment-tender-matcher",
        "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/afkdigital~eu-industrial-equipment-tender-matcher/run-sync": {
      "post": {
        "operationId": "run-sync-afkdigital-eu-industrial-equipment-tender-matcher",
        "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": [
          "productTerms"
        ],
        "properties": {
          "productTerms": {
            "title": "Target equipment terms",
            "minItems": 1,
            "maxItems": 8,
            "type": "array",
            "description": "1–8 specific product phrases (e.g. industrial pump, compressor, generator). Match must appear in a TED notice title or procurement description; language-specific terms improve recall.",
            "items": {
              "type": "string"
            },
            "default": [
              "industrial pump",
              "generator",
              "compressor"
            ]
          },
          "cpvCodes": {
            "title": "Optional CPV codes",
            "type": "array",
            "description": "8-digit CPV codes, optional. If supplied, a notice must contain one of these CPV families AND a target text phrase.",
            "items": {
              "type": "string"
            },
            "default": []
          },
          "country": {
            "title": "Buyer country",
            "type": "string",
            "description": "Optional buyer country as ISO 3166 alpha-3, such as DEU, FRA, POL, ROU; omit for any country."
          },
          "language": {
            "title": "Preferred evidence language",
            "type": "string",
            "description": "ISO 639-3, such as eng, deu, fra, ron, pol. Searches all languages and prioritizes this one for extracted evidence.",
            "default": "eng"
          },
          "publishedFrom": {
            "title": "Published from (UTC date)",
            "type": "string",
            "description": "YYYY-MM-DD. If omitted, the previous 30 days are searched."
          },
          "publishedTo": {
            "title": "Published through (UTC date)",
            "type": "string",
            "description": "Optional YYYY-MM-DD inclusive."
          },
          "openClosed": {
            "title": "Bidding status",
            "enum": [
              "all",
              "open",
              "closed"
            ],
            "type": "string",
            "description": "Open requires a competition notice with a source-published future bid deadline. Unknown is not treated as open.",
            "default": "open"
          },
          "industrialOnly": {
            "title": "Require industrial equipment context",
            "type": "boolean",
            "description": "Exclude medical and other incidental keyword matches lacking industrial CPV families or clear industrial context.",
            "default": true
          },
          "includeHistoricalVersions": {
            "title": "Include older versions in searched results",
            "type": "boolean",
            "description": "Off = ask TED for only latest versions. On = show and distinguish versions found in this query; historical completeness is not guaranteed by date-filtered searches.",
            "default": false
          },
          "maxResults": {
            "title": "Maximum qualified matches",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Only evidence-qualified results count. Scan limits may result in fewer matches.",
            "default": 25
          },
          "maxPages": {
            "title": "Maximum TED pages to scan",
            "minimum": 1,
            "maximum": 30,
            "type": "integer",
            "description": "Each page is a single official TED Search API request. Rate limits and a hard scan cap apply.",
            "default": 8
          },
          "procurementNature": {
            "title": "Procurement nature",
            "enum": [
              "supplies",
              "services",
              "works",
              "all"
            ],
            "type": "string",
            "description": "Default supplies: prioritizes equipment purchases, excluding service-only tenders. Select all to include related services and works.",
            "default": "supplies"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}