Search code examples
facebookfacebook-graph-apifacebook-php-sdkfacebook-ads-api

Facebook Marketing API Rate Limit


I know that fb have made available some documentation about the requests limits to the api https://developers.facebook.com/docs/marketing-api/api-rate-limiting, but it is not clear how each api call is calculated...

i.e, If I want to get stats for ~10,000 adsets, how can I evenly space the time between the calls ?


Solution

  • The best answer i could find for this question from another SO thread -

    "After some testing and discussion with the Facebook platform team, there is no official limit I'm aware of or can find in the documentation. However, I've found 600 calls per 600 seconds, per token & per IP to be about where they stop you. I've also seen some application based rate limiting but don't have any numbers.

    As a general rule, one call per second should not get rate limited. On the surface this seems very restrictive but remember you can batch certain calls and use the subscription API to get changes."

    Source - What's the Facebook's Graph API call limit?

    Official Doc-: https://developers.facebook.com/docs/graph-api/advanced/rate-limiting