Sand AISand AI MAGI-2MAGI-2 artık SandBase'de: yerel sesli 1080p videoŞimdi deneyin

Facebook Company Search

API dokümanları
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.

Fiyat
Başlangıç fiyatı $0.0011USD / çağrı
Yöntem
POST
Yanıt
JSON
Parametreler
1 gerekli · 0 isteğe bağlı

Oynatma Alanı

Girdi
Keyword to search advertiser pages for (e.g. "nike").
ÇıktıHazır

Çıktınız burada görünecek

Girdileri tamamlayın, ardından Çalıştır'a tıklayın.

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.

Daha fazlasını keşfedin

İlgili APIs

Tüm APIs
APIFiyatYanıt
FacebookKullanım başına $0.0011'den itibarenJSON
FacebookKullanım başına $0.0012'den itibarenJSON
FacebookKullanım başına $0.00462'den itibarenJSON
FacebookKullanım başına $0.0012'den itibarenJSON
FacebookKullanım başına $0.0011'den itibarenJSON
FacebookKullanım başına $0.0011'den itibarenJSON

Kılavuzlar:Best Facebook API in 2026: Pricing Compared

Sorular

SSS

Facebook Company Search API'sini nasıl kullanırım?

SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/facebook/search-companies adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.

Facebook Company Search API'sinin fiyatı nedir?

çağrı başına $0.0011'dan başlayan, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.

Facebook Company Search API'si hangi parametreleri kabul eder?

Gerekli: query (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.

Facebook Company Search API'si ne döndürür?

Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.

Bir Facebook geliştirici hesabına veya API anahtarına ihtiyacım var mı?

Hayır. Facebook Company Search, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Facebook API erişimi için ayrıca başvuru yapmanız gerekmez.