# Facebook Reel API

Get one public Facebook reel by permalink: full post text, creation time, view count, reaction count broken down per type, duration, playable URL and up to five related reels. Signed out, Facebook exposes no actor names for a reel, so actors is null rather than an empty list.

- **Documentation:** [https://scrappa.co/docs/facebook-api/facebook_reel](https://scrappa.co/docs/facebook-api/facebook_reel)
- **API group:** Facebook API
- **Endpoint:** `GET https://scrappa.co/api/facebook/reel`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `permalink` | string | Yes | Full Facebook permalink for the reel (e.g. https://www.facebook.com/reel/9876543210). |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/facebook/reel?permalink=https%3A%2F%2Fwww.facebook.com%2Freel%2F9876543210"
```

## Example response

```json
{
    "success": true,
    "reel": {
        "id": "9876543210",
        "text": "Full reel caption text.",
        "creation_time": 1790872565,
        "owner_name": "Discover",
        "view_count": 1200000,
        "reaction_count": 88000,
        "reactions": {
            "total": 88000,
            "by_type": {
                "like": 80000,
                "love": 8000
            },
            "share_count": 0
        },
        "duration_seconds": 42,
        "playable_url": "https://...",
        "actors": null,
        "related_reels": [
            {
                "id": "9876543211",
                "permalink_url": "https://www.facebook.com/reel/9876543211"
            }
        ]
    },
    "meta": {
        "classification": "ok",
        "billable": true,
        "endpoint_family": "facebook_reel",
        "duration_ms": 6400
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A required parameter is missing or malformed, for example a handle with characters Facebook does not allow or a non-numeric id. |
| 404 | Not Found | The page, profile, group, event, photo, reel, post or listing does not exist, is not public, or was served by Facebook without the requested record. This is the truthful answer, not a temporary fault: it is never billed and retrying the same permalink will not change it. |
| 503 | Records Not Read | Facebook returned records for this request that the parser could not read. The origin status is 502 and it is reported here as 503 because Cloudflare replaces 502 and 504 bodies with its own page. This request is never billed: the customer received no data. |
| 503 | Temporarily Unavailable | The upstream service is temporarily unavailable. Please retry shortly. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
