The Retrieve Facebook Posts API allows you to retrieve complete and structured information from any public Facebook post using only its URL or post ID. This powerful tool is ideal for social media analysts, dashboard developers, trend researchers, and monitoring platforms that need quick access to key metrics and visual content from posts without relying on account access or complex tokens.
By entering a valid URL, the API returns data such as the post text, total number of reactions (broken down by type such as Love, Wow, Care, Haha, etc.), comment count, number of shares, and details of the associated media (image, video, link). It also provides information about the profile that posted the content, including name, ID, profile URL, profile image, and verification details.
In addition to basic data, this API captures whether the post is original or shared, provides details of the original post if applicable, and includes OCR of visual content if detected, thus offering an additional layer of context. For posts with images, the API provides the direct URL, image dimensions, and accessibility data (such as descriptions or captions).
Be
To use this endpoint, you must specify the URL of a post in the parameter.
Post Details - Endpoint Features
| Object | Description |
|---|---|
link |
[Required] Indicates a URL |
[{"details":{"post_id":"10116700062692291","post_link":"https://www.facebook.com/zuck/posts/pfbid02VwHG9GcmEWgttDr9BfHuhHH2f2mh98pP6B957SqCEjpLpKFzw1VtXFd4uTwPmKW5l","share_count":"14K","play_count":null,"comments_count":"132482"},"reactions":{"total_reaction_count":795456,"Angry":309},"values":{"text":"Enjoy heaven, little guy 💔\"","post_id":"10116700062692291","story_id":"UzpfSTQ6MTAxMTY3MDAwNjI2OTIyOTE6MTAxMTY3MDAwNjI2OTIyOTE=","share_count":"14K","ocr_text":"May be an image of dog","is_media":"Photo","photo_image":"{\"uri\":\"https://scontent-lga3-2.xx.fbcdn.net/v/t39.30808-6/514316362_10116700062572531_1207776296902843228_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=127cfc&_nc_ohc=GVFu66fvdOUQ7kNvwE4a-aj&_nc_oc=Adlle5Y-xNQslMtY-Q0YZo8y-_jNempQstH3CSMsL3VBctM9TBDDp6rzYku_LZWf0y0&_nc_zt=23&_nc_ht=scontent-lga3-2.xx&_nc_gid=hsJMX6L6-a45EFKd5DfIGg&oh=00_AfQUG1v_sUvYjb-S1yB98UuS-ieW0onYfFb2z1lDAseUwg&oe=687B4012\",\"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-lga3-3.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=Ckt5V_1ZIoEQ7kNvwGd27G-&_nc_oc=Adn-WzBoSoGeE4kB5DuOceOiZZ3eUVNV6wAF8XrYMtcfX1EU34w5Ut2yQtdKVmLepOw&_nc_zt=24&_nc_ht=scontent-lga3-3.xx&_nc_gid=hsJMX6L6-a45EFKd5DfIGg&oh=00_AfSzSyKSl4RpNzH12nYyfqv5klw1nVN83DtM3Nyu5M1a2g&oe=687B4570","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-lga3-3.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=Ckt5V_1ZIoEQ7kNvwGd27G-&_nc_oc=Adn-WzBoSoGeE4kB5DuOceOiZZ3eUVNV6wAF8XrYMtcfX1EU34w5Ut2yQtdKVmLepOw&_nc_zt=24&_nc_ht=scontent-lga3-3.xx&_nc_gid=hsJMX6L6-a45EFKd5DfIGg&oh=00_AfSzSyKSl4RpNzH12nYyfqv5klw1nVN83DtM3Nyu5M1a2g&oe=687B4570","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-lga3-2.xx.fbcdn.net/v/t39.30808-6/514316362_10116700062572531_1207776296902843228_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=127cfc&_nc_ohc=GVFu66fvdOUQ7kNvwE4a-aj&_nc_oc=Adlle5Y-xNQslMtY-Q0YZo8y-_jNempQstH3CSMsL3VBctM9TBDDp6rzYku_LZWf0y0&_nc_zt=23&_nc_ht=scontent-lga3-2.xx&_nc_gid=hsJMX6L6-a45EFKd5DfIGg&oh=00_AfQUG1v_sUvYjb-S1yB98UuS-ieW0onYfFb2z1lDAseUwg&oe=687B4012","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/8576/retrieve+facebook+posts+api/15022/post+details?link=https://www.facebook.com/photo/?fbid=10116700062552571&set=pb.4.-2207520000&locale=es_LA' --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 API returns detailed information from a Facebook post, including post text, total reactions (by type), comment count, share count, media details (images, videos, links), and profile information of the poster.
Key fields in the response include post text, reactions (Love, Wow, Care, Haha, etc.), comment count, share count, media URLs, profile name, profile ID, and verification status.
The response data is structured in JSON format, with nested objects for reactions, media, and profile details, allowing easy access to specific information about the post and its engagement metrics.
The endpoint provides information on post content, engagement metrics (reactions, comments, shares), media details (URLs, dimensions), and profile information, including verification status and original post details if applicable.
Users can customize requests by specifying the post URL or ID in the endpoint parameter, allowing for targeted data retrieval from specific posts without needing additional filters.
Typical use cases include social media analysis, trend research, content monitoring, and dashboard development, where users need quick access to engagement metrics and visual content from Facebook posts.
Data accuracy is maintained by directly extracting information from public Facebook posts, ensuring that the data reflects the current state of the post as displayed on the platform.
Users can expect consistent data patterns, such as structured engagement metrics (total reactions, comments, shares) and media details, which facilitate comparative analysis across different posts.
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:
2,443ms
Service Level:
100%
Response Time:
4,782ms
Service Level:
100%
Response Time:
2,892ms
Service Level:
100%
Response Time:
5,087ms
Service Level:
100%
Response Time:
19ms
Service Level:
100%
Response Time:
1,935ms
Service Level:
100%
Response Time:
1,831ms
Service Level:
100%
Response Time:
3,230ms
Service Level:
100%
Response Time:
18ms
Service Level:
100%
Response Time:
2,618ms
Service Level:
100%
Response Time:
1,094ms
Service Level:
100%
Response Time:
138ms
Service Level:
100%
Response Time:
543ms
Service Level:
100%
Response Time:
172ms
Service Level:
100%
Response Time:
1,389ms
Service Level:
100%
Response Time:
122ms
Service Level:
100%
Response Time:
2,667ms
Service Level:
100%
Response Time:
490ms
Service Level:
100%
Response Time:
1,245ms
Service Level:
100%
Response Time:
19ms