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.0012 からUSD / 回
メソッド
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.
出力準備完了

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

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

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価格レスポンス
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 Page Events API はどのように使いますか?

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

Facebook Page Events API の料金はいくらですか?

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

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

必須: url (string)。 任意: cursor (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

Facebook Page Events API は何を返しますか?

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

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

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