urlstring
Full Facebook page URL.
https://api.sandbase.ai/v1/api/facebook/profileFetch a Facebook page's public profile (likes, followers, category, about) by URL or handle.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Returns the public profile of a Facebook page, including its name, category, like and follower counts, contact details and ad status. It needs either a full page url or a page handle.
likes and followers counts of competing brand pages.id and adLibraryPageId for use in other lookups.curl -X POST "https://api.sandbase.ai/v1/api/facebook/profile" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.facebook.com/nike"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | No | Facebook page handle/username. |
url | string | No | Full Facebook page URL. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"data": {
"about": "",
"adLibraryPageId": "15087023444",
"adStatus": "This Page is currently running ads.",
"avatarUrl": "https://scontent-ord5-1.xx.fbcdn.net/v/t39.30808-1/284964043_10159903868513445_7…",
"category": "Sportswear Store",
"coverPhotoUrl": "https://scontent-ord5-2.xx.fbcdn.net/v/t39.30808-6/285211224_10159903868008445_5…",
"createdUtc": 1211328000,
"followers": 39000000,
"id": "100044541544829",
"likes": 39488396,
"name": "Nike",
"pageActive": false
},
"found": true
}
| Field | Meaning |
|---|---|
data.name | Display name of the page. |
data.id | Numeric ID of the page. |
data.category | Category label of the page, for example Sportswear Store. |
data.likes / data.followers | Number of likes and number of followers the page has. |
data.talkingAboutCount | Count of people talking about the page, as reported on the page. |
data.adStatus | Text that says whether the page is currently running ads. |
data.adLibraryPageId | ID of the page in the Facebook ad library. Use it to look up the page's ads. |
data.createdUtc | Page creation time as a Unix timestamp in seconds (UTC). |
data.website / data.phone | Website and phone number listed on the page. |
data.avatarUrl / data.coverPhotoUrl | Image URLs for the page's profile picture and cover photo. |
url or handle. The example request uses url.found first. A lookup that finds no page returns found: false.about can be an empty string when the page has no description.Billed at the actual cost of each call, about $0.0012 for the request above. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/facebook/profile" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.facebook.com/nike"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
urlstringFull Facebook page URL.
handlestringFacebook page handle/username.
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Facebook ProfileЭтот API Facebook | От $0.0012 за запрос | JSON |
Facebook | От $0.0012 за запрос | JSON |
Facebook | От $0.00462 за запрос | JSON |
Facebook | От $0.0012 за запрос | JSON |
Facebook | От $0.0011 за запрос | JSON |
Facebook | От $0.0011 за запрос | JSON |
Руководства:Best Facebook API in 2026: Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/facebook/profile, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
От $0.0012 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Параметры не требуются. Необязательные: url (string) и handle (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Facebook Profile работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Facebook.