{
  "openapi": "3.0.1",
  "info": {
    "title": "Facebook Profile Scraper | Emails & Phones | No Login | $4/1K",
    "description": "Public Facebook profiles and Pages, no login. Name, bio, work, education, followers, and the emails and phones on the intro card. When Facebook shows a website but no inbox, the run reads that site and its contact page. One row per profile. No cookies. $4 per 1,000 profiles, billed on emit.",
    "version": "0.1",
    "x-build-id": "JvaQJMSR5qkqI5IhK"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~facebook-profile-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-facebook-profile-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/memo23~facebook-profile-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-facebook-profile-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/memo23~facebook-profile-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-facebook-profile-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 profiles or Pages",
            "type": "array",
            "description": "One per line: a profile or Page URL (https://www.facebook.com/zuck), a numeric-id link (https://www.facebook.com/profile.php?id=4), a /people/<name>/<id>/ permalink, a /share/ link, or just a username (zuck) or numeric ID (4). m.facebook.com, web.facebook.com and fb.com links work too. Duplicates are fetched once. Group, event, post, video and search links are not profiles and are skipped. Also accepts aliases: urls, profileUrls, usernames, startUrl.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max profiles",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after this many profile rows. Default 1000; use a small number such as 10 for a test. Profiles that could not be delivered are never billed. Also accepts aliases: maxResults, limit.",
            "default": 1000
          },
          "maxConcurrency": {
            "title": "Max parallel requests",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "How many profiles are fetched at the same time, from 1 to 10. Default 4. Also accepts alias: concurrency.",
            "default": 4
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Optional. Leave empty to use the built-in residential pool. Facebook shows a login page to datacenter IPs, so if you set your own proxy, use a residential one, for example {\"useApifyProxy\": true, \"apifyProxyGroups\": [\"RESIDENTIAL\"]}. Also accepts alias: proxyConfiguration."
          },
          "enrichWebsiteContacts": {
            "title": "Enrich contacts from linked website",
            "type": "boolean",
            "description": "When Facebook shows a website on the intro card but no email or phone, read that website's homepage and /contact page for public emails and phones. Disable for faster profile-only runs. Also accepts alias: enrichEmails.",
            "default": true
          },
          "accountType": {
            "title": "Account type filter",
            "enum": [
              "all",
              "profile",
              "page"
            ],
            "type": "string",
            "description": "Emit all scraped accounts, only personal profiles, or only Facebook Pages.",
            "default": "all"
          },
          "onlyVerified": {
            "title": "Only verified accounts",
            "type": "boolean",
            "description": "Only emit profiles and Pages that carry Facebook's verified badge.",
            "default": false
          },
          "onlyWithEmail": {
            "title": "Only accounts with email",
            "type": "boolean",
            "description": "Only emit profiles and Pages that have at least one public email (from Facebook or their linked website).",
            "default": false
          },
          "minFollowers": {
            "title": "Minimum followers",
            "minimum": 0,
            "type": "integer",
            "description": "Only emit profiles and Pages with at least this many followers (leave empty for no minimum)."
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Drop bulky raw and duplicate fields (introItems, workHistory, educationHistory, followersText, followingText, coverPhotoUrl, linkedPageId, status, errorCode, errorMessage) for smaller, LLM-friendly rows.",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "Exclude empty fields",
            "type": "boolean",
            "description": "Omit null, empty string (\"\"), and empty array ([]) fields from each output item while strictly preserving numeric 0 and boolean false.",
            "default": false
          },
          "bioMaxLength": {
            "title": "Bio max length",
            "minimum": 1,
            "type": "integer",
            "description": "Optional maximum character length for the bio field (surrogate-safe, never splits emoji pairs). Leave empty for full bio. Also accepts alias: descriptionMaxLength."
          },
          "urls": {
            "title": "URLs (alias for startUrls)",
            "type": "array",
            "description": "Alias for startUrls. Accepts profile/Page URLs, usernames, or numeric IDs.",
            "items": {
              "type": "string"
            }
          },
          "profileUrls": {
            "title": "Profile URLs (alias for startUrls)",
            "type": "array",
            "description": "Alias for startUrls. Accepts profile/Page URLs, usernames, or numeric IDs.",
            "items": {
              "type": "string"
            }
          },
          "usernames": {
            "title": "Usernames (alias for startUrls)",
            "type": "array",
            "description": "Alias for startUrls. Accepts Facebook usernames, @handles, numeric IDs, or profile URLs.",
            "items": {
              "type": "string"
            }
          },
          "startUrl": {
            "title": "Single start URL (alias for startUrls)",
            "type": "string",
            "description": "Single profile/Page URL, username, or numeric ID (alias for startUrls)."
          },
          "maxResults": {
            "title": "Max results (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for maxItems."
          },
          "limit": {
            "title": "Limit (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for maxItems."
          },
          "concurrency": {
            "title": "Concurrency (alias for maxConcurrency)",
            "minimum": 1,
            "maximum": 10,
            "type": "integer",
            "description": "Alias for maxConcurrency (1-10)."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration (alias for proxy)",
            "type": "object",
            "description": "Alias for proxy."
          },
          "enrichEmails": {
            "title": "Enrich emails (alias for enrichWebsiteContacts)",
            "type": "boolean",
            "description": "Alias for enrichWebsiteContacts."
          },
          "descriptionMaxLength": {
            "title": "Description max length (alias for bioMaxLength)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for bioMaxLength."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}