Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Facebook Page Contact Info

API 文件
https://api.sandbase.ai/v1/api/facebook/page-contact

Look up a Facebook Page's public contact details (email, phone, website, and address) by page URL or ID.

價格
自 $0.0012 起美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 2 個選填

Playground

輸入
Facebook Page URL or page ID to look up (e.g. https://www.facebook.com/nasa).
Locale code for the returned data (e.g. en-US).
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `createdUtc` or `adStatus`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a page that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Facebook Page Contact Info API

This API returns the public contact details of a Facebook Page, including email, phone, website, and address. It also returns basic page facts such as category, follower count, and ad status. You send a Page URL or a page ID in page.

Use cases

  • Build a lead list of local businesses with their email, phone, and website.
  • Check that a restaurant's listed address and phone number match your own records.
  • Find the Instagram or other linked profiles a business lists on its Page.
  • Check whether a Page is currently running ads before you look at its ad activity.

Request

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

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

Parameters

NameTypeRequiredDescription
pagestringYesFacebook Page URL or page ID to look up (e.g. https://www.facebook.com/nasa).
languagestringNoLocale code for the returned data (e.g. en-US).
requireFieldsarrayNoOptional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example createdUtc or adStatus, and it is served only by a source that ret

Example response

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

{
  "data": {
    "items": [
      {
        "about": "For more than 100 years, no visit to Miami has been complete without stopping he…",
        "adLibraryPageId": "404077308008",
        "adStatus": "This Page isn't currently running ads.",
        "address": "11 Washington Ave, Miami Beach, FL, United States, 33139",
        "category": "Seafood Restaurant",
        "coverPhotoUrl": "https://scontent-msp1-1.xx.fbcdn.net/v/t39.30808-6/626797260_1324209616413613_36…",
        "createdUtc": 1268006400,
        "email": "[email protected]",
        "followers": 44732,
        "id": "100064737608769",
        "image": "https://scontent-msp1-1.xx.fbcdn.net/v/t39.30808-1/626760115_1324209663080275_79…",
        "links": [
          "https://www.instagram.com/joesstonecrab"
        ]
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.items[].email / phone / websitePublic contact details the Page lists. A Page that does not list one of these may omit it.
data.items[].addressStreet address of the business as one text string.
data.items[].titleDisplay name of the Page.
data.items[].categoryBusiness category of the Page, such as Seafood Restaurant.
data.items[].followersNumber of followers the Page has.
data.items[].createdUtcPage creation time as a Unix timestamp in seconds.
data.items[].adStatusText that says whether the Page is currently running ads.
data.items[].adLibraryPageIdID of the Page in the Facebook Ad Library.
data.items[].idNumeric Facebook ID of the Page.
data.items[].linksList of other profile URLs the Page links to, such as Instagram.

Notes

  • Set page to a full Page URL such as https://www.facebook.com/joesstonecrab or to a numeric page ID.
  • The Page is returned as the single entry in data.items. When nothing matches, the response has found: false.
  • Use requireFields with adStatus, createdUtc, or followers to make sure the answering source returns those fields. This can change the price of the call.
  • To search for Pages by name first, use Facebook Page Search.

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

問題

常見問題

我要如何使用 Facebook Page Contact Info API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/facebook/page-contact。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Facebook Page Contact Info API 的費用是多少?

每次起 $0.0012,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Facebook Page Contact Info API 接受哪些參數?

必要:page (string)。 選填:language (string) 和 requireFields (array)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Facebook Page Contact Info API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Facebook 開發者帳號或 API 金鑰嗎?

不需要。Facebook Page Contact Info 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Facebook API 存取權。