Sources › Social media › Facebook › Page Profile

Facebook Page Profile API
Facebook public Page/profile by username or URL: id, name, category, followers, following, talking-about, about, website, avatar, cover, verified.
Request
https://api.zapi.ink/v1/social-media:facebook-scraper/pageSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 30 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| username | string | query | Yes | Username/URL/ID Page atau profil Facebook publik (mis. KOMPAScom, https://www.facebook.com/NASA, profile.php?id=…). Example: KOMPAScom |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:facebook-scraper/page?username=KOMPAScom" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:facebook-scraper/page?username=KOMPAScom", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/social-media:facebook-scraper/page", params={"username":"KOMPAScom"}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Frequently asked questions
How do I call the Facebook Page Profile API?
Send a GET request to https://api.zapi.ink/v1/social-media:facebook-scraper/page?username=KOMPAScom with your Zapi key in the x-api-key header. Parameters — required: username. The response is JSON in the { project, data, timestamp } envelope.
What does the Facebook Page Profile API return?
Facebook public Page/profile by username or URL: id, name, category, followers, following, talking-about, about, website, avatar, cover, verified.
Is the Facebook Page Profile API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 2 Zap. Paid plans raise the limits.
Can an AI assistant call the Facebook Page Profile API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "facebook-scraper" and endpoint "page".
What other Facebook API endpoints are there?
It has 5 endpoints. Besides Page Profile: Post Detail, Post Comments, Profile Videos, Video Transcript.