Introducing the Instagram APIRead more →

Facebook Profile API. Send a handle or profile link.

Exact follower count, contact info and hours. We handle the proxies, blocks and platform changes.

Facebook Profile API at a glance

Returns a public Facebook Page's or person's profile from its name, ID or link: name, bio, category, picture, links and exact follower count. It also has the cover, verified badge, following count and creation date. A business adds its address, phone, email, rating, reviews, price range, services and weekly opening hours. A Page adds whether it is running ads, its Ad Library Page ID, its confirmed owner, where its admins are and its past names. A person adds the work, education and places their intro shows.

GET /v1/facebook/profile

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 19 typed fields null when unknown
  • handle is all it needs, e.g. NASA
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 19 fields back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
handle = NASA
GET /v1/facebook/profileTry in
const params = new URLSearchParams({
  handle: "NASA",
});
const res = await fetch(`https://socialtap.dev/v1/facebook/profile?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/facebook/profileLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 27 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Facebook doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    The Facebook profile (a Page's or a person's): its vanity name (NASA, case-insensitive), its numeric profile ID or Page ID, or any link to it: facebook.com/<name> with any tab after it, profile.php?id=…, /people/<name>/<id>, /p/<name>-<id>, /pages/category/…, fb.me/<name>.

  • Write one parser

    Facebook, TikTok, Instagram and 24 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native account ID (string; YouTube UC…, Reddit t2_…).
usernamestring
Handle without the @; null when the account has none.
display_namestring
Display name, channel title or page name; null when empty or not exposed.
urlstring
Canonical profile URL.
typestring
Coarse account kind, as the platform labels it; unknown when it does not (TikTok labels organizations only). New values may be added; treat unknown values as unknown.
biostring
Profile bio, channel description or page about text; null when empty or not exposed.
avatar_urlstring
Profile picture URL (largest available). Platform CDN URLs can expire within hours.

What teams build with the Facebook Profile API.

  • Enrich leads with Page contact details and hours

  • Track a Page's followers over time

  • Check a Page's owner and active ads

Good to know before you build.

  • A profile Facebook shows nothing of logged out (not public, deactivated, age-restricted like an alcohol brand's Page, or an unknown name) returns private_or_unavailable, because Facebook answers them all the same way.
  • A plain person's profile shows little logged out: usually a name, a picture and a cover, and no counts.
  • Facebook no longer shows a Page's likes on public profiles, so they aren't returned.
  • talking_about_count and were_here_count are null unless the request read the profile's own page, which most requests don't need.

1 credit per request. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful requestPer 1,000 requests
Any source1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Facebook Profile API.

More in the API reference.

Are the follower counts exact?
Yes. The follower count is Facebook's exact figure, not the rounded one in the profile's header. On the rare answer where only the rounded count was available, approximate_fields lists it.
Does it return a business's phone number and email?
Yes, when the Page shows them: phone, email, address, website, rating, price range, services and weekly opening hours, as its intro lists them logged out.
How much does the Facebook Profile API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on an account you know.

Paste its handle or link in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs