Facebook URL to ID — Bulk Page, Profile & Group ID Finder
Pricing
from $6.00 / 1,000 results
Facebook URL to ID — Bulk Page, Profile & Group ID Finder
Convert Facebook page, profile, group, post and video URLs to their numeric IDs in bulk, with name, type and canonical URL.
Pricing
from $6.00 / 1,000 results
Rating
0.0
(0)
Developer
Maged
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
13 days ago
Last modified
Categories
Share
Convert Facebook URLs to numeric IDs in bulk. Paste page, profile, group, post or video links and get the Facebook ID, type, name, username and canonical URL for each one — thousands per run.
What does Facebook URL to ID do?
Facebook URL to ID resolves Facebook links and usernames to their permanent numeric identifiers. For every input it returns the ID, the type (page, profile or group), the name, the username, the canonical URL, and for pages also the legacy page ID that older tools and ad platforms use. For post, video, photo and event links it also returns the content ID alongside the ID of the page, profile or group it belongs to.
Running on Apify gives you an API, scheduling and integrations with Google Sheets, Zapier, Make and webhooks, so you can resolve IDs inside your existing workflows.
Why use Facebook URL to ID?
- Ads and audiences — many ad, analytics and social-listening tools ask for page or group IDs, not URLs.
- Data pipelines — usernames change, numeric IDs don't. Store IDs as stable keys.
- Deduplication — different URLs (vanity name,
profile.php?id=, mobile links) map to the same ID. - API work — the Graph API and many integrations require numeric IDs.
- Research — resolve large lists of pages and groups in minutes instead of inspecting page source by hand.
How to find Facebook IDs in bulk
- Click Try for free.
- Paste URLs or usernames into Facebook URLs, one per line.
- Click Start.
- Download the IDs as CSV, Excel or JSON, or fetch them through the API.
Input
| Field | Description |
|---|---|
urls | Page, profile, group, post or video URLs, usernames or numeric IDs. Up to 5,000 per run. |
proxyConfiguration | Proxy settings; the default works well. |
Output
One row per input. You can download the dataset in various formats such as JSON, HTML, CSV, or Excel.
[{ "input": "https://www.facebook.com/NASA", "status": "ok", "type": "page", "id": "100044561550831","legacyPageId": "54971236771", "name": "NASA - National Aeronautics and Space Administration","username": "NASA", "canonicalUrl": "https://www.facebook.com/NASA/" },{ "input": "https://www.facebook.com/groups/python", "status": "ok", "type": "group", "id": "270834543757117", "name": "Python" },{ "input": "zuck", "status": "ok", "type": "profile", "id": "4", "name": "Mark Zuckerberg", "username": "zuck" },{ "input": "https://www.facebook.com/NASA/videos/1095816435362573", "status": "ok", "type": "page","id": "100044561550831", "contentType": "video", "contentId": "1095816435362573" }]
Data fields
| Field | Meaning |
|---|---|
id | Numeric ID of the page, profile or group |
type | page, profile or group |
legacyPageId | Classic page ID (pages only) |
name, username, canonicalUrl | Identity |
contentType, contentId | For post/video/photo/event links |
status, error | ok, not_found or error |
How many results will I get?
Exactly one row per unique input, so your output lines up with your list.
Tips
- Mixed input is fine: vanity URLs,
profile.php?id=links, mobile links and bare usernames. - Private profiles and closed groups still resolve when Facebook shows their public header.
FAQ
Which ID should I use for ads tools? Most modern tools accept id. Some legacy tools expect legacyPageId for pages.
Is it legal? It reads only public identifiers. Use them in line with Facebook's terms.
Need something else? Open an issue in the Issues tab.