Public Facebook profile or Page by username or id
serpapi.x.facebook-profilePublic Facebook profile/Page data for a username or numeric id — followers, likes, about, photos
- Price
- $0.015/successZum Anbieterpreis
- Success rate
- 100 %Last 30 days · 10 calls
- Latency p50
- 778 msp95 15 s
- Last verified
- 28.07.2026Verified working
GEThttps://toolswitch.dev/v1/tools/serpapi.x.facebook-profile?engine=facebook_profile&profile_id=ModernatxPreviewTry onlineDemnächstProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameter
top-level fields: name, id, url, followers, likes, profile_type (PAGE|PROFILE).
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
engine | Zeichenkette | Erforderlich | facebook_profile | |
profile_id | Zeichenkette | Erforderlich | Facebook username or numeric id | Modernatx |
- Abfrageparameter
engineZeichenketteErforderlichBeispiel:
facebook_profileprofile_idZeichenketteErforderlichFacebook username or numeric id
Beispiel:
Modernatx
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/serpapi.x.facebook-profile?engine=facebook_profile&profile_id=Modernatx' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/serpapi.x.facebook-profile?engine=facebook_profile&profile_id=Modernatx",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/serpapi.x.facebook-profile?engine=facebook_profile&profile_id=Modernatx", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.015/success einschließlich Servicegebühr abgerechnet.