{
  "openapi": "3.0.1",
  "info": {
    "title": "EU Public Tenders & Contract Winners (TED, Nordic-ready)",
    "description": "Search EU public procurement notices on TED: open tenders with deadlines and values, and contract awards with winner names and org numbers. Nordic, EU27 or any country; CPV and keyword filters; scheduled new-only mode. Official API, no proxies.",
    "version": "0.1",
    "x-build-id": "GODDDrJyJ9hA6MVj6"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/interconnected_seaport~eu-tenders-contract-awards/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-interconnected_seaport-eu-tenders-contract-awards",
        "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/interconnected_seaport~eu-tenders-contract-awards/runs": {
      "post": {
        "operationId": "runs-sync-interconnected_seaport-eu-tenders-contract-awards",
        "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/interconnected_seaport~eu-tenders-contract-awards/run-sync": {
      "post": {
        "operationId": "run-sync-interconnected_seaport-eu-tenders-contract-awards",
        "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": "What to fetch",
            "enum": [
              "open_tenders",
              "contract_awards",
              "all_notices"
            ],
            "type": "string",
            "description": "Open tenders = contract notices and calls for competition. Contract awards = result notices with winners, winner organisation numbers and awarded values.",
            "default": "open_tenders"
          },
          "countries": {
            "title": "Buyer countries",
            "type": "array",
            "description": "Country of the buying authority. ISO codes (SE, SWE), English names (Sweden) or groups NORDIC, BALTIC, EU27. Empty = all countries.",
            "default": [
              "NORDIC"
            ],
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV codes",
            "type": "array",
            "description": "Common Procurement Vocabulary codes or prefixes, e.g. 72 (IT services), 48 (software), 45 (construction), 33 (medical), 79 (business services). Matches the code and all sub-codes.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Full-text search over notices in any language (matches any of the keywords). Multi-word entries are matched as a phrase, e.g. \"cloud services\".",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "publishedWithinDays": {
            "title": "Published within the last N days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "Ignored when \"Published from\" is set.",
            "default": 14
          },
          "publishedFrom": {
            "title": "Published from (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional start date, e.g. 2026-10-01."
          },
          "publishedTo": {
            "title": "Published to (YYYY-MM-DD)",
            "type": "string",
            "description": "Optional end date."
          },
          "openOnly": {
            "title": "Open tenders: only if the deadline has not passed",
            "type": "boolean",
            "description": "Applies to \"Open tenders\" mode. Drops notices whose bid deadline is in the past.",
            "default": true
          },
          "contractNature": {
            "title": "Contract type",
            "enum": [
              "any",
              "supplies",
              "services",
              "works"
            ],
            "type": "string",
            "description": "Restrict to supplies (goods), services or works (construction).",
            "default": "any"
          },
          "procedureType": {
            "title": "Procedure type",
            "enum": [
              "any",
              "open",
              "restricted",
              "negotiated",
              "competitive-dialogue",
              "innovation",
              "other"
            ],
            "type": "string",
            "description": "Restrict to a procurement procedure type.",
            "default": "any"
          },
          "minValue": {
            "title": "Minimum value",
            "minimum": 0,
            "type": "number",
            "description": "Estimated value (tenders) or awarded value (awards), in the notice currency. Notices without a stated value are dropped when this is set."
          },
          "maxValue": {
            "title": "Maximum value",
            "minimum": 0,
            "type": "number",
            "description": "Notices without a stated value are kept."
          },
          "valueCurrency": {
            "title": "Currency filter",
            "type": "string",
            "description": "Optional ISO currency, e.g. SEK, EUR, NOK. Needed to compare min/max values across countries."
          },
          "buyerNameContains": {
            "title": "Buyer name contains",
            "type": "string",
            "description": "e.g. \"Region Stockholm\" or \"Trafikverket\"."
          },
          "winnerNameContains": {
            "title": "Winner name contains (awards)",
            "type": "string",
            "description": "Find contracts won by a company, e.g. \"Accenture\". Works for contract-award notices."
          },
          "preferredLanguages": {
            "title": "Preferred text languages",
            "type": "array",
            "description": "Order of three-letter TED language codes for title and description (eng, swe, nob, nno, dan, fin, deu, fra ...). Falls back to the notice language.",
            "default": [
              "eng",
              "swe",
              "nob",
              "nno",
              "dan",
              "fin"
            ],
            "items": {
              "type": "string"
            }
          },
          "descriptionMaxChars": {
            "title": "Description length",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "Maximum characters of the description (0 = omit).",
            "default": 1200
          },
          "onlyNewSinceLastRun": {
            "title": "Only notices not returned before (for schedules)",
            "type": "boolean",
            "description": "Remembers returned notice IDs per filter set in a named storage (ted-seen) so a daily schedule only delivers and charges new notices.",
            "default": false
          },
          "maxItems": {
            "title": "Maximum notices",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Upper bound on notices returned (and charged). The free Apify plan returns up to 25 per run.",
            "default": 50
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}