{
  "openapi": "3.0.1",
  "info": {
    "title": "EU & France Public Tenders – TED + BOAMP Official Data",
    "description": "Public tenders, contract awards and winners from the two official sources in one clean table: TED (all EU/EEA countries) and BOAMP (France, including small contracts below EU thresholds). Filter by keyword, CPV code, country, French department, contract type, value and deadline.",
    "version": "1.0",
    "x-build-id": "vonJIcD4sS9vNEiYM"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cleardata-labs~eu-france-public-tenders/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cleardata-labs-eu-france-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/cleardata-labs~eu-france-public-tenders/runs": {
      "post": {
        "operationId": "runs-sync-cleardata-labs-eu-france-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/cleardata-labs~eu-france-public-tenders/run-sync": {
      "post": {
        "operationId": "run-sync-cleardata-labs-eu-france-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": {
          "source": {
            "title": "Where to search",
            "enum": [
              "both",
              "ted",
              "boamp"
            ],
            "type": "string",
            "description": "<b>Both</b>: every EU/EEA country from TED plus French national notices from BOAMP (French notices that exist in both are returned once). <b>TED</b>: EU-level notices only (contracts above EU thresholds, all countries). <b>BOAMP</b>: France only, including small contracts below EU thresholds.",
            "default": "both"
          },
          "noticeKind": {
            "title": "Type of notice",
            "enum": [
              "tenders",
              "awards",
              "planning",
              "all"
            ],
            "type": "string",
            "description": "<b>Open tenders</b>: calls for tenders you can bid on. <b>Contract awards</b>: who won, and for how much (competitor and market intelligence, subcontracting leads). <b>Planning</b>: prior information about upcoming tenders. <b>All</b>: everything, including corrections.",
            "default": "tenders"
          },
          "maxResults": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Stop after this many notices. You only pay for notices delivered.",
            "default": 100
          },
          "keywords": {
            "title": "Keywords",
            "type": "array",
            "description": "Notices containing <b>any</b> of these words or phrases. Tenders are written in the buyer's language, so add translations: <code>software</code>, <code>logiciel</code>, <code>Softwareentwicklung</code>. Leave empty for all sectors.",
            "items": {
              "type": "string"
            }
          },
          "cpvCodes": {
            "title": "CPV codes (sector)",
            "type": "array",
            "description": "EU procurement sector codes, 2 to 8 digits. Short codes cover a whole family: <code>72</code> = IT services, <code>45</code> = construction works, <code>79</code> = business services, <code>33</code> = medical equipment, <code>90</code> = waste and environment. The language-independent way to target a sector.",
            "items": {
              "type": "string"
            }
          },
          "countries": {
            "title": "Countries",
            "type": "array",
            "description": "Buyer countries as 2-letter codes: <code>FR</code>, <code>DE</code>, <code>ES</code>, <code>IT</code>, <code>NL</code>, <code>BE</code>, <code>PL</code>… Leave empty for all EU / EEA countries.",
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "French departments (BOAMP)",
            "type": "array",
            "description": "French department codes, e.g. <code>75</code>, <code>69</code>, <code>13</code>, <code>2A</code>, <code>974</code>. When set, only BOAMP is searched.",
            "items": {
              "type": "string"
            }
          },
          "contractTypes": {
            "title": "Contract types",
            "type": "array",
            "description": "Any of <code>works</code> (construction), <code>services</code>, <code>supplies</code> (goods). Leave empty for all.",
            "items": {
              "type": "string"
            }
          },
          "buyerName": {
            "title": "Buyer name contains",
            "type": "string",
            "description": "Only notices from buyers whose name contains this text, e.g. <code>Paris</code>, <code>SNCF</code>, <code>Universität</code>."
          },
          "minValue": {
            "title": "Minimum value",
            "minimum": 0,
            "type": "integer",
            "description": "Only notices with a published estimated or awarded value of at least this amount, in the currency of the notice (euros for most countries). Many notices do not publish a value and are then left out."
          },
          "openOnly": {
            "title": "Only tenders still open today",
            "type": "boolean",
            "description": "Keep only notices whose deadline for offers is today or later.",
            "default": false
          },
          "lastDays": {
            "title": "Published in the last … days",
            "minimum": 1,
            "maximum": 3650,
            "type": "integer",
            "description": "How far back to look, counting today. Ignored when \"Published from\" is set. Use <code>1</code> for a daily alert schedule.",
            "default": 7
          },
          "dateFrom": {
            "title": "Published from",
            "type": "string",
            "description": "First publication date (YYYY-MM-DD). Overrides \"last … days\"."
          },
          "dateTo": {
            "title": "Published until",
            "type": "string",
            "description": "Last publication date (YYYY-MM-DD). Default: today."
          },
          "language": {
            "title": "Preferred language",
            "enum": [
              "en",
              "fr",
              "de",
              "es",
              "it",
              "nl",
              "pl",
              "pt",
              "sv",
              "da",
              "fi",
              "cs",
              "el",
              "hu",
              "ro"
            ],
            "type": "string",
            "description": "Language for TED headlines, links and PDFs (TED translates sector labels into every EU language; the tender text itself stays in the buyer's language). BOAMP notices are always in French.",
            "default": "en"
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}