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

Facebook Event Details

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

Fetch full details for a single Facebook event by ID or URL (name, schedule, venue, hosts, and attendance) as normalized JSON.

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

प्लेग्राउंड

इनपुट
The event's numeric identifier.
The event's Facebook URL.
आउटपुटतैयार

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

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

API README

Facebook Event Details API

This API returns the details of one Facebook event: its name, description, schedule, venue, hosts, and attendance counts. It needs either the event's numeric id or its Facebook url.

Use cases

  • Track how many people marked going or interested in a convention or concert.
  • Pull venue name, address, and coordinates to place an event on a map.
  • Check whether an event is canceled, online, or already past before listing it.
  • Identify the host page of an event and link back to its Facebook profile.

Request

curl -X POST "https://api.sandbase.ai/v1/api/facebook/event-details" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"id": "4045709448982422"}'

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

Parameters

NameTypeRequiredDescription
idstringNoThe event's numeric identifier.
urlstringNoThe event's Facebook URL.

Example response

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

{
  "data": {
    "address": "225 W Douglas Ave, Wichita, KS 67202-3100, United States",
    "attendanceCount": 2489,
    "canViewMembers": true,
    "city": "Wichita, Kansas",
    "cityId": "105674782800210",
    "coverPhotoUrl": "https://scontent-dfw6-1.xx.fbcdn.net/v/t39.30808-6/570154625_122237652734251216_…",
    "creatorId": "61557536504734",
    "creatorName": "Kansas Comic Con",
    "dayTimeSentence": "Oct 31 at 10:00 AM – Nov 1 at 5:00 PM CST",
    "description": "Kansas Comic Con is back! Join us Saturday, October 31st and Sunday, November 1s…",
    "duration": "2 days",
    "endTime": ""
  },
  "found": true
}

Response fields

FieldMeaning
data.name / data.descriptionThe event title and its description text.
data.goingCount / data.interestedCount / data.attendanceCountCounts of people who responded going, people who responded interested, and the event's attendance count.
data.startTimestampThe start of the event as a Unix timestamp in seconds.
data.dayTimeSentence / data.startTimeFormatted / data.durationHuman-readable schedule text, such as the date range with time zone and the length of the event.
data.locationName / data.address / data.cityThe venue name, its street address, and the city.
data.latitude / data.longitudeCoordinates of the venue.
data.hosts[].name / data.hosts[].url / data.hosts[].idThe name, Facebook URL, and ID of each host.
data.isCanceled / data.isOnline / data.isPastFlags that show whether the event is canceled, held online, or already over.
data.privacy / data.eventKindThe event's privacy setting and its type.
foundtrue when the event was found.

Notes

  • Pass either id or url. The id is the number at the end of an event URL, such as 4045709448982422 in https://www.facebook.com/events/4045709448982422/.
  • In the sample response, startTime and endTime are empty strings. Use startTimestamp for the start time.
  • Use hosts[].id or creatorId to look up the host with Facebook Profile.
  • To list more events from a host page, call Facebook Page Events.

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 Event Details API का उपयोग कैसे करें?

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

Facebook Event Details API की लागत कितनी है?

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

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

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

Facebook Event Details API क्या लौटाती है?

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

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

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