How to get Facebook profile events
GET request to /v1/facebook/profile-events with your input. You get clean JSON back in seconds for 2 credits per call — no OAuth, scraping or platform SDKs. List Facebook profile events with full metadata for each item.How to get Facebook profile events (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the Facebook Profile Events API
Send an authenticated GET request to /v1/facebook/profile-events with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.
Code example
curl "https://api.captapi.com/v1/facebook/profile-events?url=https%3A%2F%2Fwww.facebook.com%2FMadisonSquareGarden" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."What the response looks like
{
"success": true,
"data": {
"platform": "facebook",
"url": "https://www.facebook.com/MadisonSquareGarden",
"totalReturned": 5,
"events": [
{
"platform": "facebook",
"id": "1270386418439478",
"url": "https://www.facebook.com/events/1270386418439478/",
"name": "Bon Jovi: Forever Tour",
"startTime": "Sun, Jul 26 at 7:30 PM EDT",
"address": "Madison Square Garden",
"location": {
"name": "Madison Square Garden"
}
},
{
"platform": "facebook",
"id": "1426952632010473",
"url": "https://www.facebook.com/events/1426952632010473/",
"name": "Phish",
"startTime": "Mon, Jul 27 at 7:30 PM EDT",
"address": "Madison Square Garden",
"location": {
"name": "Madison Square Garden"
}
},
{
"platform": "facebook",
"id": "1217913490078179",
"url": "https://www.facebook.com/events/1217913490078179/",
"name": "RUSH: Fifty Something",
"startTime": "Tue, Jul 28 at 7:30 PM EDT",
"address": "Madison Square Garden",
"location": {
"name": "Madison Square Garden"
}
},
{
"platform": "facebook",
"id": "1957542368474959",
"url": "https://www.facebook.com/events/1957542368474959/",
"name": "Phish",
"startTime": "Wed, Jul 29 at 7:30 PM EDT",
"address": "Madison Square Garden",
"location": {
"name": "Madison Square Garden"
}
},
{
"platform": "facebook",
"id": "847403967774434",
"url": "https://www.facebook.com/events/847403967774434/",
"name": "RUSH: Fifty Something",
"startTime": "Thu, Jul 30 at 7:30 PM EDT",
"address": "Madison Square Garden",
"location": {
"name": "Madison Square Garden"
}
}
]
}
}Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Facebook profile/page URL, @handle, or page name. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
| limit | integer | No | Max items to return (default 20, max 200). Billed per result. |
| cache | boolean | No | Set true to serve from the 24h response cache. Default false — always fetch fresh data. |
Frequently asked questions
What does the Facebook Profile Events API do?
The Facebook Profile Events API lets you list items in bulk with metadata from a public Facebook event using one GET request to /v1/facebook/profile-events. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the Facebook Profile Events API cost?
Each successful call costs 2 credits. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Failed or empty results are never charged.
Do I need a Facebook API key or OAuth?
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
Is the Facebook Profile Events API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh. Use it for analytics, monitoring, and content automation.
Ready to get Facebook profile events?
Start free with 100 credits — no credit card required.
Get your free API key