How many requests can be made to Google Maps API without being banned?

前端 未结 3 1105
耶瑟儿~
耶瑟儿~ 2021-01-06 02:57

I\'m using an autosuggestion for addresses through Google Maps API that I want to be as fast as possible.

Currently, I have added a 10ms delay to my script in order

3条回答
  •  再見小時候
    2021-01-06 03:39

    This information has probably changed since @Asaf answered the question on 29 August 2010, certainly for regular users (non-Premier), as there were updates effective 1 October 2011 for usage of Google Maps API. These are the new limits for non-Premier users:

    From October 1st 2011, commercial web sites and apps using the Maps API at no cost may generate:

    • max of 2,500 calls/day, if modified using Styled Maps feature
    • max of 25,000 calls/day in total

    There are currently no limits on the number of web based JavaScript or Flash maps a site can generate. The Google Maps API Web Services and Google Static Maps API do have daily limits that are specified in their documentation. Also

    Non-profits and applications deemed in the public interest (as determined by Google at its discretion) are not subject to these transaction limits.

    Criteria for applications deemed in the public interest follow.

    Also, Google says that your app won't just stop working if you exceed usage limits, but you WILL be contacted by a "Maps API Premier sales manager" if your site qualifies for and consistently exceeds the free usage allowances.

    Final suggestion: The GeoCoding Strategies section for regular users, which mentions how often you can submit requests before getting flagged and uses of caching, server side requests etc. hasn't been updated since June 2010. It might be worth glancing at that link. @Asaf didn't include it specifically in his (very fine answer), although I found it on a page that he did provide the URL for.

提交回复
热议问题