How to check a Facebook page's public profile stats
Fetch a public Facebook page's likes, followers, category and about text by URL or handle, then rank 30 pages on one worksheet
On this page
You have 30 Facebook pages to vet before a partnerships outreach sprint and need each page's likes, followers, category, about text, website and phone in one shortlist. One call to anyapi.facebook.profile per page returns that profile data, and the worksheet below is where the ranking happens
The deliverable is a table with one row per page and the columns named in the contract. Values in the tables here are placeholders showing the shape; nothing has been run for this guide
Worksheet design for the 30 pages
Example rows, invented, with placeholder values, next to the columns the agent fills:
| found | name | category | likes | followers | pageActive | about | website | phone | adLibraryPageId | adStatus | url |
|---|---|---|---|---|---|---|---|---|---|---|---|
| true | Acme Plumbing | Plumber | (number) | (number) | true | (text) | https://acme-plumbing.example | (number) | (id) | (status sentence) | (canonical URL) |
| false | Example Page Two | (empty) | (empty) | (empty) | (empty) | (empty) | (empty) | (empty) | (empty) | (empty) | (empty) |
Sort the worksheet on followers first and pageActive second. A page with pageActive: false stays in the sheet but drops below active pages of similar size, and the adStatus sentence sits beside the row so the outreach writer can see the page's Ad Library position while drafting
Inputs: a page URL or a page handle
At least one of url or handle is required. url is the full Facebook page address, and handle is the page username
Example, which you replace with your own pages: https://www.facebook.com/patagonia
A profile.php URL without an id value names no page. The input schema refuses it as invalid input, with no charge, so a bare https://www.facebook.com/profile.php never becomes a billable lookup. Send the address with the id in place or send the page handle instead
Reading the fields that drive the decision
Start with found. When it is false, reason comes back as not_found and data is null, because the source states the target does not exist or returned nothing for it. That answer is a successful call, not an error, so keep the row and mark it
When a profile is returned, name, category, likes, followers, about and avatarUrl are required in data. website and phone appear only when the page lists them, so a blank cell in those columns is a normal outcome and not a failed lookup
pageActive is the boolean for whether the page is an active business page, and it is the second sort key after followers. adLibraryPageId is the page's Facebook Ad Library id, and it differs from id, which is the numeric Facebook id. adStatus is the Ad Library status sentence for the page, for example whether it is currently running ads. Both are absent when Facebook shows none, so leave those cells empty rather than filling them by hand
createdUtc is a UTC epoch timestamp in seconds, which needs multiplying by 1000 for a JS Date in milliseconds. talkingAboutCount is the number of people talking about the page
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch the public
profile of each Facebook page in the list below. Check the current inputs
and price of anyapi.facebook.profile before running anything. Make one
call per page, using url when you have the full address and handle when
you only have the username. Return one table with the columns found,
name, category, likes, followers, about, website, phone, pageActive,
adLibraryPageId, adStatus and url. Keep rows where found is false, set
their reason to not_found, and leave fields the response omits blank.
Do not guess values.
https://www.facebook.com/patagonia
(paste the other 29 page URLs or handles here)Swap the example address for your own list. Keep the first pass to three pages so you can see which fields the pages in your niche actually publish before you commit to 30 calls
Estimated tool cost
Prices come from the Purrkey catalog, read through it on November 13, 2026, under price revision anyapi-catalog-2026-11-05. The listing is called through POST /v1/runs with toolId anyapi.facebook.profile at up to $0.0036 per call, in the unit max_call, which the catalog defines as "Maximum per call. Successful runs settle at the actual AnyAPI charge." The totals below are ceilings, not settled charges
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Single page check | 1 call x max price | $0.0036 per call | 1 | $0.0036 |
| Outreach shortlist | 30 calls x max price | $0.0036 per call | 30 | $0.108 |
Model fees for the agent are not counted here. Each refused profile.php URL costs nothing, so a list with a few of those lands under the 30-call ceiling
Run the first page
Open Facebook tools on Purrkey and run anyapi.facebook.profile on one page from your list, then compare the returned fields against the worksheet columns before the batch run
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Facebook.FAQ
How do I check a Facebook page's likes and followers?
Send the page URL or handle to anyapi.facebook.profile and read the likes and followers fields in the returned data object. One call covers one page.
What inputs does anyapi.facebook.profile take?
At least one of url or handle is required. url is the full Facebook page address and handle is the page username, and username is accepted as an alias for handle.
What does the found field mean?
found is a boolean. When it is false, reason comes back as not_found and data is null because the source states the target does not exist or returned nothing for it, and that answer is a successful call rather than an error.
Why is a profile.php URL rejected?
A profile.php URL without an id value names no page, so the input schema refuses it as invalid input with no charge. Send the address with the id in place or send the page handle instead.
How much does it cost to check 30 Facebook pages?
At the listed ceiling of $0.0036 per call, 30 calls come to at most $0.108. A single page check is at most $0.0036, and successful runs settle at the actual AnyAPI charge.
How is adLibraryPageId different from id?
id is the numeric Facebook id of the page. adLibraryPageId is the page's Facebook Ad Library id, the pageId that facebook.company_ads takes, and it is absent when Facebook shows none.
What happens when a page lists no website or phone?
website and phone appear only when the page lists them. The fields required in data are name, category, likes, followers, about and avatarUrl.
Next step
Try this with Facebook
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.