Get Page or Profile
Endpoints
Get Page or Profile
A Facebook Page or public profile — category, verification, follower and like counts, and the About tile (website, phone, email, address, rating).
GET
Get Page or Profile
Fetch a Facebook Page or public profile by vanity slug or numeric id. Both
endpoints share one
Profile model; the type field distinguishes them.
Both fetch the About tile as a second hop, so
website, phone, email,
address and rating are populated where the entity publishes them.
Credits: 5 (each)
Authorization
string
required
Your ScrapeBadger API key.
Path Parameters
string
required
Vanity slug (the
facebook.com/<slug> segment, e.g. nasa) or the numeric
entity id.Response
Returns a singleProfile object.
string
Numeric entity id.
string
Display name.
string
Canonical facebook.com URL.
string
Vanity slug, when the entity has one.
string
profile or page.boolean
Blue-check verification.
string
Avatar URL.
string
Cover image URL.
string
Page category, e.g.
Government Organization.string
Bio / Page intro.
integer
Follower count.
null when Facebook renders only an abbreviated string or the entity hides it.integer
Page like count.
integer
Friend count (profiles).
boolean
Whether the entity is a business Page.
string
Website from the About tile.
string
Public phone number.
string
Public email address.
string
Public street address.
number
Average rating,
0–5.integer
Number of ratings.
object
Remaining raw About-tile key/values that have no first-class field — hours,
price range, founding date, mission, awards and other Page-type-specific
entries.
Example
Response
Personal profiles expose far less than Pages: most fields on a locked-down
profile come back
null. 404 means the slug or id does not resolve, or the
entity is region-restricted.
