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

# Facebook Reviews API

> Facebook page reviews: the recommend flag, review text, date, reviewer, likes, tags and photos, from one or more page URLs.

`POST /v1/data/facebook/reviews/run`

**Pricing:** $0.0025 per review ($2.50 per 1,000).

Pull the reviews/recommendations from a Facebook page by URL.

## Request

Send the inputs under `params`. Only the keys below are accepted; any other key returns `422 invalid_params`.

**urls** `string` *required*

Facebook page URL to scrape reviews from (e.g. [https://www.facebook.com/disneylandparis](https://www.facebook.com/disneylandparis) or its /reviews tab).

Format e.g. `https://www.facebook.com/nike`.

**maxResults** `integer`

Number of reviews to return in total. Use 0 for all.

## Example

```bash cURL theme={null}
curl -X POST "https://api.mindcase.co/v1/data/facebook/reviews/run?wait=true" \
  -H "Authorization: Bearer $MINDCASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "params": {
    "urls": "https://www.facebook.com/disneylandparis",
    "maxResults": 50
  }
}'
```

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

r = requests.post(
    "https://api.mindcase.co/v1/data/facebook/reviews/run",
    params={"wait": "true"},
    headers={"Authorization": f"Bearer {os.environ['MINDCASE_API_KEY']}"},
    json={"params": {
    "urls": "https://www.facebook.com/disneylandparis",
    "maxResults": 50
}},
)
job = r.json()
rows = job.get("data", [])  # if job["status"] == "running", poll /v1/jobs/{job_id}/results
```

```javascript Node.js theme={null}
const r = await fetch("https://api.mindcase.co/v1/data/facebook/reviews/run?wait=true", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.MINDCASE_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({ params: {
  "urls": "https://www.facebook.com/disneylandparis",
  "maxResults": 50
} }),
});
const job = await r.json();
const rows = job.data ?? []; // if job.status === "running", poll /v1/jobs/{job_id}/results
```

## Response fields

Each row in `data` is one review, keyed by these fields.

| Field | Name | Type |
| - | - | - |
| `recommended` | Recommended | text |
| `reviewText` | Review Text | text |
| `reviewDate` | Review Date | text |
| `reviewUrl` | Review URL | text |
| `reviewId` | Review ID | text |
| `reviewerName` | Reviewer Name | text |
| `reviewerProfileUrl` | Reviewer Profile URL | text |
| `likes` | Likes | number |
| `commentCount` | Comment Count | number |
| `tags` | Tags | array |
| `reviewerAvatar` | Reviewer Avatar | text |
| `topComments` | Top Comments | object\_array |
| `photos` | Photos | object\_array |
| `error` | Error | text |
| `errorDescription` | Error Description | text |

## Example response

Abridged: long text and lists are shortened.

```json theme={null}
{
  "job_id": "7f3a1c2e-0b9d-4c55-9a51-3f2e8d1b6a40",
  "agent": "facebook/reviews",
  "status": "completed",
  "row_count": 1,
  "truncated": false,
  "data": [
    {
      "reviewerAvatar": "https://scontent-atl3-1.xx.fbcdn.net/v/t39.30808-1/571216237_10237354284748190_6889797186692947865_n.jpg?stp=cp6_dst-jpg_tt6&cstp=mx2048x2048&ctp=s40x40&_nc_...",
      "reviewId": "10240748817609390",
      "commentCount": 1,
      "photos": [],
      "reviewUrl": "https://www.facebook.com/laura.fran.315/posts/pfbid02RVXCNTLXfsjWHiLLUtpumu73sxLWJqU3xP9FXbNRozTaAVZX9oCvydqATuKsK86El",
      "reviewerName": "Laura Fran Bushman",
      "topComments": [],
      "recommended": true,
      "reviewDate": "2026-06-11T19:30:09.000Z",
      "error": null,
      "likes": 1,
      "reviewerProfileUrl": "https://www.facebook.com/1580752265",
      "errorDescription": null,
      "tags": null,
      "reviewText": "This is the coolest zoo in the country. Americas Finest Zoo."
    }
  ]
}
```

## Related APIs

For the page profile use [`facebook/pages`](https://docs.mindcase.co/apis/facebook/pages).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.