The Facebook Posts Capture API allows you to extract detailed public information from Facebook profiles, pages, and posts. Its functionality is designed for developers, analysts, and platforms that need to collect social data for monitoring, brand analysis, or market intelligence purposes. The API facilitates automated access to key metrics such as likes, comments, shares, and other activity generated on individual posts.
This data is useful for building influencer analysis systems, audience growth studies, or understanding the impact of certain content on social media. It also allows for research into user trends or behavior in response to specific campaigns.
To use this endpoint, you must specify the URL of a post in the parameter.
With this endpoint, you can obtain information such as reactions, shares, comments, and user information.
Post Details - Endpoint Features
| Object | Description |
|---|---|
link |
[Required] Indicates a URL |
[{"details":{"post_id":"10116700062692291","post_link":"https://www.facebook.com/zuck/posts/pfbid0SFzZFjxgCmoD4RQUq6pYrhJQrGMdMLzVmnvDpXRpbxPjAV6m9A35WAkjHYjXbnXbl","share_count":"13K","play_count":null,"comments_count":"131861"},"reactions":{"total_reaction_count":793520,"Angry":307},"values":{"text":"Enjoy heaven, little guy 💔\"","post_id":"10116700062692291","story_id":"UzpfSTQ6MTAxMTY3MDAwNjI2OTIyOTE6MTAxMTY3MDAwNjI2OTIyOTE=","share_count":"13K","ocr_text":"May be an image of dog","is_media":"Photo","photo_image":"{\"uri\":\"https://scontent-lax3-2.xx.fbcdn.net/v/t39.30808-6/514316362_10116700062572531_1207776296902843228_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=127cfc&_nc_ohc=lzWffSHVrFoQ7kNvwFW-lbC&_nc_oc=AdkTVpgM968sfSnQCVnkadv19u6Zr0wTcSlyu77V2UY4Yh-JDcRh8oqoIpasdCOT5xs&_nc_zt=23&_nc_ht=scontent-lax3-2.xx&_nc_gid=EwgVNCkXWlp2FpXjtfFfQg&oh=00_AfQ5ffkC1GbKbVQ6uXC8CqdRGTQaM0G3f9cS7BYQhTz4eQ&oe=68771352\",\"height\":810,\"width\":1080}","photo_product_tags":null,"publish_time":"2025-06-29T23:34:24Z","shared_post":1,"shared_post_details":{"id":"4","name":"Mark Zuckerberg","profile_url":"https://www.facebook.com/zuck","profile_picture_url":"https://scontent-lax3-2.xx.fbcdn.net/v/t39.30808-1/461204377_10115852257979731_20136418769041878_n.jpg?stp=c180.30.1429.1428a_cp0_dst-jpg_s80x80_tt6&_nc_cat=1&ccb=1-7&_nc_sid=1d2534&_nc_ohc=UEqqFXD-Os0Q7kNvwEpnmhy&_nc_oc=AdkHdhgzDtShMGWZ1l4IJQDAIbhO8deMx0jcLlPGgnIF0K1DI4P0GOdRVHtXeez-h-g&_nc_zt=24&_nc_ht=scontent-lax3-2.xx&_nc_gid=EwgVNCkXWlp2FpXjtfFfQg&oh=00_AfTxu0Z7WLKLvfS6J1-lkTs-b8IvyisYOEk3YUYdWoKV8w&oe=687718B0","profile_picture_dimensions":{"width":80,"height":80,"scale":2},"story_bucket":[{"id":"1461420177232682","first_story_to_show_id":null,"is_seen_by_viewer":null}],"is_additional_profile_plus":false}},"user_details":{"id":"4","name":"Mark Zuckerberg","profile_url":"https://www.facebook.com/zuck","profile_picture_url":"https://scontent-lax3-2.xx.fbcdn.net/v/t39.30808-1/461204377_10115852257979731_20136418769041878_n.jpg?stp=c180.30.1429.1428a_cp0_dst-jpg_s80x80_tt6&_nc_cat=1&ccb=1-7&_nc_sid=1d2534&_nc_ohc=UEqqFXD-Os0Q7kNvwEpnmhy&_nc_oc=AdkHdhgzDtShMGWZ1l4IJQDAIbhO8deMx0jcLlPGgnIF0K1DI4P0GOdRVHtXeez-h-g&_nc_zt=24&_nc_ht=scontent-lax3-2.xx&_nc_gid=EwgVNCkXWlp2FpXjtfFfQg&oh=00_AfTxu0Z7WLKLvfS6J1-lkTs-b8IvyisYOEk3YUYdWoKV8w&oe=687718B0","profile_picture_dimensions":{"width":80,"height":80,"scale":2},"story_bucket":[{"id":"1461420177232682","first_story_to_show_id":null,"is_seen_by_viewer":null}],"is_additional_profile_plus":false},"attachments":[{"__typename":"Photo","photo_image":{"uri":"https://scontent-lax3-2.xx.fbcdn.net/v/t39.30808-6/514316362_10116700062572531_1207776296902843228_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=127cfc&_nc_ohc=lzWffSHVrFoQ7kNvwFW-lbC&_nc_oc=AdkTVpgM968sfSnQCVnkadv19u6Zr0wTcSlyu77V2UY4Yh-JDcRh8oqoIpasdCOT5xs&_nc_zt=23&_nc_ht=scontent-lax3-2.xx&_nc_gid=EwgVNCkXWlp2FpXjtfFfQg&oh=00_AfQ5ffkC1GbKbVQ6uXC8CqdRGTQaM0G3f9cS7BYQhTz4eQ&oe=68771352","height":810,"width":1080},"__isMedia":"Photo","accent_color":"FF68584B","viewer_image":{"height":810,"width":1080},"photo_product_tags":[],"focus":{"x":0.5,"y":0.33},"accessibility_caption":"May be an image of dog","url":"https://www.facebook.com/photo/?fbid=10116700062552571&set=a.612287952871","id":"10116700062552571","__isNode":"Photo","comet_product_tag_feed_overlay_renderer":null,"comet_product_tag_dot_hint_renderer":null,"creation_story":{"target_group":null,"id":"UzpfSTQ6MTAxMTY3MDAwNjI2OTIyOTE6MTAxMTY3MDAwNjI2OTIyOTE="}}],"top_comments":[],"attached_post":null}]
curl --location --request GET 'https://zylalabs.com/api/8560/facebook+posts+capture+api/14998/post+details?link=https://www.facebook.com/photo?fbid=10116700062552571&set=a.612287952871&locale=es_LA' --header 'Authorization: Bearer YOUR_API_KEY'
To use this endpoint, you must specify the URL of a profile in the parameter.
You can obtain information such as the user's name, image, and followers.
Profile Scraper - Endpoint Features
| Object | Description |
|---|---|
link |
[Required] Indicates a profile URL |
[{"ad_page_id":"111895498378878","address":null,"bio":"Bringing the world closer together.","business_hours":null,"business_price":null,"business_services":null,"category":["Profile","Public figure"],"confirmed_owner_label":null,"description":"Mark Zuckerberg. 121,515,862 likes · 908,895 talking about this. Bringing the world closer together.","email":null,"followers_count":120000000,"followers_display":"120M followers","image":"https://scontent-atl3-1.xx.fbcdn.net/v/t39.30808-1/461204377_10115852257979731_20136418769041878_n.jpg?stp=dst-jpg_tt6&cstp=mx1789x1789&ctp=s720x720&_nc_cat=1&ccb=1-7&_nc_sid=3ab345&_nc_ohc=UEqqFXD-Os0Q7kNvwHFEJq_&_nc_oc=AdkGuNKj8ggkbs8oP_k6jD3ukgZroDBnv2gCEbRFN3ZX937U980hZkGUw2NbwpDZ1PA&_nc_zt=24&_nc_ht=scontent-atl3-1.xx&_nc_gid=QLrg-899jqzV2DRbr6gyGA&oh=00_AfSCjP8LAac_sn411wWAAqnJRzDXqkYDrj1wnAzQrbihDQ&oe=687718B0","image_alt":"Mark Zuckerberg","instagram":null,"is_business_page_active":false,"likes_count":121515862,"likes_display":"121M likes","linkedin":null,"maps_address":null,"phone":null,"pinterest":null,"rating":null,"rating_count":null,"rating_overall":null,"status":"public","telegram":null,"title":"Mark Zuckerberg","twitter":null,"user_id":"4","website":null,"youtube":null}]
curl --location --request GET 'https://zylalabs.com/api/8560/facebook+posts+capture+api/15004/profile+scraper?link=https://www.facebook.com/zuck/' --header 'Authorization: Bearer YOUR_API_KEY'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The GET Post Details endpoint returns data on reactions, shares, comments, and user information related to a specific post. The GET Profile Scraper endpoint provides details such as the user's name, profile picture, biography, and follower count.
For the GET Post Details endpoint, key fields include reactions count, comments list, shares count, and user details. For the GET Profile Scraper, key fields include user name, profile image URL, biography, and number of followers.
The response data is structured in JSON format. Each endpoint returns a main object containing relevant fields, such as counts and lists for posts, and user details for profiles, making it easy to parse and utilize in applications.
Each endpoint requires a URL parameter: the GET Post Details endpoint needs the post URL, while the GET Profile Scraper requires the profile URL. These parameters are essential for retrieving the correct data.
Typical use cases include influencer analysis, audience growth studies, and monitoring brand engagement. Analysts can use the data to assess content impact and user behavior in response to marketing campaigns.
Data accuracy is maintained by scraping publicly available information directly from Facebook. The API retrieves real-time data, ensuring that users receive the most current information available from public profiles and posts.
Users can analyze the returned data to identify trends, measure engagement, and inform marketing strategies. For example, by examining post reactions and comments, users can gauge audience sentiment and content effectiveness.
If the API returns partial or empty results, users should check the provided URL for accuracy and ensure the content is public. Implementing error handling in the application can help manage such scenarios gracefully.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
100%
Response Time:
3,307ms
Service Level:
100%
Response Time:
2,389ms
Service Level:
100%
Response Time:
2,443ms
Service Level:
100%
Response Time:
16,077ms
Service Level:
100%
Response Time:
1,604ms
Service Level:
100%
Response Time:
1,831ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
1,935ms
Service Level:
100%
Response Time:
7,933ms
Service Level:
100%
Response Time:
3,230ms
Service Level:
100%
Response Time:
2,807ms
Service Level:
100%
Response Time:
5,411ms
Service Level:
100%
Response Time:
1,347ms
Service Level:
100%
Response Time:
1,185ms
Service Level:
100%
Response Time:
1,900ms
Service Level:
67%
Response Time:
211ms
Service Level:
100%
Response Time:
509ms
Service Level:
100%
Response Time:
2,212ms
Service Level:
100%
Response Time:
1,560ms
Service Level:
100%
Response Time:
3,028ms