Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Facebook Page Events

API दस्तावेज़
https://api.sandbase.ai/v1/api/facebook/profile-events

List upcoming and past events hosted by any public Facebook page by URL (name, schedule, venue, and host) as normalized JSON.

मूल्य
से $0.0012USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 1 वैकल्पिक

प्लेग्राउंड

इनपुट
The Facebook page link whose events to list, e.g. https://www.facebook.com/brickyardoldtown. Accepted: facebook.com/<name>, /p/<name>-<id>, /pages/<name>/<id>, /pg/<name>, /people/<name>/<id> and profile.php?id=<id>, on facebook.com or fb.com with or without www, m, mbasic, web, business or a language subdomain. Anything after the page, such as a tab, is fine: only the page is read. Any other Facebook link, such as a single event, group, share link, reel, video, hashtag, search or login page, is refused as invalid input, with no charge; facebook.event_details reads one event.
Pagination cursor from a previous response.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

Facebook Page Events API

This API lists the upcoming and past events hosted by a public Facebook page. It needs the page link in url and returns each event's name, schedule text, start time, venue name, city, and host.

Use cases

  • Build a calendar of upcoming events for a venue or promoter page.
  • Track when a competitor's page schedules new events or cancels existing ones.
  • Collect event links for a list of local venues, then pull full details for each event.
  • Check whether a page's events are online or at a physical place.

Request

curl -X POST "https://api.sandbase.ai/v1/api/facebook/profile-events" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.facebook.com/brickyardoldtown"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
urlstringYesThe Facebook page link whose events to list, e.g. https://www.facebook.com/brickyardoldtown. Accepted: facebook.com/<name>, /p/<name>-<id>, /pages/<name>/<id>, /pg/<name>, /people/<name>/<id> and profile.php?id=<id>, on
cursorstringNoPagination cursor from a previous response.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "events": [
      {
        "city": "Wichita",
        "creatorName": "Public at the Brickyard",
        "dayTimeSentence": "Tue, Nov 17 - Nov 30",
        "id": "1324020146405525",
        "isCanceled": false,
        "isOnline": true,
        "isPast": false,
        "name": "The Jingle Returns to Public!",
        "placeName": "Public at the Brickyard",
        "startTimestamp": 1794956400,
        "url": "https://www.facebook.com/events/1324020146405525/"
      }
    ],
    "hasNextPage": false,
    "nextCursor": "cur_iay97_cKG9azuqBjh6QcbQ",
    "totalCount": 2
  },
  "found": true
}

Response fields

FieldMeaning
data.events[].nameTitle of the event.
data.events[].id / data.events[].urlEvent ID and the link to the event page on Facebook.
data.events[].startTimestampEvent start time as a Unix timestamp in seconds.
data.events[].dayTimeSentenceHuman-readable schedule text as shown on Facebook, such as Sat, Dec 5 at 10:00 AM CST or a date range.
data.events[].placeName / data.events[].cityName of the venue and the city it is in.
data.events[].creatorNameName of the page or account that hosts the event.
data.events[].isCanceled / data.events[].isPast / data.events[].isOnlineFlags for whether the event is canceled, already over, or held online.
data.totalCountNumber of events in this response.
data.hasNextPage / data.nextCursorWhether more events are available, and the cursor to request them.
foundtrue when the page was found.

Notes

  • Pass the page link in url. Links to a single event, group, reel, video, or search page are refused as invalid input.
  • To get the next page of events, send nextCursor as cursor in a new request. Do this when hasNextPage is true.
  • Use Facebook Event Details with an event url to read one event in full.

Pricing

Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Facebook$0.0012 प्रति कॉल सेJSON
Facebook$0.0012 प्रति कॉल सेJSON
Facebook$0.00462 प्रति कॉल सेJSON
Facebook$0.0012 प्रति कॉल सेJSON
Facebook$0.0011 प्रति कॉल सेJSON
Facebook$0.0011 प्रति कॉल सेJSON

गाइड्स:Best Facebook API in 2026: Pricing Compared

प्रश्न

FAQ

Facebook Page Events API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/facebook/profile-events पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Facebook Page Events API की लागत कितनी है?

$0.0012 से प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Facebook Page Events API कौन-से parameters स्वीकार करती है?

आवश्यक: url (string)। वैकल्पिक: cursor (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Facebook Page Events API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Facebook developer account या API key चाहिए?

नहीं। Facebook Page Events SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Facebook API access के लिए आवेदन करने की आवश्यकता नहीं है।