# Facebook Profile Scraper – Public Context (`fetch_cat/facebook-public-profiles-scraper`) Actor

Export public Facebook profile identity, bio, work, education, counts and website links from known URLs. No login or supplied cookies. JSON, CSV, Excel and API.

- **URL**: https://apify.com/fetch_cat/facebook-public-profiles-scraper.md
- **Developed by:** [Fetch Cat](https://apify.com/fetch_cat) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 91.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.55 / 1,000 public profile saveds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

Use this Facebook profile scraper to turn known public personal and professional profile URLs into typed identity and context records. Get source-stated bio, work, education, public counts and website links without a Facebook login or cookies. Only information available on the anonymous public surface is collected.

### Quick start

1. Add individual public personal or professional profile URLs.
2. Set the maximum number of unique profiles to save and click **Start**.
3. Open the dataset for profile records and `SUMMARY` for each input's outcome.

```json
{
  "startUrls": [
    "https://www.facebook.com/zuck",
    "https://www.facebook.com/boz"
  ],
  "maxItems": 2
}
```

Prefer a video guide? This short Apify walkthrough shows you how to set up and run an Actor. It uses a different Actor, but the setup steps are the same.

https://youtu.be/1OW8gOqlZbY?t=25

### What you get

- **Public professional context:** identity, bio, work and education statements, city, hometown and relationship when exposed.
- **Public identity signals:** normalized follower counts, verification and profile or cover image URLs when available.
- **Profile-scoped links:** source-stated account labels, website/social links and explicitly published contact statements when present.
- **Attributable results:** collection time, field-level source references and coverage that distinguishes absent optional values from incomplete extraction. Contact is collected where Facebook serves it logged out. A confirmed restriction on the newer logged-out layout is disclosed per row as **Contact not available logged out**, while preserving useful Overview context.
- **Clean batches:** one row per matched identity, with invalid, duplicate and explicitly unavailable inputs kept in the run summary instead of fabricated profiles.

### Who is it for?

- **Research teams** refreshing an existing list of public profile URLs with source-stated context.
- **Social-media analysts** reviewing public creator identity, visible counts and linked websites.
- **Developers** feeding typed profile snapshots into a spreadsheet or downstream application.

### Input settings

| Setting | What to provide |
| --- | --- |
| `startUrls` | Required list of 1–1000 individual profile URLs, as strings or objects containing `url`. Username, numeric profile and people-permalink forms are supported. |
| `maxItems` | Maximum unique useful profile records to save, from 1 to 1000. Default: 100. This is not a promise that unavailable inputs will produce records. |

**Numeric profile input:** Use `https://www.facebook.com/profile.php?id=4`. A matching username and numeric URL represent one identity, not two paid records.

**People permalink input:** Use the complete profile link, such as `https://www.facebook.com/people/Mark-Zuckerberg/4`.

No people-search keywords, remote URL lists, login credentials, cookies or custom proxy settings are accepted.

### Output data

The default dataset contains useful profile records only. Optional fields can be `null` or empty arrays. Work and education are source statements, not inferred employment histories.

| Result group | Fields and meaning |
| --- | --- |
| Identity | `name`, `profileId`, `username`, `url`, `sourceUrl` and source-stated `accountType`. |
| Context | `bio`, `work`, `education`, `currentCity`, `hometown` and `relationship` when public. |
| Counts and media | `followers`, `following`, `talkingAbout`, source display text, `verified` and profile/cover image URLs. |
| Links and attribution | `externalLinks`, `publicContactInfo`, `sourceReferences`, `coverage` and `scrapedAt`. |
| Contact coverage | `coverage.contactAndBasicInfo` is `loaded` or `not_available_logged_out`. `contactCoverageNote` is null for loaded Contact or exactly `Contact not available logged out`; `contactEvidenceUrl` identifies the actual public Contact route checked. |

A shortened historical public-profile example, not a guarantee of today's values:

```json
{
  "name": "Mark Zuckerberg",
  "profileId": "4",
  "url": "https://www.facebook.com/zuck",
  "accountType": "Public figure",
  "work": ["Works at Meta and Biohub"],
  "education": [
    "Studied Computer Science and Psychology at Harvard University",
    "Attended from 2002 to 2004"
  ]
}
```

The run's `SUMMARY` key-value record lists per-input `saved`, `invalid`, `unavailable`, `duplicate`, `failed`, `budget` or `pending` outcomes. An unavailable result does not establish whether a profile is private or deleted. A failed or interrupted run may retain useful earlier rows, but it is not a completed batch. Review the summary before using partial output.

#### Download your results

Open your run's dataset, choose **Export** and select JSON, CSV or Excel. JSON keeps nested fields together. CSV and Excel are useful when you want to review the records in a spreadsheet.

See [Apify's download and export guide](https://docs.apify.com/storage/dataset#apify-console) for the available formats and field options.

### Pricing

A one-time `apify-actor-start` charge applies when a run starts. The `profile` event charges for each unique useful profile record saved to the dataset.

Invalid, duplicate and explicitly unavailable inputs do not incur a profile-record charge. Starting a run still incurs the start charge. `maxItems` controls the maximum number of profile records saved.

See the [live Pricing tab](https://apify.com/fetch_cat/facebook-public-profiles-scraper/pricing) for current rates and discounts.

### Tips for best results

- **Start with known profile URLs.** This tool refreshes identified profiles, not a people-search directory.
- **Try a small batch first.** Check the public fields and summary before sending a larger list.
- **Use source references.** Review the original public statements before making decisions from profile context.
- **Keep comparisons in your workflow.** Compare successive snapshots by stable profile ID rather than assuming changing names or handles identify different people.

### Limits and caveats

- Only anonymously public personal/professional profile context is supported. Login-only information, hidden contacts, birthdays, gender and language attributes are not collected.
- On a positively confirmed newer-layout anonymous Contact restriction, useful Overview/work/education and observed links remain available. Unobserved Contact values stay unknown with missing-field and coverage notes—not observed empty, loaded or repaired. A login redirect, header-only response, timeout, technical error or unknown layout is still an extraction failure, not proof of restriction.
- The collected public About overview and Contact/link sections are not a complete account archive, employment-history guarantee or export of every Facebook subpage.
- Business Pages, profile discovery, posts, comments and relationship graphs are separate products. See Related Actors below.
- Public fields and media URLs can change or expire. Missing optional fields are not proof that a person lacks that attribute.
- Blocking, timeouts, unknown delivery and incomplete parsing remain errors. They are not relabeled as empty profiles. Check failed and pending inputs before retrying a smaller batch.

### Automation and integrations

#### Save your settings for next time

Once you have an input that works for you, [save it as an Apify task](https://docs.apify.com/actors/running/tasks). This keeps your settings together so you can use them again without filling in the form from scratch.

#### Run on a schedule

Need fresh results regularly? You can [schedule the Actor or a saved task](https://docs.apify.com/actors/running/schedules) to run at a time that suits you.

Scheduling is an optional Apify platform feature, not monitoring built into this scraper. This Actor does not create schedules. Each scheduled run collects the data again. If you want to compare results or highlight changes, add that step in your own workflow.

#### Send results to your other tools

Use **n8n, Make or Zapier** to connect this scraper to the rest of your workflow. For example, you could pass its results to an AI assistant or add records to a spreadsheet. Follow the [Apify integration guides](https://docs.apify.com/integrations) for your chosen tool.

For a custom connection, an [Apify webhook](https://docs.apify.com/integrations/webhooks) can notify your app when a run finishes or fails. Your app can then fetch the results or handle the failure.

### API usage

Use the Facebook profile scraper API to collect public context from your own app or automation. The examples below send input to the scraper and show how to collect its results.

The Node.js and Python examples wait for the run to finish before reading its results. The cURL example starts the run and returns its details. Wait for that run to finish, then use its `defaultDatasetId` to fetch the results.

For setup instructions, see Apify's [JavaScript client guide](https://docs.apify.com/api/client/js), [Python client guide](https://docs.apify.com/api/client/python) and [Actor runs API reference](https://docs.apify.com/api/v2/acts-runs-post).

#### cURL

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/fetch_cat~facebook-public-profiles-scraper/runs" \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls":["https://www.facebook.com/zuck"],"maxItems":1}'
```

#### Node.js

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('fetch_cat/facebook-public-profiles-scraper').call({
  startUrls: ['https://www.facebook.com/zuck'],
  maxItems: 1,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

#### Python

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('fetch_cat/facebook-public-profiles-scraper').call(run_input={
    'startUrls': ['https://www.facebook.com/zuck'],
    'maxItems': 1,
})
for item in client.dataset(run['defaultDatasetId']).iterate_items():
    print(item)
```

### MCP and AI agents

You can ask your AI assistant to collect data with **Facebook Profile Scraper – Public Context** and help you work with the results. The scraper returns the data, and your assistant can then summarize it, compare records or prepare notes.

Connect your assistant through the [Apify MCP server](https://mcp.apify.com/). MCP gives your assistant a way to find this scraper, run it and read the results. Follow the [official setup and sign-in guide](https://docs.apify.com/mcp) for your app.

#### Easier setup with an Apify plugin

If you use a supported coding assistant, the [official Apify plugin](https://docs.apify.com/agents/plugins) can set up the connection for you. It connects your assistant to Apify and includes instructions for common tasks. Follow the guide for your particular app.

#### Use Apify AI in Console

Prefer to keep everything in Apify? Open [Apify AI in Console](https://docs.apify.com/account/apify-ai) and ask it to find Fetch Cat's **Facebook Profile Scraper – Public Context**. You can describe the data you want and ask questions about the results.

Apify AI is currently in beta. It asks for confirmation before starting an Actor, and normal run charges apply.

#### Choose your assistant

- **Claude and Claude Code (Anthropic):** [Apify setup guide](https://docs.apify.com/integrations/claude).
- **ChatGPT and Codex (OpenAI):** [Apify setup guides](https://docs.apify.com/integrations/openai).
- **Grok Bot (xAI):** [Apify plugin guide](https://docs.apify.com/integrations/grok-bot).
- **Gemini CLI (Google):** [MCP server setup guide](https://geminicli.com/docs/tools/mcp-server/). Use the server URL below with the HTTP configuration supported by Gemini CLI.

#### Connect just this scraper

To keep your setup focused on this scraper, add this server configuration to a compatible MCP client:

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=fetch_cat/facebook-public-profiles-scraper"
    }
  }
}
```

Sign in to Apify when your client asks. If your client uses a Bearer token instead, follow its setup guide and keep the token in its secure configuration. Configuration formats vary by app, so use the linked guide if your client needs a different format.

#### Use Apify's general server

Already connected to the general Apify MCP server at `https://mcp.apify.com`? You can use it to find this scraper without adding another server. Ask your assistant to use **Facebook Profile Scraper – Public Context** by Fetch Cat, or give it the identifier `fetch_cat/facebook-public-profiles-scraper`.

Your assistant can check the available settings and retrieve the results from the returned run. If the run is still working, it should follow that run rather than start it again. Both connection options use Apify's hosted service. Discovery depends on the Actor's live availability and permissions. If it is not listed in your client, use the API instead.

#### Example requests

- “Get the public work and education context for these two Facebook profiles and put the source statements in a table.”
- “Collect the visible follower counts and website links for this list of public creator profiles, then show which fields were unavailable.”
- “Refresh the public profile details for these links and compare the returned records with my earlier snapshot by profile ID.”

Normal Apify charges apply. Check the [live Pricing tab](https://apify.com/fetch_cat/facebook-public-profiles-scraper/pricing) before asking your assistant to run a larger batch.

### Pay with x402

If your AI agent has a funded wallet, it can pay for Apify usage through [x402](https://docs.apify.com/integrations/x402). This experimental option lets an agent use Apify without a conventional account.

[Apify AGI](https://agi.apify.com/) provides a prepaid API token with a spending cap after payment. Your agent can use that token to run this scraper through the Apify API or an authenticated MCP connection.

Some MCP setups also support paying for each request directly. That is a different payment option, so check the official guide for its availability.

Follow the official guide for wallet setup, supported payment options and current terms. Apify handles the payments. Keep wallet keys and payment tokens in your agent's secure configuration.

#### Other ways for agents to pay

Apify also supports **MPP** for prepaid access through AGI and **Skyfire** for eligible Actors. If your agent already uses one of these, see the [agentic payment guide](https://docs.apify.com/agents/payments) to choose the right setup.

### FAQ

**Does it require a Facebook account?** No. Do not supply credentials or cookies. A profile's existence does not guarantee that its information is publicly available.

**Can I find people by name?** No. Supply individual profile URLs you already know.

**Does this provide a Facebook public profile API?** It provides an Apify API for collecting the supported public fields. It is not an official Meta API and cannot access private account data.

**Why are there fewer rows than URLs?** Duplicate identities, invalid input and explicitly unavailable targets do not create profile rows. Check `SUMMARY` to distinguish those outcomes from a failed or unfinished batch.

### Related Actors

- [Facebook Pages Scraper](https://apify.com/fetch_cat/facebook-pages-scraper) — public business Page profile data and visible post links.
- [Facebook Page Details Scraper](https://apify.com/fetch_cat/facebook-page-details-scraper) — Page contacts, engagement metrics and lead-ready metadata.
- [Facebook Reels Scraper](https://apify.com/fetch_cat/facebook-reels-scraper) — public Reels, captions, visible play counts and available media URLs.
- [Facebook Posts Scraper](https://apify.com/fetch_cat/facebook-posts-scraper) — public Page/group posts, dates, media and visible engagement.
- [Facebook Comments Scraper](https://apify.com/fetch_cat/facebook-comments-scraper) — public post comments for social listening and moderation analysis.

### Support and feedback

For custom additions or integrations, email <hello@fetchcat.dev>.

Found an error or have a feature request? [Open an issue](https://apify.com/fetch_cat/facebook-public-profiles-scraper/issues) with the run URL, a non-sensitive input example and what you expected.

Need help sharing it? See [Apify’s guide to sharing a run when reporting an issue](https://docs.apify.com/account/collaboration/general-resource-access#automatically-sharing-runs-via-actor-issues). Sharing a run can give the developer access to its input, logs and results, so use a run that contains no sensitive data. Please leave out API tokens, passwords, cookies, private documents and personal data. Use a public sample URL or a redacted example instead.

Tried this scraper? We'd love to hear how it worked for you. [Leave a review](https://apify.com/fetch_cat/facebook-public-profiles-scraper/reviews) to help others choose the right tool and help us improve it. Your feedback means a lot to us.

Made with care for curious people, AI agents and the possibilities in data. ♥

# Changelog

This Actor's version history is a separate document: https://apify.com/fetch_cat/facebook-public-profiles-scraper/changelog.md

# Actor input Schema

## `startUrls` (type: `array`):

Individual username URLs, profile.php?id=123 URLs or people/name/id URLs. Accepts URL strings or objects with a url field. Remote request lists, groups, posts and search URLs are not supported. Invalid entries are skipped with reasons in SUMMARY while valid entries continue.

## `maxItems` (type: `integer`):

Stop after saving this many unique useful profiles. Invalid, unavailable and duplicate inputs are not billable profile records. At most 1000 individual input URLs may be submitted. Delivery/parser failures remain visible failures, not invented empty results.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.facebook.com/zuck",
    "https://www.facebook.com/boz"
  ],
  "maxItems": 2
}
```

# Actor output Schema

## `profiles` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        "https://www.facebook.com/zuck",
        "https://www.facebook.com/boz"
    ],
    "maxItems": 2
};

// Run the Actor and wait for it to finish
const run = await client.actor("fetch_cat/facebook-public-profiles-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "startUrls": [
        "https://www.facebook.com/zuck",
        "https://www.facebook.com/boz",
    ],
    "maxItems": 2,
}

# Run the Actor and wait for it to finish
run = client.actor("fetch_cat/facebook-public-profiles-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    "https://www.facebook.com/zuck",
    "https://www.facebook.com/boz"
  ],
  "maxItems": 2
}' |
apify call fetch_cat/facebook-public-profiles-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,fetch_cat/facebook-public-profiles-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/HXV8uL82Cy13jCUuq/builds/RCTrJYMXLJvdmnbmZ/openapi.json
