Facebook Search People Scraper API
Searches public Facebook people by keyword and returns unified Author items: profile id, display name, permalink, avatar, and verified flag. The id is often a pfbid token rather than a numeric user id. Follower counts are not on this search card. About 7 people a page.
GET /api/v1/data/facebook/search-people · 1 credit per page · The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Inputs
query(required): Name or phrase to search for.cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.location_uid: Facebook location id to scope the search to a city.
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.items[].author.avatar_url(string): URL to profile pictureitems[].author.display_name(string): Display name or full nameitems[].author.ext.business_hours(array)items[].author.ext.products(array): Null when it lists none.items[].author.id(string): Platform-specific user ID (always a string; platform-specific prefixes like `did:`, `spotify:artist:`, `t2_` are stripped)items[].author.url(string): Direct URL to the profile pageitems[].author.verified(boolean): Whether the account is verifiednext_cursor(string): Send it as cursor to get the next page; null when there is none.has_more(boolean): Whether there is another page.source_data(object): Everything the platform sent for this call, as it came.
Good to know
- Each page costs 1 credit. A call that finds nothing, or fails, is free.
- Each call returns one page of about 7 rows. To get the next page, send next_cursor from the answer as cursor.
- The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Example call
GET /api/v1/data/facebook/search-people?query=NASA
Questions
How much does the Facebook Search People API cost?
Each page costs 1 credit. A call that finds nothing, or fails, costs nothing.
What do I send?
You must send query. 1 more input is optional: location_uid. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How do I get the next page?
Each call returns one page of about 7 rows. The answer carries next_cursor: send it back as cursor to get the page after. Each page is charged on its own, and an empty page is free.
How fresh is the data?
The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Do I need a Facebook account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.
Related Facebook endpoints
- Search Groups: Search Facebook groups by keyword. 1 credit a page
- Search Hashtag: Search Facebook posts and videos carrying a hashtag. 1 credit a page
- Search Mentions: Search Facebook posts that mention a page. 1 credit a page
- Search Pages: Search Facebook pages by keyword. 1 credit a page
- Search Videos: Search Facebook videos by keyword. 1 credit a page
More Facebook scraper APIs
- Facebook Ad Library Ad Scraper API
- Facebook Ad Library Ad Transcript Scraper API
- Facebook Ad Library Advertiser Scraper API
- Facebook Ad Library Company Ads Scraper API
- Facebook Ad Library Search Ads Scraper API
- Facebook Ad Library Search Companies Scraper API
- Facebook Event Details Scraper API
- Facebook Events Scraper API
- Facebook Events Search Scraper API
- Facebook Group Scraper API
- Facebook Group Events Scraper API
- Facebook Group Posts Scraper API
- Facebook Marketplace Item Scraper API
- Facebook Marketplace Location Search Scraper API
- Facebook Marketplace Search Scraper API
- Facebook Post Scraper API
- Facebook Post Comment Replies Scraper API
- Facebook Post Transcript Scraper API
- Facebook Profile Scraper API
- Facebook Profile Events Scraper API
- Facebook Profile Full Scraper API
- Facebook Profile Photos Scraper API
- Facebook Profile Posts Scraper API
- Facebook Profile Reels Scraper API
- Facebook Profile Reels Full Scraper API
- Facebook Search Groups Scraper API
- Facebook Search Hashtag Scraper API
- Facebook Search Mentions Scraper API
- Facebook Search Pages Scraper API
- Facebook Search Videos Scraper API