{
  "openapi": "3.0.1",
  "info": {
    "title": "Facebook Email Scraper · Collecteur d'e-mails",
    "description": "Facebook Email Scraper extrait automatiquement les adresses e-mail publiques, les profils, les noms et les coordonnées depuis Facebook. Idéal pour la génération de prospects, la prospection commerciale, le marketing ciblé et le développement de votre clientèle.",
    "version": "0.1",
    "x-build-id": "SYfGJdODhxQNAvgoQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scraper-fleet~facebook-email-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scraper-fleet-facebook-email-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/scraper-fleet~facebook-email-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scraper-fleet-facebook-email-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/scraper-fleet~facebook-email-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scraper-fleet-facebook-email-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",
        "required": [
          "keywords"
        ],
        "properties": {
          "keywords": {
            "title": "🔎 Keyword · Mot-clé",
            "minItems": 1,
            "type": "array",
            "description": "🎯 What to search for, one per line, e.g. <code>yoga studio</code> · Ce que vous cherchez, un par ligne, ex. <code>yoga studio</code><br>💡 Each keyword is searched separately · Chaque mot-clé est recherché séparément",
            "items": {
              "type": "string"
            }
          },
          "location": {
            "title": "📍 Location · Lieu (optional · facultatif)",
            "type": "string",
            "description": "🏙️ City or region to narrow the search, e.g. <code>Berlin</code> · Ville ou région pour affiner, ex. <code>Berlin</code><br>💡 Leave empty for everywhere · Laisser vide = partout",
            "default": ""
          },
          "platform": {
            "title": "🌐 Social Network · Réseau social",
            "enum": [
              "Facebook"
            ],
            "type": "string",
            "description": "📱 Where to look for emails · Où chercher les e-mails",
            "default": "Facebook"
          },
          "country": {
            "title": "🗺️ Country · Pays",
            "enum": [
              "United States",
              "United Kingdom",
              "Canada",
              "Australia",
              "Germany",
              "France",
              "Spain",
              "Italy",
              "Netherlands",
              "Brazil",
              "Mexico",
              "India",
              "Japan",
              "Singapore",
              "United Arab Emirates",
              "South Africa",
              "Ireland",
              "New Zealand"
            ],
            "type": "string",
            "description": "🏳️ Prefer results from this country · Privilégier les résultats de ce pays<br>💡 Not selected = worldwide · Non sélectionné = monde entier"
          },
          "emailType": {
            "title": "📧 Email Type · Type d'e-mail",
            "enum": [
              "popular",
              "other"
            ],
            "type": "string",
            "description": "📬 Which email addresses to return · Quelles adresses e-mail renvoyer<br>🏢 Choose <b>Other</b> to use the domains you type below · Choisissez <b>Autre</b> pour utiliser les domaines saisis ci-dessous"
          },
          "maxEmails": {
            "title": "🔢 Max Number of Result · Nombre max. de résultats",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "📏 Stop after this many emails · Arrêt après ce nombre d'e-mails<br>💰 A lower number finishes faster and costs less · Moins de résultats = plus rapide et moins cher<br>🎯 Default · Par défaut : 20 &nbsp;|&nbsp; Max : 10000",
            "default": 20
          },
          "customDomains": {
            "title": "🏢 Other Email Type (Example @domain.com) · Autre type d'e-mail",
            "type": "array",
            "description": "✏️ Used when Email Type is “Other” · Utilisé quand le type d'e-mail est « Autre »<br>💡 One domain per line, e.g. <code>@domain.com</code> · Un domaine par ligne, ex. <code>@domain.com</code><br>⚠️ Invalid domains are ignored · Les domaines invalides sont ignorés",
            "default": [
              "@gmail.com"
            ],
            "items": {
              "type": "string"
            }
          },
          "scrapeFrom": {
            "title": "🗂️ Scrape from (content type) · Type de contenu",
            "enum": [
              "All",
              "Profiles",
              "Posts",
              "Groups",
              "Marketplace",
              "Events",
              "Videos",
              "Photos"
            ],
            "type": "string",
            "description": "🎯 Search only ONE kind of Facebook page, or all kinds one after another · Rechercher un seul type de page Facebook, ou tous à la suite<br>📍 Each result row shows the real type in <code>scrape_from</code> · Chaque ligne indique le vrai type dans <code>scrape_from</code><br>🔁 Default · Par défaut : All",
            "default": "All"
          },
          "engine": {
            "title": "🔧 Engine · Moteur",
            "type": "string",
            "description": "Internal. Only the legacy engine exists. · Option interne, seul le moteur legacy existe.",
            "default": "legacy"
          },
          "proxyConfiguration": {
            "title": "🛡️ Proxy configuration · Configuration du proxy",
            "type": "object",
            "description": "🌐 Google searches use the Apify Google SERP proxy by default · Les recherches utilisent par défaut le proxy Apify Google SERP<br>🔁 A new proxy URL is requested on each retry · Une nouvelle URL de proxy est demandée à chaque nouvel essai<br>ℹ️ “Proxy off” or the old Residential choice also uses Google SERP, because only it can search Google · Proxy désactivé ou ancien choix Résidentiel : Google SERP est utilisé aussi (seul capable d'interroger Google)"
          },
          "feedback": {
            "title": "💬 Feedback for the maintainers · Retour pour les développeurs",
            "type": "string",
            "description": "For AI agents. Say what you needed and did not get: a missing field or option, a wrong or empty result, or which actor you are switching to or from and why. Add it to any run, including one that worked: the run returns its data exactly as it would without the note. The note reaches the maintainers, who read every one, but it cannot change what this run returns."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}