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.0012 からUSD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 0 件 · 任意 2 件

プレイグラウンド

入力
The event's numeric identifier.
The event's Facebook URL.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

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価格レスポンス
Facebook1回あたり $0.0012 からJSON
Facebook1回あたり $0.0012 からJSON
Facebook1回あたり $0.00462 からJSON
Facebook1回あたり $0.0012 からJSON
Facebook1回あたり $0.0011 からJSON
Facebook1回あたり $0.0011 からJSON

ガイド:Best Facebook API in 2026: Pricing Compared

質問

FAQ

Facebook Event Details API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/facebook/event-details に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

Facebook Event Details API の料金はいくらですか?

1回あたり $0.0012 から、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

Facebook Event Details API はどのパラメータを受け付けますか?

必須パラメータはありません。 任意: id (string) と url (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Facebook Event Details API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

Facebook の開発者アカウントまたは API key は必要ですか?

いいえ。Facebook Event Details は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Facebook の API アクセスを別途申請する必要はありません。