Facebook event details API
Facebook event details, as JSON, with id, url, title, description, starts_at and more.
- Cost
- 1 credit
- Cached repeats
- 0 creditssend max_age_days, results kept 30 days
- Failed requests
- 0 credits
- Status
- Betashape may still gain fields
You send one of url or id.
Request
Send your key in the x-api-key header.
curl -G "https://api.socialscrape.io/v1/facebook/event" \
-H "x-api-key: $SOCIALSCRAPE_API_KEY" \
--data-urlencode 'id=437638146356948'import os
import requests
params = {
"id": "437638146356948",
}
res = requests.get(
"https://api.socialscrape.io/v1/facebook/event",
headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},
params=params,
timeout=60,
)
body = res.json()
if body["ok"]:
print(body["data"])
else:
print(body["error"]["code"], body["error"]["message"])const url = new URL("https://api.socialscrape.io/v1/facebook/event");
url.search = new URLSearchParams({
id: "437638146356948",
}).toString();
const res = await fetch(url, {
headers: { "x-api-key": process.env.SOCIALSCRAPE_API_KEY! },
});
const body = await res.json();
if (body.ok) {
console.log(body.data);
} else {
console.error(body.error.code, body.error.message);
}{
"nodes": [
{
"name": "SocialScrape Facebook event details",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
0,
0
],
"parameters": {
"method": "GET",
"url": "https://api.socialscrape.io/v1/facebook/event",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "id",
"value": "437638146356948"
}
]
},
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "x-api-key",
"value": "={{ $env.SOCIALSCRAPE_API_KEY }}"
}
]
}
}
}
],
"connections": {}
}Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | url | one of | Event URL (facebook.com/events/<id>). |
id | string | one of | Event id. Also accepted as event_id. |
Every request also accepts trim, raw and max_age_days.
Response
Sample from a recorded response, shortened. Values are public data, not yours.
{
"ok": true,
"credits_charged": 1,
"credits_remaining": 4999,
"cached": false,
"cached_at": null,
"request_id": "req_9cf14ab49f115688ba05bb2c",
"data": {
"object": "event",
"platform": "facebook",
"id": "437638146356948",
"url": "https://www.facebook.com/events/437638146356948/",
"title": "List of Upcoming SHOWS",
"description": "\n\n2026\n\nTuesday August 11\nCinema Bar\n3967 Sepulveda Blvd, Culver City, CA 90230\n8pm\n\n\n\nTuesday July 14\nCinema Bar\n3967 Sepulveda Blvd, Culver City, CA 90230\n...",
"starts_at": "2026-02-20T08:00:00Z",
"ends_at": null,
"place": null,
"is_online": false,
"host": {
"id": "1000000001",
"handle": "sample_user",
"name": "Sample User",
"url": null,
"avatar_url": null,
"verified": false
},
"going_count": null,
"interested_count": null,
"cover_url": "https://scontent-sjc3-1.xx.fbcdn.net/v/t39.30808-6/476950299_1211481024310669_6433450080587683707_n.jpg?stp=dst-jpg_tt6&cstp=mx1440x1440&ctp=s960x960&_nc_cat...",
"extra": {
"creator": {
"id": "1000000001",
"name": "Sample User"
},
"day_time_sentence": "Friday, February 20, 2026 at 12:00 AM PST",
"event_kind": "PUBLIC_TYPE",
"hosts": [
{
"avatar_url": null,
"handle": "sample_user",
"id": "1000000001",
"name": "Sample User",
"url": null,
"verified": false
},
{
"avatar_url": null,
"id": "1000000001",
"name": "Sample User",
"verified": false
}
],
"is_canceled": false,
"is_past": true
}
},
"cursor": null,
"has_more": null
}Fields
One Event in data.
A field the platform does not give is null, never made up. Extra platform details are in extra.
| Field | Type | Always | Notes |
|---|---|---|---|
object | "event" | ||
platform | Platform | yes | |
id | string | yes | |
url | string or null | ||
title | string or null | ||
description | string or null | ||
starts_at | string (ISO 8601 date-time) or null | ||
ends_at | string (ISO 8601 date-time) or null | ||
place | Place or null | ||
is_online | boolean or null | ||
host | Author or null | ||
going_count | integer or null | ||
interested_count | integer or null | ||
cover_url | string or null |
Show the other 1 fields
| Field | Type | Always | Notes |
|---|---|---|---|
extra | object or null |
Full field list in the reference for this endpoint and the data models. Errors are listed under Errors.
Questions
Which errors can it return?
invalid_params (do not retry), unsupported_url (do not retry), not_found (do not retry). Account and platform errors from the errors list can also happen. A failure always costs 0 credits.
Is there an SDK call for it?
The preview Python client has client.facebook.event(...) and the TypeScript client client.facebook.event(). Both return the same envelope as the HTTP API. The packages are not published yet; plain HTTP works today in any language.
Can an AI agent call it?
Yes. The MCP server reaches every built endpoint, with the same prices.