Facebook-API

Facebook-Profil-API

Öffentliche Seite oder öffentliches Profil per URL oder Handle: Name, Kategorie, Info, Like- und Follower-Zahlen und Avatar.

1,20 USD/1k Anfr., Zahlung pro Anfrage, kein Abo.

fNASA | Facebook
facebook.com/nasa

NASA

24.6M followers

PostsAboutPhotosReels

Intro

Explore the universe and discover our home planet.

Page · Aerospace Company
24.1M likes
24.6M followers
Was die API zurückgegeben hat
{
"url": "https://www.facebook.com/nasa",
"name": "NASA",
"category": "Aerospace Company",
"about": "Explore the universe and discover our home planet.",
"likes": 24100000,
"followers": 24600000,
"avatarUrl": "https://facebook.com/nasa/avatar.jpg",
"adLibraryPageId": string,
... 8 weitere Felder
}
Verfügbarkeit
99,99%
30d · 59.847 Aufrufe
Anfragen
60.157
30 T · wöchentlich, letzte 12 Wochen
Antwort
3,2s
Median · 30d

Preise und Anbieter

Preise der Facebook-Profil-API: eine API, 2 austauschbare Anbieter

Der günstigste Anbieter bedient zuerst. Fällt er aus, übernimmt der nächste im selben Aufruf.

Du zahlst
12,00 USD
1,20 USD/1k Anfr., nur für das, was du nutzt. Kein Monatstarif.
Deine ersten 83 Anfragen sind mit dem Startguthaben von 0,10 USD kostenlos.

Ausprobieren

Facebook Profil mit einer Anfrage abrufen

Öffnen in
Beispielantwort
Kostenlose Läufe liefern nur die ersten 3 Ergebnisse. Lade einen Schlüssel auf, um die vollständige Antwort zu bekommen.

Dieses Beispiel zeigt 9 von 19 Feldern. Alle Felder ansehen

{
  "found": true,
  "data": {
    "url": "https://www.facebook.com/nasa",
    "name": "NASA",
    "category": "Aerospace Company",
    "about": "Explore the universe and discover our home planet.",
    "likes": 24100000,
    "followers": 24600000,
    "avatarUrl": "https://facebook.com/nasa/avatar.jpg"
  }
}

Vollständige Parameter- und Antwortreferenz: jedes Feld, jeder Typ und jedes Beispiel für diesen Endpoint.

Referenz

Eine Anfrage, eine Antwortstruktur.

Jedes Feld, das du sendest, und jedes Feld, das du zurückbekommst, jeweils mit einem echten Beispiel.

Zuletzt geprüft 2026-11-21 · Verfügbarkeit und Latenz gemessen über 30d

Request-Body

JSON, per POST an diesen Endpoint gesendet.

  • handlestring

    Handle oder Benutzername der Facebook-Seite.

  • urlstring

    https://www.facebook.com/nasa

    Full Facebook page URL. profile.php without an id value names no page and is refused as invalid input, with no charge.

Du sendest. Ein kleiner JSON-Body. Die gezeigten Werte sind Beispiele, die du durch deine eigenen ersetzt.

Antwort

JSON, ein Beispielwert pro Feld.

datadata
  • aboutstring

    Explore the universe and discover our home planet.

  • adLibraryPageIdstring

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

  • adStatusstring

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

  • avatarUrlstring

    https://facebook.com/nasa/avatar.jpg

    Populated whenever the provider has data for the entity.

  • categorystring

    Aerospace Company

    Populated whenever the provider has data for the entity.

  • coverPhotoUrlstring

    Cover photo image URL of the page or profile.

  • createdUtcnumber

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

  • followersinteger

    24600000

    Follower count, or null when Facebook does not show it (age-restricted Pages).

  • idstring

    Numeric Facebook id of the page or profile.

  • likesinteger

    24100000

  • namestring

    NASA

    Populated whenever the provider has data for the entity.

  • pageActiveboolean

    Whether the page is an active business page.

  • phonestring

    Public phone number listed on the page.

  • talkingAboutCountinteger

    Number of people talking about the page.

  • urlstring

    https://www.facebook.com/nasa

    Canonical Facebook URL of the page or profile.

  • websitestring

    Website listed on the page.

top level
  • foundboolean

    true

  • 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.

Du bekommst zurück. Benannte, typisierte Felder in derselben Struktur, egal welche Quelle antwortet.

FAQ

Über die Facebook-Profil-API

Die AnyAPI-Facebook-Profil-API liefert Facebook-Daten als normalisiertes JSON aus einem POST-Aufruf an /v1/run/facebook.profile. Öffentliche Seite oder öffentliches Profil per URL oder Handle: Name, Kategorie, Info, Like- und Follower-Zahlen und Avatar. AnyAPI routet jede Anfrage über 2 Quellen und weicht automatisch aus, wenn eine ausfällt. Sie kostet ab 1,20 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 100,0% der Facebook Profil-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 3,2 Sekunden über 59.847 gemessene Aufrufe.

Sie kostet ab 1,20 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. Du lädst ein USD-Guthabenkonto auf, und jeder Aufruf bucht davon ab. Bei manchen fehlgeschlagenen, vom Guthabenkonto bezahlten Anfragen fallen Bearbeitungsgebühren an, die wir zum Selbstkostenpreis ohne Aufschlag weitergeben. Die Fehlerantwort zeigt den berechneten Betrag.

Öffentliche Seite oder öffentliches Profil per URL oder Handle: Name, Kategorie, Info, Like- und Follower-Zahlen und Avatar. Die Antwort ist normalisiertes JSON mit demselben Envelope, den jeder AnyAPI-Endpoint liefert, sodass das Parsen eines zweiten Endpoints nur eine geänderte URL bedeutet.

In den letzten 30 Tagen waren 100,0% der Facebook Profil-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 3,2 Sekunden über 59.847 gemessene Aufrufe. Das sind AnyAPIs eigene Messungen des Traffics durch das Gateway, laufend neu berechnet, kein veröffentlichtes Service-Level-Ziel.

Ja. Ein neues AnyAPI-Konto startet mit 0,10 USD Gratis-Guthaben, ohne Karte. Das deckt 83 Facebook-Profil-Aufrufe zu je 0,0012 USD.

AnyAPI fragt in derselben Anfrage die nächste seiner 2 Quellen, die günstigste zuerst, sodass der Ausfall einer Quelle deinen Aufruf nicht scheitern lässt.

Sende eine POST-Anfrage an https://api.getanyapi.com/v1/run/facebook.profile mit deinem AnyAPI-Schlüssel in einem Header „Authorization: Bearer“ und der Eingabe als JSON-Body. Derselbe Schlüssel und dasselbe Guthabenkonto funktionieren bei jedem AnyAPI-Endpoint.

Nein. Du lädst US-Dollar auf ein Prepaid-AnyAPI-Guthaben, und jede Anfrage bucht davon ab. Es gibt keinen Monatstarif und kein Minimum, und dasselbe Guthaben bezahlt jeden AnyAPI-Endpoint.

Ja. Installiere @getanyapi/sdk von npm für TypeScript oder getanyapi von pip für Python. Beide rufen jeden AnyAPI-Endpoint mit demselben Schlüssel auf, und jeder HTTP-Client funktioniert ebenfalls.

Ja. Ein Agent kann sich mit dem AnyAPI-MCP-Server unter https://api.getanyapi.com/mcp verbinden oder mit einem unauthentifizierten POST an https://api.getanyapi.com/agent/signup einen eigenen kostenlosen Test-Schlüssel erstellen und diesen Endpoint über HTTP aufrufen.