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/successプロバイダー原価
- Success rate
- 100%Last 30 days · 10 calls
- Latency p50
- 778 msp95 15 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/serpapi.x.facebook-profile?engine=facebook_profile&profile_id=ModernatxPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
top-level fields: name, id, url, followers, likes, profile_type (PAGE|PROFILE).
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
engine | 文字列 | 必須 | facebook_profile | |
profile_id | 文字列 | 必須 | Facebook username or numeric id | Modernatx |
- クエリパラメータ
engine文字列必須例:
facebook_profileprofile_id文字列必須Facebook username or numeric id
例:
Modernatx
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.015/success です。サービス料を含みます。