{
  "openapi": "3.0.1",
  "info": {
    "title": "BOAMP France Public Tenders Scraper",
    "description": "French public procurement tenders from BOAMP — appels d'offres, MAPA and award results, updated daily. Filter by sector, department, deadline, keywords; get clean JSON with buyer, deadline and direct notice links.",
    "version": "0.1",
    "x-build-id": "9LaygAaQu3CE4vYg0"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/hermingway~boamp-tenders-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-hermingway-boamp-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/hermingway~boamp-tenders-scraper/runs": {
      "post": {
        "operationId": "runs-sync-hermingway-boamp-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/hermingway~boamp-tenders-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-hermingway-boamp-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": {
          "nature": {
            "title": "Notice nature",
            "uniqueItems": true,
            "type": "array",
            "description": "Type of notice. APPEL_OFFRE = call for tenders, ATTRIBUTION = award result, RECTIFICATIF = amendment, PRE-INFORMATION, MODIFICATION, ANNULATION, INTENTION_CONCLURE.",
            "items": {
              "type": "string",
              "enum": [
                "APPEL_OFFRE",
                "ATTRIBUTION",
                "RECTIFICATIF",
                "PRE-INFORMATION",
                "MODIFICATION",
                "ANNULATION",
                "INTENTION_CONCLURE",
                "EX_ANTE_VOLONTAIRE",
                "AUTRE"
              ]
            },
            "default": [
              "APPEL_OFFRE",
              "ATTRIBUTION"
            ]
          },
          "famille": {
            "title": "Procedure family",
            "uniqueItems": true,
            "type": "array",
            "description": "JOUE = EU directives, MAPA = procédure adaptée, FNS = national (arrêtés).",
            "items": {
              "type": "string",
              "enum": [
                "JOUE",
                "MAPA",
                "FNS"
              ]
            },
            "default": []
          },
          "typeMarche": {
            "title": "Market type",
            "uniqueItems": true,
            "type": "array",
            "description": "TRAVAUX = works, FOURNITURES = supplies, SERVICES = services.",
            "items": {
              "type": "string",
              "enum": [
                "TRAVAUX",
                "FOURNITURES",
                "SERVICES"
              ]
            },
            "default": []
          },
          "departements": {
            "title": "Départements",
            "type": "array",
            "description": "Two-digit French département codes (e.g. 75 = Paris). Leave empty for all France.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "descripteurs": {
            "title": "BOAMP descripteur codes",
            "type": "array",
            "description": "Official BOAMP activity codes, filtered server-side (precise, faster than keywords). Common codes: 33=Bâtiment, 163=Informatique (prestations), 162=Informatique (matériel), 186=Logiciel, 197=Maîtrise d'oeuvre, 196=Maintenance, 105=Electricité (travaux), 116=Espaces verts, 239=Nettoyage de locaux, 138=Gardiennage. Full 370-code list linked in the README.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Full-text query",
            "type": "string",
            "description": "Server-side free-text search over the notice (ODS search()). Example: 'construction'",
            "default": ""
          },
          "keywords": {
            "title": "Keywords (client-side OR filter)",
            "type": "array",
            "description": "Keep only notices whose title or descriptors contain at least one keyword (case-insensitive). Matched after fetching, so it reduces the dataset, not the API pages.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "dateFrom": {
            "title": "Published from",
            "type": "string",
            "description": "Only notices published on/after this date (YYYY-MM-DD). Leave empty for all.",
            "default": ""
          },
          "deadlineFrom": {
            "title": "Response deadline from",
            "type": "string",
            "description": "Only notices whose response deadline is on/after this date (YYYY-MM-DD). Leave empty for all.",
            "default": ""
          },
          "maxPages": {
            "title": "Max pages",
            "minimum": 1,
            "maximum": 500,
            "type": "integer",
            "description": "Maximum number of API pages to fetch (100 notices per page).",
            "default": 5
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Maximum number of tenders to save (0 = no limit).",
            "default": 0
          },
          "concurrency": {
            "title": "Concurrency",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Parallel page fetches (default 4).",
            "default": 4
          },
          "newOnly": {
            "title": "New-only (alert) mode",
            "type": "boolean",
            "description": "Only emit notices never returned in any previous run of this Actor (state kept in the Actor's key-value store). Use with a daily schedule to get only fresh opportunities. Note: the first run with this enabled returns everything, so set a dateFrom like yesterday's date to start clean.",
            "default": false
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}