# Facebook Event Post API

Get one public Facebook event-post record by permalink: fbid, body text, creation time and the total reply count. The record Facebook serves anonymously for an event post carries zero replies together with a comment-disabled notice; both are returned as measured rather than filled in. You supply the identifier yourself: this endpoint discovers nothing, so a caller without one has no way to obtain it here. An identifier that is gone, private or not served anonymously returns a non-billable 404 rather than an empty record.

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

## 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 event post (e.g. https://www.facebook.com/events/3304701543049439/permalink/1234567890/). |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/facebook/event/post?permalink=https%3A%2F%2Fwww.facebook.com%2Fevents%2F3304701543049439%2Fpermalink%2F1234567890%2F"
```

## Example response

```json
{
    "success": true,
    "event_post": {
        "fbid": "1234567890",
        "body": "Event post body text.",
        "created_time": 1790872565,
        "total_reply_count": 0
    },
    "meta": {
        "classification": "ok",
        "billable": true,
        "endpoint_family": "facebook_event_post",
        "duration_ms": 5400
    }
}
```

## 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)
