LurkAPI
Docs · Public profile

Public profile

A Facebook Page's or public person's name, pictures, verification and follower counts.

1 credit per callFresh within 10 minutesMCP tool: facebook_profile
GEThttps://api.lurkapi.com/v1/facebook/profile

Example responseView as markdown

When to use this

Pass any Facebook profile URL: a Page or a person, by username, profile.php?id= or /people/ link. type says whether it's a Page or a personal profile. Pages and personal profiles in public or professional mode return what logged-out visitors see; fields that don't apply stay null. A private personal profile returns 403 not_public and an unknown username 404 not_found; both are charged 1 credit. Facebook shows logged-out visitors the same page for a private profile and a deleted or unused profile.php id, so those return not_public too. This endpoint returns metadata, not a feed.

Parameters

All parameters go in the query string.

ParameterDescription
url
stringrequired
A Facebook Page or personal profile URL: a username (https://www.facebook.com/NASA), profile.php?id=, /people/<name>/<id> or /pages/<name>/<id>. Groups, share links and other paths are rejected.
Example
https://www.facebook.com/NASA

Example request

Replace YOUR_API_KEY with your key, or set LURKAPI_KEY for the code. Get a free key.

Language

Example response

A real response from this endpoint, captured from the live API and trimmed to a couple of items. Strings over 96 characters (mostly signed media URLs) are cut short and end in ….

Show the example response (1 KB)
{
  "success": true,
  "credits_remaining": 999999,
  "credits_charged": 1,
  "id": "100044561550831",
  "type": "page",
  "page_id": "54971236771",
  "url": "https://www.facebook.com/NASA",
  "name": "NASA - National Aeronautics and Space Administration",
  "description": "NASA - National Aeronautics and Space Administration. 28,727,665 followe…",
  "is_verified": true,
  "followers_count": 28727665,
  "followers_text": "28M followers",
  "following_count": 52,
  "talking_about_count": 101631,
  "profile_picture_url": "https://scontent-iad3-1.xx.fbcdn.net/v/t39.30808-1/243095782_41666103649…",
  "cover_photo_url": "https://scontent-iad3-1.xx.fbcdn.net/v/t39.99422-6/809146614_44840139285…"
}

Response fields

Every field of a successful response. [] marks a list: a[].b is the b of each item in a. nullable fields can be null; optional fields can be missing.

Show all 16 fields
FieldTypeDescription
successtrueAlways true here; errors have success: false.
credits_remainingnumberYour balance after this call. On anonymous playground calls: free tries left today.
credits_chargednumberCredits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1).
idstringFacebook's profile id. New-style Pages and professional-mode personal profiles also have a separate page_id.
typestringnullablepage for a business Page, personal for a person's profile (including professional mode); null if Facebook doesn't say.
page_idstringnullableThe delegate Page id, useful for Ad Library company ads. Pages always have one; personal profiles only in professional mode, otherwise null.
urlstringThe canonical public Facebook profile URL.
namestringThe Page or person's display name.
descriptionstringnullableThe exact public description, which can include the Page name, follower counts and biography.
is_verifiedbooleannullableWhether the public header shows Facebook's verification badge; null if omitted.
followers_countnumbernullableExact follower count from public page metadata; rounded display counts are not converted into exact counts; null when Facebook does not disclose it to public visitors.
followers_textstringnullableThe follower count label shown in the header, which is often rounded (for example 28M followers).
following_countnumbernullableExact following count, when the public header shows an unrounded number; null when Facebook does not disclose it to public visitors.
talking_about_countnumbernullableThe talking-about count reported in Facebook's public page metadata. Pages and professional-mode profiles only; null for other personal profiles; null when Facebook does not disclose it to public visitors.
profile_picture_urlstringnullableThe public profile-picture CDN URL. CDN links expire.
cover_photo_urlstringnullableThe public cover-photo CDN URL; null when there is none. CDN links expire.

Caching and freshness

Responses are cached for up to 10 minutes, so a repeat call within that window can return the same data. It still costs 1 credit.

Errors

Errors return { success: false, error, code, docs } with the HTTP status below. Validation errors, 401/402/429 rejections and 5xx failures are free; not_found is charged (how charging works). All error codes.

StatusCodeMeaning
401missing_api_keyNo API key. Send it in the x-api-key header.
401invalid_api_keyThe key is unknown or was revoked.
402insufficient_creditsNot enough credits for this call. Buy a pack or wait for tomorrow's top-up.
403not_publicThe platform confirmed this account or content isn't available to logged-out visitors. Use a publicly visible target. Charged when the platform was checked.
404not_foundThe endpoint, or the thing you asked for (ad, post, subreddit), doesn't exist. Charged when the platform was checked.
405method_not_allowedEndpoints take GET with query params.
429rate_limitedToo many calls at once. Wait for the retry-after seconds, then retry.
500internal_errorSomething broke on our side. Retry; 5xx errors are free.
502upstream_errorThe platform didn't give a usable answer. Retry; 5xx errors are free.
503upstream_busyAll our connections to the platform are busy. Retry in a few seconds; 5xx errors are free.
504upstream_timeoutThe platform took over 30 seconds to answer. Retry; timeouts are free.

Use it in Claude

Once LurkAPI is connected to Claude, this endpoint is the facebook_profile tool. Ask in plain English, for example:

Ask Claude
Use LurkAPI's facebook_profile with url "https://www.facebook.com/NASA" and summarize what you find.

Claude calls facebook_profile with arguments like these, and each call costs 1 credit:

Tool arguments
{
  "url": "https://www.facebook.com/NASA"
}

Tool results skip nulls and empty lists to save tokens.