Facebook API

Facebook Profile API

Public page or profile by URL or handle: name, category, about, likes/follower counts and avatar.

POST/v1/run/facebook.profile
Uptime
88.00%
30d · 50 calls
Requests
56
30d · weekly, last 12 wks
Response
3.5s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "found": true,
  "data": {
    "handle": "nasa",
    "url": "https://www.facebook.com/nasa",
    "name": "NASA",
    "category": "Aerospace Company",
    "about": "Explore the universe and discover our home planet.",
    "verified": true,
    "likes": 24100000,
    "followers": 24600000,
    "avatarUrl": "https://facebook.com/nasa/avatar.jpg"
  }
}
Response interface
interface FacebookProfileResponse {
  data: {
    about: string;
    avatarUrl: string;
    category: string;
    followers: number;
    likes: number;
    name: string;
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/facebook.profile
curl -X POST https://api.getanyapi.com/v1/run/facebook.profile \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.facebook.com/nasa"}'
FieldTypeExample value
Request body
handlestringFacebook page handle/username.
urlstring"https://www.facebook.com/nasa"Full Facebook page URL.
Response
foundbooleantrue
dataobject
data.handlestring"nasa"
data.urlstring"https://www.facebook.com/nasa"
data.namestring"NASA"
data.categorystring"Aerospace Company"
data.aboutstring"Explore the universe and discover our home planet."
data.verifiedbooleantrue
data.likesnumber24100000
data.followersnumber24600000
data.avatarUrlstring"https://facebook.com/nasa/avatar.jpg"
Price
Price per requestUSD$0.0012
Price /1k reqUSD$1.20

FAQ

About the Facebook Profile API

The AnyAPI Facebook Profile API returns Facebook profile data as normalized JSON from one POST call to /v1/run/facebook.profile. Public page or profile by URL or handle: name, category, about, likes/follower counts and avatar. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 88.0% of Facebook profile calls through AnyAPI succeeded, with a median response time of 3.5 seconds across 50 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Public page or profile by URL or handle: name, category, about, likes/follower counts and avatar. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 88.0% of Facebook profile calls through AnyAPI succeeded, with a median response time of 3.5 seconds across 50 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.