Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

Facebook Company Search

เอกสาร API
https://api.sandbase.ai/v1/api/facebook/search-companies

Search the Meta Ad Library for advertisers by keyword and get matching pages: page ID, category, verification, follower counts, and linked Instagram.

ราคา
เริ่มต้นที่ $0.0011USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
1 จำเป็น · 0 ไม่บังคับ

Playground

อินพุต
Keyword to search advertiser pages for (e.g. "nike").
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

Facebook Company Search API

This API searches the Meta Ad Library for advertiser pages that match a keyword. It returns a list of matching pages with page ID, category, verification status, like count, and linked Instagram account. It needs one input, query.

Use cases

  • Find the official Facebook page ID of a brand before you pull its ads.
  • Compare follower and like counts across a brand's regional or product pages, such as Nike, Nike Football and Nike Run Club.
  • Check whether a page is verified and has a linked Instagram account before you add it to a monitoring list.
  • Build a list of advertiser pages that match a keyword for competitor research.

Request

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

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

Parameters

NameTypeRequiredDescription
querystringYesKeyword to search advertiser pages for (e.g. "nike").

Example response

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

{
  "data": {
    "companies": [
      {
        "category": "Sportswear Store",
        "country": "",
        "entityType": "PERSON_PROFILE",
        "igFollowers": 290838453,
        "igUsername": "nike",
        "igVerified": true,
        "imageUrl": "https://scontent-iad3-1.xx.fbcdn.net/v/t39.30808-1/284964043_10159903868513445_7…",
        "likes": 39489880,
        "name": "Nike",
        "pageAlias": "nike",
        "pageDeleted": false,
        "pageId": "15087023444"
      }
    ]
  },
  "found": true
}

Response fields

FieldMeaning
data.companies[].pageIdFacebook page ID as a string. Use it to look up the page's ads or other page data.
data.companies[].name / data.companies[].pageAliasDisplay name of the page and its URL alias, such as Nike and nike.
data.companies[].categoryPage category, such as Sportswear Store.
data.companies[].verificationVerification status of the page. The sample shows BLUE_VERIFIED.
data.companies[].likesNumber of likes on the Facebook page.
data.companies[].igUsernameUsername of the linked Instagram account.
data.companies[].igFollowers / data.companies[].igVerifiedFollower count of the linked Instagram account, and whether that account is verified.
data.companies[].pageDeletedtrue if the page has been deleted, false if not.
data.companies[].imageUrlURL of the page's profile image.
foundtrue when the search returned matching pages.

Notes

  • Pass any brand or advertiser keyword in query. The request has no pagination parameter.
  • Take pageId from a result and pass it to Facebook Company Ads to see that advertiser's ads.
  • To search regular Facebook pages instead of advertisers, use Facebook Page Search.
  • Some fields can be empty. In the sample, country is an empty string for every result.

Pricing

Billed at the actual cost of each call, about $0.0011 for the request above. Failed calls are not charged.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
Facebookเริ่มต้นที่ $0.0011 ต่อครั้ง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 Company Search API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/facebook/search-companies โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

Facebook Company Search API ราคาเท่าไร?

เริ่มต้นที่ $0.0011 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

Facebook Company Search API รับพารามิเตอร์อะไรบ้าง?

ที่ต้องระบุ: query (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

Facebook Company Search API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ Facebook ไหม?

ไม่จำเป็น Facebook Company Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Facebook API แยกต่างหาก