> ## Documentation Index
> Fetch the complete documentation index at: https://mindcase.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Facebook Pages

> Scrape public Facebook page profiles — likes, followers, intro, contact info, and page metadata.

`$6 / 1k pages`

Scrape public Facebook page profiles — likes, followers, intro, contact info, and page metadata.

## Endpoint

`POST /api/v1/agents/facebook/pages/run`

## Parameters

<ParamField body="urls" type="array" required>
  **List** · Facebook page URLs, one per line. Works on facebook.com/\<page>, m.facebook.com URLs, or /pg/ URLs.
</ParamField>

## Response columns

| Field            | Display name    | Type   |
| ---------------- | --------------- | ------ |
| `pageUrl`        | Page URL        | url    |
| `title`          | Title           | text   |
| `pageName`       | Page Name       | text   |
| `intro`          | Intro           | text   |
| `likes`          | Likes           | number |
| `followers`      | Followers       | number |
| `work`           | Work            | text   |
| `education`      | Education       | text   |
| `currentCity`    | Current City    | text   |
| `hometown`       | Hometown        | text   |
| `created`        | Created         | text   |
| `profilePicture` | Profile Picture | url    |

## Example

<CodeGroup>
  ```bash curl theme={null}
  curl -X POST https://api.mindcase.co/api/v1/agents/facebook/pages/run \
    -H "Authorization: Bearer mk_live_abc123def456" \
    -H "Content-Type: application/json" \
    -d '{
    "params": {
      "urls": [
        "https://www.facebook.com/zuck"
      ]
    }
  }'
  ```

  ```python Python theme={null}
  import requests

  resp = requests.post(
      "https://api.mindcase.co/api/v1/agents/facebook/pages/run",
      headers={"Authorization": "Bearer mk_live_abc123def456"},
      json={"params": {
      "urls": [
          "https://www.facebook.com/zuck"
      ]
  }},
  )
  data = resp.json()
  ```
</CodeGroup>

### Example response

```json Response theme={null}
{
  "job_id": "job_7f3a2b1c",
  "status": "completed",
  "data": [
    {
      "pageUrl": "https://www.facebook.com/tesla",
      "title": "Tesla | Austin TX",
      "pageName": "tesla",
      "intro": null,
      "likes": 63547,
      "followers": 63547,
      "work": null,
      "education": null,
      "currentCity": null,
      "hometown": null,
      "created": "March 21, 2024",
      "profilePicture": "https://scontent-iad6-1.xx.fbcdn.net/v/t39.30808-1/434262212_122106361220247361_9026942940379478843_n.jpg?stp=dst-jpg_s200x200_tt6&_nc_cat=107&ccb=1-7&_nc_sid=f907e8&_nc_ohc=vbkNw3V7PHQQ7kNvwEOdmXc&_nc_oc=AdrkIxh_IqZRi65U4ec1LG1FBBEI5GxWVnQCA6IVBG-_7Ee8R1jjsYX3oqGExQFQfvs&_nc_zt=24&_nc_ht=scontent-iad6-1.xx&_nc_gid=0GhCZ3K3APDJvn6jxske1Q&_nc_ss=7e289&oh=00_Af4v57Um80t_aOaIZgN3TSRP1l0gRk4H8-gbm81iZ5cETg&oe=69FE8CB6"
    }
  ]
}
```
