Facebook Post Analytics API

API ID 7438

Retrieve detailed Facebook post data including images, author, date, comments, likes, and links for efficient and seamless integration into your application.

18 ms avg response

API Documentation

Endpoints

Request

To use this endpoint, you must specify the ID of a post in the parameter.

 

Note: The ID of a post is the numbers found in the URL https://www.facebook.com/photo/?fbid=10116513907568651

Endpoint ID: 11861
GET https://tracker.zylalabs.com/api/7438/facebook+post+analytics+api/11861/post+information
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

API EXAMPLE RESPONSE
JSON
{"id":"10116513907568651","created_time":"2025-04-27T18:58:08+0000","from":{"name":"Mark Zuckerberg","id":"4"},"height":1906,"icon":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yz\/r\/StEh3RhPvjk.gif","images":[{"height":1906,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfMVSqhxz62ghP_C9opScuisCE8Lafb2_hGt5slljuw6fA&oe=6857D82C","width":1387},{"height":1319,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p960x960_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfMB7KjgdTBWVnWVhTp5ous66OVplyeY_zNWh8NsOogHQg&oe=6857D82C","width":960},{"height":989,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p720x720_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfMu78rbsvD6kL2RHDn34x2GdJbHpclz6tGoIt3pcITnpA&oe=6857D82C","width":720},{"height":825,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p600x600_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfNpFiUeCS9pkowIzNQ5mSVH4NkE8aqqXLyhDmiF5RGX7w&oe=6857D82C","width":600},{"height":660,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p480x480_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfPF7NaQILkdZA4QsvAhk0CijpzOtNxPxOVNXqamEZhXAg&oe=6857D82C","width":480},{"height":440,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p320x320_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfPz7XwI6EKLsd0HSvqJA-AURC1_Vv0IZjWELFL-31Eong&oe=6857D82C","width":320},{"height":540,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p180x540_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfOLeIwisjG0GUSwM4J9mL_cASofQetg6A892rqisaawnA&oe=6857D82C","width":393},{"height":179,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p130x130_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfMYKAJWCyPzC1KuMRQv74CETvsRStKtaGosHM_i5_RX4Q&oe=6857D82C","width":130},{"height":225,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p75x225_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfOGl3Fx_sM6PsVaNHbnYRXw4Tg2vUmgsssivzUJrvrgag&oe=6857D82C","width":164}],"link":"https:\/\/www.facebook.com\/photo.php?fbid=10116513907568651&set=a.529237706231&type=3","name":"Annual 5k run with Guerrilla fight crew. Finished a bit above 20 mins. Proud of the team! \ud83d\udcaa","picture":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_s130x130_tt6&_nc_cat=103&ccb=1-7&_nc_sid=face19&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfOhP6uq-pFzD3RG_AyXqhd4KvxtghXBMn0DvEsMkKv7RA&oe=6857D82C","source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?_nc_cat=103&ccb=1-7&_nc_sid=face19&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfMVSqhxz62ghP_C9opScuisCE8Lafb2_hGt5slljuw6fA&oe=6857D82C","updated_time":"2025-04-27T19:24:48+0000","width":1387,"comments":{"data":[{"created_time":"2025-04-27T20:12:30+0000","from":{"name":"Rahat360","category":"Digital creator","category_list":[{"id":"2347428775505624","name":"Digital creator"}],"id":"338612825999389"},"message":"Fitness goal: Be able to run 5K with a Guerrilla crew and still have enough breath to brag about it. \ud83e\udd23","can_remove":false,"like_count":154,"user_likes":false,"id":"10116513907628531_9521488127947102"},{"created_time":"2025-04-27T19:34:59+0000","from":{"name":"Zahid Ullah Safi","id":"100000574452390"},"message":"For the moment I thought you were in red..","can_remove":false,"like_count":116,"user_likes":false,"id":"10116513907628531_2312277005834087"},{"created_time":"2025-04-28T04:49:05+0000","from":{"name":"Damian Yeo","id":"604595478"},"message":"Sweet timing and also Vaporflys! \ud83d\udcaa","can_remove":false,"like_count":42,"user_likes":false,"id":"10116513907628531_1635900717275329"},{"created_time":"2025-04-27T19:06:40+0000","from":{"name":"Nick Nizinski","id":"1109294722"},"message":"Mark you and I both have been skipping leg day and I\u2019m calling both of us out on it","can_remove":false,"like_count":145,"user_likes":false,"id":"10116513907628531_1247232646813558"},{"created_time":"2025-04-27T19:20:25+0000","from":{"name":"Lance Joseph Richardson Senior","id":"505334667"},"message":"Mark got the Guy Fieri\u2019s on","can_remove":false,"like_count":681,"user_likes":false,"id":"10116513907628531_1201242627806956"},{"created_time":"2025-04-28T03:47:25+0000","from":{"name":"Janelle Gale","id":"1051448323"},"message":"And 1 year post ACL replacement. impressive! #goals","can_remove":false,"like_count":36,"message_tags":[{"id":"255233164612797","length":6,"name":"#goals","offset":45}],"user_likes":false,"id":"10116513907628531_1031080598479734"},{"created_time":"2025-04-28T03:29:28+0000","from":{"name":"Mike Sego","id":"207440"},"message":"This was so fun! I\u2019m also now convinced that MMA skills are much more transferable to running than running skills are transferable to MMA \ud83d\ude1d","can_remove":false,"like_count":116,"user_likes":false,"id":"10116513907628531_712120661484239"},{"created_time":"2025-04-27T19:34:33+0000","from":{"name":"Santosh Janardhan","id":"553742182"},"message":"That\u2019s ~6.5 min\/mile pace !  Road run or Track ? Thats fast.","can_remove":false,"like_count":429,"user_likes":false,"id":"10116513907628531_646779091593844"},{"created_time":"2025-04-27T19:44:08+0000","from":{"name":"Ted Walford","id":"1845635150"},"message":"Okay, Mark wins the prize for the wildest shoes!","can_remove":false,"like_count":464,"user_likes":false,"id":"10116513907628531_619033701134357"},{"created_time":"2025-04-27T19:03:46+0000","from":{"name":"Charity Onyinyechi Nzeakor","id":"719418439"},"message":"Congratulations but pity us on this monetization school \ud83d\ude02\ud83d\ude02\ud83d\ude02","can_remove":false,"like_count":116,"user_likes":false,"id":"10116513907628531_1322524448826110"},{"created_time":"2025-04-27T19:02:57+0000","from":{"name":"Jon Nel","id":"100000049973249"},"message":"Arbor medal Mark. pa lalamove mo na lang.","can_remove":false,"like_count":154,"user_likes":false,"id":"10116513907628531_2199592730500633"},{"created_time":"2025-04-27T19:02:29+0000","from":{"name":"Faquiry Diaz","id":"624454"},"message":"Dude those kicks are \ud83d\udd25More Joe Green than you :)","can_remove":false,"like_count":143,"message_tags":[{"id":"42","length":9,"name":"Joe Green","offset":27,"type":"user"}],"user_likes":false,"id":"10116513907628531_9636057976481889"},{"created_time":"2025-04-28T13:46:44+0000","from":{"name":"Chris Corbo","id":"100005569779158"},"message":"The man in red looks a little like Bill Walton the basketball player ! \ud83c\udfc0","can_remove":false,"like_count":95,"user_likes":false,"id":"10116513907628531_24218499897751052"},{"created_time":"2025-04-27T19:03:00+0000","from":{"name":"RehMat Laal Adv","id":"100027052117252"},"message":"Getting ready to run from who? \ud83d\ude11","can_remove":false,"like_count":58,"user_likes":false,"id":"10116513907628531_659619910268254"},{"created_time":"2025-04-27T19:02:28+0000","from":{"name":"Celal C\u00fcneyt \u0130\u015fg\u00f6r","id":"623503429"}}]},"_note":"Response truncated for documentation purposes"}
Post Information — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/7438/facebook+post+analytics+api/11861/post+information&post_id=Required' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Facebook Post Analytics API simply include your bearer token in the Authorization header.

Headers
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.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

The Facebook Post Analytics API offers a robust and efficient solution for accessing detailed information about specific posts on Facebook. By simply providing a post ID, this API returns a complete set of data related to that post, facilitating its integration into applications, websites, or analytics systems.

Among the data provided by the API are details about the author of the post, such as their name and unique identifier, allowing the post to be recognized and associated with its original creator. Additionally, the API returns the exact date and time the post was created, which is crucial for applications that require precise temporal information for analysis or visualization.

Facebook Post Analytics API FAQs

The API returns detailed information about a specific Facebook post, including the author's name and ID, post creation date and time, number of likes, comments, images, and links associated with the post.

Key fields in the response include `author_name`, `author_id`, `post_date`, `likes_count`, `comments_count`, `images`, and `links`. These fields provide essential insights into the post's engagement and content.

The response data is structured in a JSON format, with each key representing a specific attribute of the post. For example, the `author` object contains `author_name` and `author_id`, while engagement metrics are grouped under `likes_count` and `comments_count`.

The endpoint provides information about the post's author, creation date, engagement metrics (likes and comments), and media content (images and links). This comprehensive data supports various analytical needs.

Users can customize their requests by specifying the post ID in the API call. This allows for targeted retrieval of data for specific posts, enabling focused analysis and integration into applications.

Typical use cases include social media analytics, content performance tracking, engagement analysis, and integration into marketing dashboards. The data helps businesses understand audience interaction with their posts.

Data accuracy is maintained through direct access to Facebook's platform, ensuring that the information retrieved reflects the most current and reliable data available for each post.

If the API returns partial or empty results, users should check the post ID for accuracy and ensure the post is publicly accessible. Implementing error handling in the application can also help manage such scenarios effectively.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key 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.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

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. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund