{
  "openapi": "3.0.1",
  "info": {
    "title": "French Public Tenders (BOAMP) - calls for tenders and awards",
    "description": "Returns French public procurement notices from the official BOAMP (calls for tenders, award notices with winners, corrections) filtered by keywords, department, notice type, procedure, contract type, response deadline and publication date, from the DILA open data API; no contact person is returned.",
    "version": "1.0",
    "x-build-id": "dRCg3TEKzsHE8zE5Z"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/edgarfinance~france-public-tenders-boamp/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-edgarfinance-france-public-tenders-boamp",
        "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/edgarfinance~france-public-tenders-boamp/runs": {
      "post": {
        "operationId": "runs-sync-edgarfinance-france-public-tenders-boamp",
        "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/edgarfinance~france-public-tenders-boamp/run-sync": {
      "post": {
        "operationId": "run-sync-edgarfinance-france-public-tenders-boamp",
        "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": {
          "keywords": {
            "title": "Keywords (in French)",
            "maxItems": 20,
            "type": "array",
            "description": "Optional. Words searched in the title of the notice, in French (full-text search on the words of the title; write accents as in French and add plural or synonym forms as extra keywords). A notice matches if its title contains at least one of the keywords. 2 to 100 characters each, up to 20 keywords.",
            "items": {
              "type": "string"
            }
          },
          "departments": {
            "title": "Departments",
            "maxItems": 101,
            "type": "array",
            "description": "Optional. French department codes where the notice is published: 01 to 95, 2A, 2B, 971 to 976. Leave empty for all of France.",
            "items": {
              "type": "string"
            }
          },
          "noticeTypes": {
            "title": "Notice types",
            "type": "array",
            "description": "Optional. contract_notice = call for tenders (a buyer is looking for suppliers); award_notice = result of a tender, with the winners; correction = correction of an earlier notice; prior_information = announcement of a future tender; intention_to_conclude = notice of intention to conclude; modification = change to a contract during its term; cancellation = cancelled notice; voluntary_ex_ante = voluntary ex ante transparency notice. Leave empty for all types.",
            "items": {
              "type": "string",
              "enum": [
                "contract_notice",
                "award_notice",
                "correction",
                "prior_information",
                "intention_to_conclude",
                "modification",
                "cancellation",
                "voluntary_ex_ante"
              ],
              "enumTitles": [
                "Calls for tenders",
                "Award notices (winners)",
                "Corrections",
                "Prior information",
                "Intention to conclude",
                "Contract modifications",
                "Cancellations",
                "Voluntary ex ante transparency"
              ]
            }
          },
          "procedures": {
            "title": "Procedures",
            "type": "array",
            "description": "Optional. Award procedure: open, restricted, adapted (simplified procedure for smaller contracts, MAPA), negotiated, competitive_dialogue, design_contest_open, design_contest_restricted, innovation_partnership, awarded_without_publication, public_service_delegation, other. Notices whose procedure is not stated by the source are left out when this filter is used.",
            "items": {
              "type": "string",
              "enum": [
                "open",
                "restricted",
                "adapted",
                "negotiated",
                "competitive_dialogue",
                "design_contest_open",
                "design_contest_restricted",
                "innovation_partnership",
                "awarded_without_publication",
                "public_service_delegation",
                "other"
              ],
              "enumTitles": [
                "Open",
                "Restricted",
                "Adapted (MAPA)",
                "Negotiated",
                "Competitive dialogue",
                "Design contest (open)",
                "Design contest (restricted)",
                "Innovation partnership",
                "Awarded without prior publication",
                "Public service delegation",
                "Other"
              ]
            }
          },
          "contractTypes": {
            "title": "Contract types",
            "type": "array",
            "description": "Optional. works = construction work; services = services; supplies = purchase or rental of goods. A notice can have several types.",
            "items": {
              "type": "string",
              "enum": [
                "works",
                "services",
                "supplies"
              ],
              "enumTitles": [
                "Works",
                "Services",
                "Supplies"
              ]
            }
          },
          "marketFamilies": {
            "title": "Value brackets",
            "type": "array",
            "description": "Optional. eu = above EU thresholds (also published in the EU Official Journal); national = between 90,000 EUR and the EU thresholds; small = below 90,000 EUR (MAPA); concession = public service delegation; other = other notices.",
            "items": {
              "type": "string",
              "enum": [
                "eu",
                "national",
                "small",
                "concession",
                "other"
              ],
              "enumTitles": [
                "Above EU thresholds",
                "90,000 EUR to EU thresholds",
                "Below 90,000 EUR (MAPA)",
                "Public service delegation",
                "Other"
              ]
            }
          },
          "onlyOpen": {
            "title": "Only notices still open",
            "type": "boolean",
            "description": "When true, keep only notices whose response deadline is today or later (notices without a deadline, such as award notices, are left out).",
            "default": false
          },
          "deadlineFrom": {
            "title": "Response deadline from (YYYY-MM-DD)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Optional. Keep notices whose response deadline is on or after this date, written YYYY-MM-DD."
          },
          "deadlineTo": {
            "title": "Response deadline until (YYYY-MM-DD)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Optional. Keep notices whose response deadline is on or before this date, written YYYY-MM-DD."
          },
          "publishedFrom": {
            "title": "Published from (YYYY-MM-DD)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Optional. First publication date to include, written YYYY-MM-DD. Default: 30 days before publishedTo. The data starts in 2015 in this Actor."
          },
          "publishedTo": {
            "title": "Published until (YYYY-MM-DD)",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Optional. Last publication date to include, written YYYY-MM-DD. Default: today."
          },
          "maxResults": {
            "title": "Maximum number of notices",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The run stops after this many notices (each one is a charged result). Newest notices come first.",
            "default": 1000
          },
          "maxRequestsPerSecond": {
            "title": "Max requests per second",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Politeness limit towards the public API (each request returns up to 100 notices). Leave the default unless you run several copies in parallel.",
            "default": 5
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}