{
  "openapi": "3.0.1",
  "info": {
    "title": "TED EU Tenders Scraper",
    "description": "[💰 $2.99 / 1K notices] Scrape EU public tenders from TED: every open call for bids, ~37,000, filtered in seconds. Search by CPV in any EU language, country, region, value and deadline. Get buyer emails, documents, lots and award winners. Export JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "lNZ5fWHkBVqW9XTuU"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/sleepmodesystems~ted-eu-tenders-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-sleepmodesystems-ted-eu-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/sleepmodesystems~ted-eu-tenders-scraper/runs": {
      "post": {
        "operationId": "runs-sync-sleepmodesystems-ted-eu-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/sleepmodesystems~ted-eu-tenders-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-sleepmodesystems-ted-eu-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": {
          "cpv": {
            "title": "What you sell (CPV codes or words)",
            "type": "array",
            "description": "CPV codes or the start of one (72 for every IT service, 45 for construction work), or words from the official CPV titles in any EU language: \"IT services\", \"Bauarbeiten\", \"travaux de construction\". CPV codes find notices written in every language.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Words or phrases searched in the title, lot titles, buyer and full description, as whole words. Notices are in their buyer's language: add your translations (cybersecurity, cybersécurité, Cybersicherheit).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywordMode": {
            "title": "Keyword mode",
            "enum": [
              "any",
              "all"
            ],
            "type": "string",
            "description": "Any: one keyword is enough. All: every keyword must appear.",
            "default": "any"
          },
          "excludeKeywords": {
            "title": "Exclude words",
            "type": "array",
            "description": "Leave out notices that mention any of these words or phrases.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywordsUrl": {
            "title": "Keyword list link",
            "type": "string",
            "description": "Optional. A link to a CSV, a text file (one keyword per line) or a Google Sheet shared as \"Anyone with the link can view\": every cell becomes a keyword. Up to 1,000."
          },
          "contractNature": {
            "title": "Contract type",
            "type": "array",
            "description": "Works, supplies (goods) or services.",
            "items": {
              "type": "string",
              "enum": [
                "works",
                "supplies",
                "services"
              ],
              "enumTitles": [
                "Works",
                "Supplies (goods)",
                "Services"
              ]
            },
            "default": []
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Countries of the buyer or of the place of performance, by name or code: Germany, DE, DEU, the Netherlands, France.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions (NUTS codes)",
            "type": "array",
            "description": "Places of performance by NUTS code or the start of one: NL32 (Noord-Holland), DE21 (Oberbayern), FR10 (Île-de-France).",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "buyers": {
            "title": "Buyer",
            "type": "array",
            "description": "Words of the buyer's name: \"Gemeente Amsterdam\", \"Bundeswehr\", \"NHS\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "noticeTypes": {
            "title": "Notice types",
            "type": "array",
            "description": "Empty means calls for bids (contract notices). Add Contract award for who won and for how much.",
            "items": {
              "type": "string",
              "enum": [
                "contract",
                "priorInformation",
                "award",
                "directAward",
                "modification",
                "consultation"
              ],
              "enumTitles": [
                "Contract notice (call for bids)",
                "Prior information notice",
                "Contract award notice",
                "Direct award pre-announcement",
                "Contract modification",
                "Market consultation"
              ]
            },
            "default": []
          },
          "postedAfter": {
            "title": "Published on or after",
            "type": "string",
            "description": "2026-11-01, or a relative value such as 7 days (the last 7 days)."
          },
          "postedBefore": {
            "title": "Published on or before",
            "type": "string",
            "description": "With \"Published on or after\", a date range."
          },
          "deadlineAfter": {
            "title": "Deadline on or after",
            "type": "string",
            "description": "Only calls whose offers are due on or after this day. Relative values look ahead: 7 days means a week from today."
          },
          "deadlineBefore": {
            "title": "Deadline on or before",
            "type": "string",
            "description": "Only calls due on or before this day: 14 days for those closing in the next two weeks."
          },
          "openOnly": {
            "title": "Still open for offers",
            "type": "boolean",
            "description": "Only calls whose deadline has not passed. Turn off to include closed calls (read live from TED, give a published date range).",
            "default": true
          },
          "minValueEur": {
            "title": "Value, at least (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Estimated value (or awarded value, for awards) in euros, converted from any currency at the European Central Bank's rate."
          },
          "maxValueEur": {
            "title": "Value, at most (EUR)",
            "minimum": 0,
            "type": "integer",
            "description": "Estimated or awarded value in euros, at most."
          },
          "maxResults": {
            "title": "Maximum notices",
            "minimum": 0,
            "type": "integer",
            "description": "The newest first. Prefilled with 100 for a quick first test: clear it (or set 0) to get every matching notice.",
            "default": 0
          },
          "onlyNew": {
            "title": "Only new notices",
            "type": "boolean",
            "description": "Each run returns only notices no earlier run with the same filters delivered.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Optional. Keeps the list of delivered notices when you change the filters, or keeps two monitors apart."
          },
          "notices": {
            "title": "Notice links",
            "type": "array",
            "description": "Instead of filters: TED notice links or publication numbers, such as https://ted.europa.eu/en/notice/-/detail/772352-2026 or 772352-2026. Filters are not used with links.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "minItems": {
            "title": "Minimum notices",
            "minimum": 0,
            "type": "integer",
            "description": "Fail the run if fewer notices were found. 0 by default: a search may rightly find nothing, and the run summary then says which filter removed the notices.",
            "default": 0
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}