Facebook URL to ID — Rich Metadata Extractor avatar

Facebook URL to ID — Rich Metadata Extractor

Pricing

from $10.00 / 1,000 results

Go to Apify Store
Facebook URL to ID — Rich Metadata Extractor

Facebook URL to ID — Rich Metadata Extractor

Convert any Facebook URL (profiles, pages, groups, events, posts, videos, reels) to numeric ID + rich metadata: followers, verified status, category, contact info, website, and more. Supports bulk processing, all URL formats, and automatic entity type detection.

Pricing

from $10.00 / 1,000 results

Rating

0.0

(0)

Developer

Yuliia Kulakova

Yuliia Kulakova

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

Facebook URL to ID

Convert any Facebook URL into its numeric ID — instantly. Pages, groups, profiles, events, posts, videos, reels. Paste a link, get the ID plus a full metadata snapshot: name, followers, likes, verified badge, category, website, and more.


What it does

Facebook's numeric IDs are the foundation of every API call, ad campaign, and analytics integration. This tool resolves any Facebook URL — no matter the format — into the clean numeric ID your workflow needs, along with rich profile data pulled in the same request.

Built for:

  • Developers — get page/profile IDs for Facebook Graph API calls without digging through source code
  • Advertisers & media buyers — identify page IDs for custom audience targeting and ad placement
  • Marketers & analysts — enrich your contact lists with follower counts, categories, and verified status
  • Lead generation — check if a business page is actively running ads with one click
  • Data teams — bulk-convert thousands of Facebook URLs in a single run

Supported URL types

TypeExample
Pagesfacebook.com/nike
Profilesfacebook.com/profile.php?id=4
Groupsfacebook.com/groups/123456789
Eventsfacebook.com/events/987654321
Postsfacebook.com/permalink.php?story_fbid=...
Videos & Reelsfacebook.com/watch/?v=...
Short linksfb.me/..., fb.watch/...
Mobile URLsm.facebook.com/...

Output fields

Every result includes:

FieldDescription
facebookIdNumeric Facebook ID
entityTypeType: page, group, profile, event, post, video
namePage or profile name
usernameVanity username (e.g. nike)
isVerifiedBlue verified badge
likesCountTotal likes
followersCountTotal followers
categoryPage category (e.g. "Sportswear Store")
descriptionPage description or bio
websiteLinked website URL
profilePictureUrlProfile image URL
coverPhotoUrlCover photo URL
hasActiveAdsWhether the page is running ads right now (optional)
statussuccess, partial, or failed

Example output

{
"url": "https://www.facebook.com/nike",
"facebookId": "15087023444",
"entityType": "page",
"status": "success",
"page": {
"name": "Nike",
"username": "nikerunning",
"isVerified": true,
"category": "Sportswear Store",
"likesCount": 39651856,
"description": "Just Do It.",
"profilePictureUrl": "https://lookaside.fbsbx.com/...",
"coverPhotoUrl": "https://lookaside.fbsbx.com/...",
"hasActiveAds": true
}
}

Input options

FieldDescriptionDefault
fbUrlsList of Facebook URLs to process(required)
extractMetadataReturn name, followers, category, photos alongside the IDtrue
checkAdsLibraryCheck if each page is currently running active adsfalse
maxConcurrencyParallel requests for bulk processing (max 50)5

Example input

{
"fbUrls": [
{ "url": "https://www.facebook.com/google" },
{ "url": "https://www.facebook.com/NASA" },
{ "url": "https://www.facebook.com/cocacola" }
],
"extractMetadata": true,
"checkAdsLibrary": true
}

Pricing

$0.01 per result — that's $10 per 1,000 URLs processed.

Fast runs, minimal compute. A batch of 1,000 URLs typically completes in under 5 minutes.


Integrations

Export results as JSON, CSV, or Excel. Plug into your stack via:

  • Apify API
  • Webhooks
  • Make (Integromat), n8n, Zapier

FAQ

Does it work for private profiles and closed groups? The numeric ID is extracted instantly from the URL for events, groups, posts, and any URL containing a numeric ID — no login needed. For public pages, full metadata is returned. Private content returns the ID with a partial status.

Can I process thousands of URLs at once? Yes — paste as many URLs as you need. Use maxConcurrency to control speed.

What is checkAdsLibrary useful for? It tells you whether a Facebook page is actively running paid ads right now. Useful for lead scoring: pages spending on ads are typically active businesses with real budgets.

Do I need a proxy? Not required for most public pages and any URL with a numeric ID. Residential proxy is recommended for high-volume bulk runs.