Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

Facebook Profile

APIドキュメント
https://api.sandbase.ai/v1/api/facebook/profile

Fetch a Facebook page's public profile (likes, followers, category, about) by URL or handle.

料金
$0.0012 からUSD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 0 件 · 任意 2 件

プレイグラウンド

入力
Full Facebook page URL.
Facebook page handle/username.
出力準備完了

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

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

API README

Facebook Profile API

Returns the public profile of a Facebook page, including its name, category, like and follower counts, contact details and ad status. It needs either a full page url or a page handle.

Use cases

  • Compare the likes and followers counts of competing brand pages.
  • Check whether a brand is running ads on Facebook before you pull its ads.
  • Collect the website and phone number listed on a business page for a lead list.
  • Resolve a page URL to its numeric id and adLibraryPageId for use in other lookups.

Request

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

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

Parameters

NameTypeRequiredDescription
handlestringNoFacebook page handle/username.
urlstringNoFull Facebook page URL.

Example response

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

{
  "data": {
    "about": "",
    "adLibraryPageId": "15087023444",
    "adStatus": "This Page is currently running ads.",
    "avatarUrl": "https://scontent-ord5-1.xx.fbcdn.net/v/t39.30808-1/284964043_10159903868513445_7…",
    "category": "Sportswear Store",
    "coverPhotoUrl": "https://scontent-ord5-2.xx.fbcdn.net/v/t39.30808-6/285211224_10159903868008445_5…",
    "createdUtc": 1211328000,
    "followers": 39000000,
    "id": "100044541544829",
    "likes": 39488396,
    "name": "Nike",
    "pageActive": false
  },
  "found": true
}

Response fields

FieldMeaning
data.nameDisplay name of the page.
data.idNumeric ID of the page.
data.categoryCategory label of the page, for example Sportswear Store.
data.likes / data.followersNumber of likes and number of followers the page has.
data.talkingAboutCountCount of people talking about the page, as reported on the page.
data.adStatusText that says whether the page is currently running ads.
data.adLibraryPageIdID of the page in the Facebook ad library. Use it to look up the page's ads.
data.createdUtcPage creation time as a Unix timestamp in seconds (UTC).
data.website / data.phoneWebsite and phone number listed on the page.
data.avatarUrl / data.coverPhotoUrlImage URLs for the page's profile picture and cover photo.

Notes

  • Send either url or handle. The example request uses url.
  • Check found first. A lookup that finds no page returns found: false.
  • about can be an empty string when the page has no description.
  • To get a page's ads, call Facebook Company Ads. For recent posts, call Facebook Get Profile Posts.

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 Profile API はどのように使いますか?

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

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

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

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

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

Facebook Profile API は何を返しますか?

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

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

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