Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Increase ratelimits

35 views
Skip to first unread message

Jeremy Press

unread,
Oct 3, 2024, 8:42:29 PM10/3/24
to 511sfbaydevel...@googlegroups.com
Hi 511 developer team,
I'm building an application to help locals see bus arrival times for the lines they use most. I'm currently calling the StopMonitoring endpoint once per minute (60 times an hour, the current limit) but I'd like to increase that to every 10 seconds or so, which would be 360 an hour instead of 60. 

Additionally, a rate limit this strict makes testing hard, if I run my server both in production and development at the same time, I'll hit the limits

I assume this is the most efficient way to get predictions, as including a stop id would mean I would be making a call every minute for each stop I care about, and I care about the stops closest to each user. 

Let me know if you have any other questions, and thank you for providing this api!

Jeremy

Mengjie Han

unread,
Oct 11, 2024, 6:08:24 PM10/11/24
to 511SFBayDeveloperResources
Hi Jeremy, 

The default limit is 60 requests per 3600 seconds per API key. Rate limit can be increased based on the need of the use case. To request an increased rate limit, please contact trans...@511.org with the following information:

  • your API key
  • the rate limit you need
  • a description of the use case
  • data endpoints you intend to use
  • a brief justification for the requested rate limit

Thanks!

Reply all
Reply to author
Forward
0 new messages