All platforms

Facebook API

12 endpoints for public Facebook data, from 5 credits a call. Same response format and field names as every other platform.

curl "https://scrapeio.com/v1/facebook/profile?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/profile5 credits

Facebook profile or Page: name, avatar, followers, category.

ParameterTypeDescription
urlrequiredstringFacebook profile or Page URL, profile.php?id= URL, numeric id, or Page name.
curl "https://scrapeio.com/v1/facebook/profile?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/profile/posts5 credits

Posts from a profile or Page with reactions, comments and shares.

ParameterTypeDescription
urlrequiredstringFacebook profile or Page URL, profile.php?id= URL, numeric id, or Page name.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/facebook/profile/posts?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/profile/reels5 credits

Videos and reels from a profile or Page with view counts.

ParameterTypeDescription
urlrequiredstringFacebook profile or Page URL, profile.php?id= URL, numeric id, or Page name.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/facebook/profile/reels?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/post5 credits

One Facebook post, video or reel by URL: views, reactions, comments, shares, video URL.

ParameterTypeDescription
urlrequiredstringFacebook post, video or reel URL.
curl "https://scrapeio.com/v1/facebook/post?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/post/comments5 credits

Top-level comments on a Facebook post or video.

ParameterTypeDescription
urlrequiredstringFacebook post or video URL.
cursorstringCursor from the previous page's data.cursor.
curl "https://scrapeio.com/v1/facebook/post/comments?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/group5 credits

Facebook Group Info

ParameterTypeDescription
urlstringThe Facebook group URL.
group_idstringThe numeric Facebook group ID.
curl "https://scrapeio.com/v1/facebook/group" \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/group/posts5 credits

Facebook Group Posts

ParameterTypeDescription
urlstringThe URL of the group
group_idstringThe ID of the group
sort_byTOP_POSTS, RECENT_ACTIVITY, CHRONOLOGICAL, CHRONOLOGICAL_LISTINGSHow to sort the posts.
cursorstringThe cursor to paginate to the next page
curl "https://scrapeio.com/v1/facebook/group/posts" \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/post/comment/replies5 credits

Comment Replies

ParameterTypeDescription
feedback_idrequiredstringThe feedbackid of the comment.
expansion_tokenrequiredstringThe expansiontoken of the comment.
cursorstringThe cursor to paginate to the next page
curl "https://scrapeio.com/v1/facebook/post/comment/replies?feedback_id=...&expansion_token=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/post/transcript5 credits

Transcript

ParameterTypeDescription
urlrequiredstringFacebook post URL
cache_max_age1d, 3d, 7d, 14d, 30dIf we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "ca
curl "https://scrapeio.com/v1/facebook/post/transcript?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/profile/events5 credits

Profile Events

ParameterTypeDescription
urlrequiredstringThe URL of the public Facebook page
cursorstringThe cursor to paginate to get more events
curl "https://scrapeio.com/v1/facebook/profile/events?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/profile/photos5 credits

Profile Photos

ParameterTypeDescription
urlrequiredstringFacebook page URL
next_page_idstringTo paginate through to the next page
cursorstringTo paginate through to the next page
curl "https://scrapeio.com/v1/facebook/profile/photos?url=..." \
  -H "x-api-key: YOUR_KEY"
GET/v1/facebook/search/videos5 credits

Search Videos

ParameterTypeDescription
queryrequiredstringThe keyword or phrase to search for
cursorstringThe opaque cursor returned by the previous response.
curl "https://scrapeio.com/v1/facebook/search/videos?query=coffee" \
  -H "x-api-key: YOUR_KEY"

Other platforms