{
  "openapi": "3.0.1",
  "info": {
    "title": "Le Fooding Restaurant Guide Scraper — Avis, Prix, Chefs",
    "description": "Extrait le guide Le Fooding (France et Belgique) : restaurants par lieu, département, région, cuisine, prix, atouts, sélection et prix Fooding ; adresse géolocalisée, chefs, réservation ; en option la critique complète, horaires, téléphone, site.",
    "version": "0.1",
    "x-build-id": "QGsm4UmD6zPJiXb5X"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/cyrilfaia~lefooding-fr-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-cyrilfaia-lefooding-fr-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/cyrilfaia~lefooding-fr-scraper/runs": {
      "post": {
        "operationId": "runs-sync-cyrilfaia-lefooding-fr-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/cyrilfaia~lefooding-fr-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-cyrilfaia-lefooding-fr-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": {
          "locations": {
            "title": "Places (geo search)",
            "type": "array",
            "description": "Cities, neighbourhoods or addresses in France or Belgium (e.g. \"Marseille\", \"Paris 11e\", \"Bruxelles\"). Each place is geocoded and restaurants are returned by distance within maxDistanceKm.",
            "items": {
              "type": "string"
            }
          },
          "latitude": {
            "title": "Latitude",
            "type": "number",
            "description": "Optional explicit search point (with longitude). Used in addition to locations."
          },
          "longitude": {
            "title": "Longitude",
            "type": "number",
            "description": "Optional explicit search point (with latitude)."
          },
          "maxDistanceKm": {
            "title": "Max distance (km)",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Radius around each place. The guide returns restaurants up to about 100 km sorted by distance; rows beyond this radius are dropped.",
            "default": 15
          },
          "departments": {
            "title": "Départements",
            "type": "array",
            "description": "French département numbers or names (\"13\", \"Bouches-du-Rhône\", \"75\"). Used when no place is given, or in addition to places.",
            "items": {
              "type": "string"
            }
          },
          "regions": {
            "title": "Regions",
            "type": "array",
            "description": "Region names as used by the guide (\"Île-de-France\", \"Provence-Alpes-Côte d'Azur\", \"Bretagne\", \"Flanders\", \"Brussels\").",
            "items": {
              "type": "string"
            }
          },
          "cuisines": {
            "title": "Cuisine / style (\"Envie de\")",
            "type": "array",
            "description": "Guide categories, French or English: \"Bistrot\", \"Cuisine d'auteur\", \"Néobistrot\", \"Poissons et fruits de mer\", \"Italien\", \"Japonais\", \"Bar à vins / Cave à manger\", \"Terroir\", \"Végétarien\", \"Pizza\"… Any of them matches.",
            "items": {
              "type": "string"
            }
          },
          "priceRanges": {
            "title": "Price bands",
            "type": "array",
            "description": "Guide price bands per person: under15 (< 15 €), from16to35, from36to50, over51.",
            "items": {
              "type": "string",
              "enum": [
                "under15",
                "from16to35",
                "from36to50",
                "over51"
              ],
              "enumTitles": [
                "Moins de 15 €",
                "De 16 à 35 €",
                "De 36 à 50 €",
                "Plus de 51 €"
              ]
            }
          },
          "features": {
            "title": "Features (\"Les plus\")",
            "type": "array",
            "description": "Practical tags: \"Terrasse\", \"Ouvert le dimanche\", \"Ouvert le lundi\", \"Brunch\", \"Antidépresseur\", \"Voir et se faire voir\", \"Bon plan\", \"Enfants bienvenus\"… Any of them matches.",
            "items": {
              "type": "string"
            }
          },
          "selection": {
            "title": "Guide selection",
            "type": "array",
            "description": "Editorial badges: palmares (award list), feeling (the guide's favourites), tropBon (\"Trop bon\").",
            "items": {
              "type": "string",
              "enum": [
                "palmares",
                "feeling",
                "tropBon"
              ],
              "enumTitles": [
                "Palmarès",
                "Feeling",
                "Trop bon"
              ]
            }
          },
          "awardedOnly": {
            "title": "Award winners only",
            "type": "boolean",
            "description": "Keep only restaurants with at least one Fooding prize (\"Fooding d'honneur\", \"Meilleur restaurant\", …).",
            "default": false
          },
          "query": {
            "title": "Name contains",
            "type": "string",
            "description": "Keep only restaurants whose name contains this text (accent-insensitive)."
          },
          "country": {
            "title": "Country",
            "enum": [
              "all",
              "FR",
              "BE"
            ],
            "type": "string",
            "description": "The guide covers France and Belgium.",
            "default": "all"
          },
          "maxItems": {
            "title": "Max restaurants",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many restaurants (0 = no limit, about 1 400 in the active guide).",
            "default": 200
          },
          "fetchDetails": {
            "title": "Fetch full records",
            "type": "boolean",
            "description": "Also read each restaurant's full record: the complete review, opening hours, phone, website, booking, transport, take-away, nearby restaurants (one 'restaurant-detail' event per row instead of 'restaurant').",
            "default": false
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Not needed for this source; datacenter proxies are used by default."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}