Enrich local businesses
Add phone, website, address and category to a list of business pages.
Facebook data API · Pages
Turn a Facebook page URL or vanity handle into clean JSON: name, category, followers, likes, review count and recommend percentage, phone, website, address and whether the page is running ads. Up to ten pages per call.
Updated 21 October 2026
Add phone, website, address and category to a list of business pages.
See whether a business is running ads right now before you pitch marketing services.
Measure followers, likes and reviews of rival pages over time, each row dated.
curl -X POST https://apiforagents.dev/v1/facebook \
-H "Authorization: Bearer $AFA_KEY" \
-H "Content-Type: application/json" \
-d '{"op":"pages","subjects":["nike","natgeo"],"estimateOnly":true}'curl -X POST https://apiforagents.dev/v1/facebook \
-H "Authorization: Bearer $AFA_KEY" \
-H "Content-Type: application/json" \
-d '{"op":"pages","subjects":["nike","natgeo"]}'Everything you can send in one pages call. Required inputs first.
| Input | Type | What it does |
|---|---|---|
| subjects * | text list | Page URLs or vanity handles. 1-10 items |
The fields of every row, always present. Nothing is guessed: a value that could not be measured is null, and the answer's coverage says why.
| Field | Type |
|---|---|
| pageKey | string |
| pageId | string |
| pageUrl | string |
| pageName | string |
| username | string |
| category | string |
| intro | string |
| followers | integer |
| likes | integer |
| following | integer |
| talkingAbout | integer |
| wereHere | integer |
| reviewCount | integer |
| recommendPercent | number |
| phone | string |
| string | |
| website | string |
| otherWebsites | list of string |
| address | string |
| addressMapUrl | string |
| businessHours | any |
| priceRange | string |
| services | string |
| profilePictureUrl | string |
| coverPhotoUrl | string |
| pageCreated | string |
| confirmedOwner | string |
| runningAds | boolean |
| adLibraryId | string |
| socialLinks | any |
| personalProfile | boolean |
| profilePhotoLink | string |
| details | object |
details is always the last field: everything else the source sent for that row, under our own field names. Its keys depend on the source that answered, so read them defensively; it is {} when there is nothing more.
Made-up names and values in the real field names, so you can see the shape before you spend anything.
| pageName | username | category | followers | likes | recommendPercent |
|---|---|---|---|---|---|
| Brewlab Coffee | brewlabcoffee | Coffee shop | 21400 | 19800 | 96 |
| Northfold | northfoldhq | Software company | 8400 | 7900 | |
| Casa Lumen Tacos | casalumentacos | Mexican restaurant | 41200 | 39100 | 94 |
Pay as you go, in US dollars, per record. No subscription, nothing expires, $5 first top-up, and every new agent starts with $0.10 free.
| Request | Records | At the list price |
|---|---|---|
| One page | 1 | $0.009 |
| 10 pages | 10 | $0.09 |
These are per-record list prices. Some calls also carry a minimum, such as a page of search results, so a small request can cost more than the table shows. The quote ("estimateOnly": true) is free, gives the most your exact request can cost, and the charge then settles to what came back. Records that do not come back are refunded.
One row per page: page name, username, category, followers, likes, recommend percentage, review count, phone, website, address, whether it is running ads, page id and URL, map link, profile and cover photo URLs, creation date and Ad Library id.
Up to ten page URLs or vanity handles (like nike) in subjects.
$0.009 per page at the list price. A small call can carry a minimum, so quote first with "estimateOnly": true, which is free and is the most the call can cost. You pay for what comes back.
Yes. An agent registers itself with one POST request, gets $0.10 free and can run calls straight away. The recipe is at https://apiforagents.dev/auth.md.
The playground runs any endpoint by hand: pick a platform and what you want from it, fill a short form named in plain words (or press Use sample input), see the free quote on the Run button, run it, then read the answer as a table or JSON and download it as CSV or JSON. The same call is written out as cURL, Python and Node while you type.
Why people pick API for Agents
API for Agents is independent and not affiliated with or endorsed by LinkedIn or any company named here. LinkedIn is a trademark of LinkedIn Corporation; other names belong to their owners. Public data only: nothing behind a login.