{
  "openapi": "3.0.1",
  "info": {
    "title": "Facebook Page Contact Info Scraper - Emails, Phones & Address",
    "description": "Get emails, phones, addresses with map pins, websites, social links and followers from public Facebook pages. Export to CSV, Excel, JSON or XML.",
    "version": "0.1",
    "x-build-id": "PZzAI5lrTnOOeJUUW"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/parseforge~facebook-page-contact-info-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-parseforge-facebook-page-contact-info-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/parseforge~facebook-page-contact-info-scraper/runs": {
      "post": {
        "operationId": "runs-sync-parseforge-facebook-page-contact-info-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/parseforge~facebook-page-contact-info-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-parseforge-facebook-page-contact-info-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": {
          "startUrls": {
            "title": "Facebook page URLs",
            "type": "array",
            "description": "Links to public Facebook pages, for example https://www.facebook.com/katzsdeli or https://www.facebook.com/profile.php?id=100064806517961.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "pageNames": {
            "title": "Page usernames or IDs",
            "type": "array",
            "description": "Page usernames (the part after facebook.com/) or numeric page IDs. Use this or the URL list, or both.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max Items",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000"
          },
          "includeTransparency": {
            "title": "Add page transparency",
            "type": "boolean",
            "description": "Also read the Page transparency tab: Ad Library page ID, creation date, whether the page is running ads and the organization responsible for it. Adds one request per page.",
            "default": true
          },
          "language": {
            "title": "Language",
            "enum": [
              "af_ZA",
              "az_AZ",
              "bs_BA",
              "br_FR",
              "ca_ES",
              "cx_PH",
              "co_FR",
              "cs_CZ",
              "da_DK",
              "en_GB",
              "en_US",
              "eo_EO",
              "et_EE",
              "eu_ES",
              "tl_PH",
              "fo_FO",
              "fr_CA",
              "fr_FR",
              "fy_NL",
              "ff_NG",
              "gl_ES",
              "de_DE",
              "gn_PY",
              "ha_NG",
              "hr_HR",
              "id_ID",
              "ga_IE",
              "is_IS",
              "it_IT",
              "jv_ID",
              "rw_RW",
              "ht_HT",
              "ku_TR",
              "lv_LV",
              "lt_LT",
              "hu_HU",
              "mg_MG",
              "ms_MY",
              "mt_MT",
              "nl_NL",
              "nl_BE",
              "nb_NO",
              "nn_NO",
              "pl_PL",
              "pt_BR",
              "pt_PT",
              "ro_RO",
              "sc_IT",
              "sn_ZW",
              "sq_AL",
              "sz_PL",
              "sk_SK",
              "sl_SI",
              "so_SO",
              "es_LA",
              "es_ES",
              "fi_FI",
              "sw_KE",
              "sv_SE",
              "tr_TR",
              "uz_UZ",
              "vi_VN",
              "cy_GB",
              "zz_TR",
              "el_GR",
              "be_BY",
              "bg_BG",
              "ky_KG",
              "kk_KZ",
              "mk_MK",
              "mn_MN",
              "ru_RU",
              "sr_RS",
              "tt_RU",
              "tg_TJ",
              "uk_UA",
              "ka_GE",
              "hy_AM",
              "he_IL",
              "ur_PK",
              "ar_AR",
              "ps_AF",
              "fa_IR",
              "cb_IQ",
              "sy_SY",
              "tz_MA",
              "am_ET",
              "ne_NP",
              "mr_IN",
              "hi_IN",
              "as_IN",
              "bn_IN",
              "pa_IN",
              "gu_IN",
              "or_IN",
              "ta_IN",
              "te_IN",
              "kn_IN",
              "ml_IN",
              "si_LK",
              "th_TH",
              "lo_LA",
              "my_MM",
              "km_KH",
              "ko_KR",
              "zh_TW",
              "zh_CN",
              "zh_HK",
              "ja_JP",
              "ja_KS"
            ],
            "type": "string",
            "description": "Language Facebook uses for categories, services, hours and phone formatting. Counts and contact values are not translated.",
            "default": "en_US"
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Apify Proxy is recommended. Datacenter is the default and the cheapest.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}