Facebook
GET /v1/facebook/event-search

Facebook Event Search API

Run a Facebook event search and get structured, ranked results as clean JSON.

2 credits per request
TL;DR
Run a Facebook event search and get structured, ranked results as clean JSON. The Facebook Event Search API (Facebook) is a single authenticated GET request to /v1/facebook/event-search that responds with clean JSON and costs 2 credits. Pass cache=true for a free 24h cache hit; default is always fresh. Start with 100 free credits — no credit card.

What is the Facebook Event Search API?

The Facebook Event Search API lets you search and return matching results for Facebook event search with a single REST call. No OAuth, no infrastructure to maintain, and no platform SDKs — send the request, get clean structured JSON back. Pass cache=true to serve from the 24h shared cache (0 credits on hit); default is always fresh.

What you get

  • Ranked, structured result list
  • Title, URL, author, and thumbnail per result when available
  • Engagement metrics where the platform exposes them
  • Configurable result limit

Try it

Open in Playground

Fill in the parameters below and copy a ready-to-run request, or open the live Playground to run it against your account (no API key paste).

Parameters

Sign in to run live
curl "https://api.captapi.com/v1/facebook/event-search?q=comedy%20Chicago" \
  -H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."

Edit the parameters and the code updates instantly. Switch languages and hit copy.

Example response

{
  "success": true,
  "data": {
    "query": "comedy Chicago",
    "totalReturned": 5,
    "events": [
      {
        "platform": "facebook",
        "id": "1032731593052809",
        "url": "https://www.facebook.com/events/1032731593052809/",
        "name": "Worship 7/26/26",
        "startDate": "2026-07-26T15:00:00Z",
        "startTime": "Happening now",
        "eventType": "PUBLIC_TYPE",
        "isOnline": true,
        "isPast": false,
        "image": "https://scontent-ord5-1.xx.fbcdn.net/v/t39.30808-6/729784843_1477362577754903_401694802381250350_n.jpg?stp=c0.47.1640.782a_dst-jpg_tt6&cstp=mx1640x782&ctp=s320x320&_nc_cat=101&ccb=1-7&_nc_sid=75d36f&_nc_ohc=6svKiDO2hVoQ7kNvwHjAlFx&_nc_oc=Adrs2rdq3CgIbPLXRlU5a0xVHUuey7lwAVdgpSxj7-fa3XGPZsdFBnUw7t8dgFeQLzo&_nc_zt=23&_nc_ht=scontent-ord5-1.xx&_nc_gid=ZJcMLEDMfuHRFLFJrYmanw&_nc_ss=7b289&oh=00_AQCUn-lzpgnqH0uhjhE6MWQWKlFJn71UKBsSHV-Uo_oxzw&oe=6A6BEE8A",
        "usersGoing": 3,
        "usersInterested": 1
      },
      {
        "platform": "facebook",
        "id": "1020197857054108",
        "url": "https://www.facebook.com/events/1020197857054108/",
        "name": "In-Person and Online Worship Experience",
        "startDate": "2026-07-26T16:00:00Z",
        "startTime": "Sun, Jul 26 at 11:00 AM CDT",
        "eventType": "PUBLIC_TYPE",
        "isOnline": true,
        "isPast": false,
        "image": "https://scontent-ord5-3.xx.fbcdn.net/v/t39.30808-6/744332103_1423888923105270_3051096675327242426_n.jpg?stp=c0.19.1200.573a_dst-jpg_tt6&cstp=mx1200x573&ctp=s320x320&_nc_cat=109&ccb=1-7&_nc_sid=75d36f&_nc_ohc=yib12OViOYUQ7kNvwE_daPf&_nc_oc=AdobfdQpY8SDFjT_xffOD9zJrsspqBb4B3Zycu79SvflFYdBXd_TpK-XKLASAXhgncM&_nc_zt=23&_nc_ht=scontent-ord5-3.xx&_nc_gid=ZJcMLEDMfuHRFLFJrYmanw&_nc_ss=7b289&oh=00_AQCpkrtpEZGrupU8PePBJk5UM-MlMsiV0T956Jq0JAmViA&oe=6A6C0BDE",
        "usersGoing": 1,
        "usersInterested": 1
      },
      {
        "platform": "facebook",
        "id": "1411120507064710",
        "url": "https://www.facebook.com/events/1411120507064710/",
        "name": "Sanjeevani4U Monthly Support Group",
        "startDate": "2026-07-26T20:30:00Z",
        "startTime": "Sun, Jul 26 at 3:30 PM CDT",
        "eventType": "PUBLIC_TYPE",
        "isOnline": true,
        "isPast": false,
        "image": "https://scontent-ord5-1.xx.fbcdn.net/v/t39.30808-6/613646701_1298582932295083_3210622313165210617_n.jpg?stp=c0.346.1024.488a_dst-jpg_tt6&cstp=mx1024x488&ctp=s320x320&_nc_cat=101&ccb=1-7&_nc_sid=75d36f&_nc_ohc=lwwuvCXsIw4Q7kNvwFMpt-c&_nc_oc=AdrRTviYP5UFmTyuWzFJZLH1ak6ofRtzwqOFOuG8gd-lsL-yslvJuSX7cUKqSKAYFuA&_nc_zt=23&_nc_ht=scontent-ord5-1.xx&_nc_gid=ZJcMLEDMfuHRFLFJrYmanw&_nc_ss=7b289&oh=00_AQCBrwR61TAz3t76nzzrYrX7s-IY5O2rfsoqBdftoIwt_A&oe=6A6C01E6",
        "usersGoing": 1
      },
      {
        "platform": "facebook",
        "id": "1552110089604110",
        "url": "https://www.facebook.com/events/1552110089604110/",
        "name": "The Big Picture of the Bible",
        "startDate": "2026-07-28T00:45:00Z",
        "startTime": "Mon, Jul 27 at 7:45 PM CDT",
        "eventType": "PUBLIC_TYPE",
        "isOnline": true,
        "isPast": false,
        "image": "https://scontent-ord5-3.xx.fbcdn.net/v/t39.30808-6/723103611_1437329531770331_3863440088136803669_n.jpg?stp=c0.275.1080.516a_dst-jpg_tt6&cstp=mx1080x516&ctp=s320x320&_nc_cat=107&ccb=1-7&_nc_sid=75d36f&_nc_ohc=qi1dWulJN-QQ7kNvwGdr1lG&_nc_oc=Adpno_IqyRgRAlG3Z_Vfr1ul5XSlJdB1QrOjGKeBBwzYjz1oVZ5D4dS7sGlh-wdp23k&_nc_zt=23&_nc_ht=scontent-ord5-3.xx&_nc_gid=ZJcMLEDMfuHRFLFJrYmanw&_nc_ss=7b289&oh=00_AQDroLHQxAlYptc7KJaSOkLp9E3J3aGMZv5JD9viL4DmaA&oe=6A6BF0D4",
        "usersGoing": 1,
        "usersInterested": 2
      },
      {
        "platform": "facebook",
        "id": "2448238608938396",
        "url": "https://www.facebook.com/events/2448238608938396/",
        "name": "Virtual 8 Week Tarot Class - A Fool's Journey",
        "startDate": "2026-07-30T00:00:00Z",
        "startTime": "Wed, Jul 29 at 7:00 PM CDT",
        "eventType": "PUBLIC_TYPE",
        "isOnline": true,
        "isPast": false,
        "image": "https://scontent-ord5-1.xx.fbcdn.net/v/t39.30808-6/700483218_122234764490315776_10588253747618528_n.jpg?stp=c0.177.1024.488a_dst-jpg_tt6&cstp=mx1024x488&ctp=s320x320&_nc_cat=106&ccb=1-7&_nc_sid=75d36f&_nc_ohc=LCRzJKfWiKsQ7kNvwFgKR6w&_nc_oc=Adr0yn7Dhw7TfiWnVXaiYKjY79rqYJ7O0ci5ovVd8gxV0JLjAWxLsc5d_elJVsJ9zKk&_nc_zt=23&_nc_ht=scontent-ord5-1.xx&_nc_gid=ZJcMLEDMfuHRFLFJrYmanw&_nc_ss=7b289&oh=00_AQD5PDmVcflFNfOcCytfj6iAK7Q2t_Ol4M2xCzz26mezCg&oe=6A6C025D",
        "usersGoing": 1
      }
    ]
  }
}

Billing metadata is returned in response headers: X-Captapi-Credits (credits charged), X-Captapi-Cache (hit or miss), and X-Captapi-Source. Failed requests (4xx/5xx) are never charged. See the full list of error codes in the error reference.

Response structure

A successful call returns success, cached, creditsUsed, and a data object with the following fields:

Top-level fields

  • queryThe search query you sent.
  • totalReturnedNumber of items returned in this response.

Events

Each item in events contains:

  • platformPlatform identifier (e.g. youtube, instagram).
  • idStable platform ID for the item.
  • urlCanonical URL of the item.
  • nameName of the item or account.
  • startDateStart date. Example: "2026-07-26T15:00:00Z".
  • startTimeStart time. Example: "Happening now".
  • eventTypeEvent type. Example: "PUBLIC_TYPE".
  • isOnlineIs online. Example: true.
  • isPastIs past. Example: false.
  • imageImage URL.
  • usersGoingUsers going. Example: 3.
  • usersInterestedUsers interested. Example: 1.

Parameters

NameTypeRequiredDescription
qstringYesTopic and/or place, e.g. 'comedy Chicago'.
limitintegerNoMax items to return (default 20, max 200). Billed per result.
cachebooleanNoSet true to serve from the 24h response cache. Default false — always fetch fresh data.

Authentication: send your key as Authorization: Bearer capt_live_.... A typical call costs 2 credits. Pass cache=true for a free 24h cache hit; default is always fresh.

Using an AI agent? This endpoint is the MCP tool facebook_event_search via @captapi/mcp. Set it up →

How it works

  1. 1. Sign up — get 100 free credits, no card required.
  2. 2. Create a key from your dashboard.
  3. 3. Send one request to /v1/facebook/event-search and parse the JSON response.

Use cases

Trend Discovery

Find trending content by keyword or hashtag.

Content Sourcing

Build feeds and playlists programmatically.

Monitoring

Track topics, brands, and competitors.

Research

Sample large sets of content for analysis.

Frequently asked questions

What does the Facebook Event Search API do?+

The Facebook Event Search API lets you search and return matching results from a public Facebook query using one GET request to /v1/facebook/event-search. It returns clean JSON — no OAuth or infrastructure setup required.

How many credits does the Facebook Event Search 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 Event Search 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.

More Facebook APIs

Ready to use the Facebook Event Search API?

Sign up, grab your key, and make your first call in 60 seconds.