API di Facebook

Facebook Ricerca pagine API

Cerca Pagine Facebook per parola chiave, facoltativamente ristrette a una località, e ottieni profili di pagina strutturati (nome, categoria, follower, dati di contatto).

10,00 USD/1k risultati, paghi a richiesta, nessun abbonamento.

fcoffee roasters | Facebook Search
facebook.com/search/pages?q=coffee%20roasters

Pages

Kreuzberg Coffee Roasters

Coffee Shop

18.4K followers

Cosa ha restituito l'APIitems[0]
{
"id": "108827441652390",
"title": "Kreuzberg Coffee Roasters",
"url": "https://www.facebook.com/kreuzbergcoffeeroasters",
"category": "Coffee Shop",
"followers": 18400,
"likes": 17900,
"phone": "+49 30 5550 1873",
"website": "https://kreuzbergroasters.de",
... 9 campi in più
}
Disponibilità
82,11%
30d · 1794 chiamate
Richieste
1795
30 g · settimanale, ultime 12 sett.
Risposta
45,6s
mediana · 30d

Chiamalo

Ottieni Facebook Ricerca pagine in una sola richiesta

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/facebook.search_pages",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={
        "query": "nike",
        "limit": 3
    },
)
print(res.json())
Apri in
Risposta di esempio

Questo esempio mostra 19 campi su 21. Vedi tutti i campi

{
  "found": true,
  "data": {
    "items": [
      {
        "id": "108827441652390",
        "title": "Kreuzberg Coffee Roasters",
        "url": "https://www.facebook.com/kreuzbergcoffeeroasters",
        "category": "Coffee Shop",
        "followers": 18400,
        "likes": 17900,
        "phone": "+49 30 5550 1873",
        "website": "https://kreuzbergroasters.de",
        "image": "https://scontent.xx.fbcdn.net/v/t39.30808-1/kreuzberg_avatar.jpg",
        "pageAlias": "kreuzbergcoffeeroasters",
        "about": "Small-batch coffee roasted daily in Kreuzberg since 2014. Wholesale and cafe pickup.",
        "coverPhotoUrl": "https://scontent.xx.fbcdn.net/v/t39.30808-1/kreuzberg_cover.jpg",
        "createdUtc": 1391212800,
        "adStatus": "This Page is not currently running ads.",
        "owner": "",
        "categories": [
          "Coffee Shop",
          "Coffee Roastery"
        ]
      },
      {
        "id": "241093887761204",
        "title": "Nordlicht Rostkaffee",
        "url": "https://www.facebook.com/nordlichtrostkaffee",
        "category": "Coffee Roastery",
        "followers": 6250,
        "likes": 6010,
        "phone": "+49 30 5550 2946",
        "website": "https://nordlicht-kaffee.de",
        "image": "https://scontent.xx.fbcdn.net/v/t39.30808-1/nordlicht_avatar.jpg",
        "pageAlias": "nordlichtrostkaffee",
        "about": "Direct-trade single-origin roaster based in Prenzlauer Berg.",
        "coverPhotoUrl": "https://scontent.xx.fbcdn.net/v/t39.30808-1/nordlicht_cover.jpg",
        "createdUtc": 1476403200,
        "adStatus": "This Page is currently running ads.",
        "owner": "",
        "categories": [
          "Coffee Roastery"
        ]
      },
      {
        "id": "365710428839112",
        "title": "Spandau Bean Co.",
        "url": "https://www.facebook.com/spandaubeanco",
        "category": "Coffee Shop",
        "followers": 2870,
        "likes": 2790,
        "phone": "",
        "website": "https://spandaubean.co",
        "image": "https://scontent.xx.fbcdn.net/v/t39.30808-1/spandau_avatar.jpg",
        "pageAlias": "spandaubeanco",
        "about": "Neighborhood roastery and cafe on Wilhelmstrasse.",
        "coverPhotoUrl": "https://scontent.xx.fbcdn.net/v/t39.30808-1/spandau_cover.jpg",
        "createdUtc": 1552608000,
        "adStatus": "This Page is not currently running ads.",
        "owner": "",
        "categories": [
          "Coffee Shop"
        ]
      }
    ]
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • querystring

    coffee roasters

    Parola chiave con cui cercare Pagine Facebook (es. 'coffee roasters').

  • limitinteger

    3

    Numero massimo di risultati da restituire (1-10, predefinito 10). Paghi per ogni risultato restituito, quindi un limite più basso costa meno.

  • locationstring

    Berlin

    Località in testo libero facoltativa per restringere la ricerca: una città, provincia o paese (es. 'Berlin').

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

each itemdata.items[]

Matching Facebook Page records for the query. Populated whenever the provider has data for the entity.

  • aboutstring

    Small-batch coffee roasted daily in Kreuzberg since 2014. Wholesale and cafe pickup.

    The page's intro text.

  • adLibraryPageIdstring

    The page's Facebook Ad Library id, the `pageId` facebook.company_ads takes. It differs from `id`. Absent when Facebook shows none.

  • adStatusstring

    This Page is not currently running ads.

    Facebook Ad Library status sentence for the page, e.g. whether it is currently running ads.

  • categoriesstring[]

    Categories Facebook lists the page under.

  • categorystring

    Coffee Shop

    The page's primary category (e.g. "Sportswear Store"). Empty when the upstream omits it.

  • coverPhotoUrlstring

    https://scontent.xx.fbcdn.net/v/t39.30808-1/kreuzberg_cover.jpg

    Cover photo image URL of the page.

  • createdUtcnumber

    1391212800

    UTC epoch timestamp in seconds (Unix time) the page was created. Multiply by 1000 for a JS Date in milliseconds.

  • followersinteger

    18400

    The page's follower count.

  • idstring

    108827441652390

    The page's numeric Facebook ID, as a string. Populated whenever the provider has data for the entity.

  • imagestring

    https://scontent.xx.fbcdn.net/v/t39.30808-1/kreuzberg_avatar.jpg

    URL of the page's profile picture, a signed CDN URL whose query must be kept. Empty when the upstream omits it.

  • likesinteger

    17900

    The page's like count.

  • ownerstring

    Confirmed owner of the page, when Facebook publishes one.

  • pageAliasstring

    kreuzbergcoffeeroasters

    The page's vanity URL alias, e.g. "nikesportswear".

  • phonestring

    +49 30 5550 1873

    The page's public phone number. Empty when the upstream omits it.

  • titlestring

    Kreuzberg Coffee Roasters

    The page's public name. Populated whenever the provider has data for the entity.

  • urlstring

    https://www.facebook.com/kreuzbergcoffeeroasters

    Canonical URL of the Facebook Page, with tracking query params stripped. Populated whenever the provider has data for the entity.

  • websitestring

    https://kreuzbergroasters.de

    The page's public website URL. Empty when the upstream omits it.

top level
  • foundboolean

    true

    Whether any matching pages were returned for the query.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Facebook Ricerca pagine

L'API Facebook Ricerca pagine di AnyAPI restituisce dati Facebook come JSON normalizzato da una sola chiamata POST a /v1/run/facebook.search_pages. Cerca Pagine Facebook per parola chiave, facoltativamente ristrette a una località, e ottieni profili di pagina strutturati (nome, categoria, follower, dati di contatto). AnyAPI restituisce un unico schema normalizzato qualunque fonte la serva. Costa 10 USD ogni 1.000 risultati, e mai più di 0,11 USD per una singola richiesta, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 82,1% delle chiamate Facebook Ricerca pagine tramite AnyAPI è riuscito, con un tempo di risposta mediano di 45,6 secondi su 1794 chiamate misurate.

Costa 10 USD ogni 1.000 risultati, e mai più di 0,11 USD per una singola richiesta, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Cerca Pagine Facebook per parola chiave, facoltativamente ristrette a una località, e ottieni profili di pagina strutturati (nome, categoria, follower, dati di contatto). La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 82,1% delle chiamate Facebook Ricerca pagine tramite AnyAPI è riuscito, con un tempo di risposta mediano di 45,6 secondi su 1794 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/facebook.search_pages con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.