Facebook data API

Facebook Page & Profile API

Send a Facebook profile link, page link, username or numeric id and get structured profile data as JSON: display name, verified flag, category, public details, follower and following counts, avatar and cover photo.

Request

GET /v1/facebook/profiles · 1 credit per successful call

cURL
curl "https://api.igramapi.com/v1/facebook/profiles?url=https%3A%2F%2Fwww.facebook.com%2Fexamplestudio" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

200 OK · application/json
{
  "id": "100012345678901",
  "username": "examplestudio",
  "name": "Example Studio",
  "url": "https://www.facebook.com/examplestudio",
  "is_verified": true,
  "category": "Creative studio",
  "bio": null,
  "details": [
    "Creative studio"
  ],
  "followers": 2800000,
  "followers_str": "2.8M",
  "following": 48,
  "following_str": "48",
  "avatar_url": "https://scontent.xx.fbcdn.net/v/example/avatar.jpg",
  "cover_url": "https://scontent.xx.fbcdn.net/v/example/cover.jpg",
  "is_live": false,
  "cached": false
}

All values above are made-up examples. Media links are temporary Facebook CDN addresses.

Parameters

NameInDescription
urlrequired query A profile or page URL (facebook.com/{name}), profile.php?id=..., username, or numeric id.

Response fields

FieldTypeDescription
id / username / namestring / string | nullNumeric Facebook id, vanity username, and display name.
url / is_verified / is_livestring | null / booleanCanonical URL, verification badge flag, and live broadcast flag.
category / bio / details[]string | null / string[]Page category, bio text, and public About entries.
followers / followers_strinteger | null / string | nullParsed follower count and formatted text.
following / following_strinteger | null / string | nullParsed following count and formatted text.
avatar_url / cover_urlstring | nullProfile picture and cover photo URLs (temporary CDN links).
cachedbooleanTrue when served from cache.

URL, username or numeric id

Pass a full page URL, a profile.php?id= link, a handle like @examplestudio, or a bare numeric id.

Followers and category

Returns both formatted counts (followers_str) and parsed integers (followers), plus the page category and About details.

Avatar and cover photo

Includes avatar_url and cover_url alongside verification status and is_live.

1 credit per call

Available on every plan, including the 100 free monthly credits.

What the Facebook profile endpoint returns

The endpoint resolves the page or profile and returns its public identity fields: id, username, name, is_verified, category, details[], followers, following, avatar_url, cover_url and is_live.

When Facebook displays compact counts like 2.8M followers, both followers_str ("2.8M") and the approximate integer followers (2800000) are returned.

Frequently asked questions

Does it work for both Pages and personal profiles?

Yes, as long as the page or profile is public. Private or missing profiles return HTTP 404 with profile_not_found.

Can I pass a username instead of a URL?

Yes. examplestudio, @examplestudio, https://www.facebook.com/examplestudio, and numeric IDs all work.

Our errors cost nothing. Failures on our side (status 500 or above) and invalid requests (400, 422) are refunded, and every error has the same shape. See error handling and credits and rate limits.

Try the Facebook Profile API free

Create a key and make your first request in minutes. 100 free credits every month.