Is there a rate limit on Codeforces API?

Revision en1, by generalpy, 2022-10-31 13:05:50

I am creating a project with my friend using codeforces API.

Github code available here : https://github.com/maxrage2529/cp-only.

This webapp aims to compare your progress with other users. Our own API makes calls to codeforces API in backend to get user details(questions solved). Problem occurs when 2 requests are sent simultaneously. Since python is used in this project, 2 requests at same time also means multiple requests to codeforces to codeforces API at almost same time. When 2 requests contain query such as : https://cp-only.herokuapp.com/getProblemLinks?userlist=maxrage,dev_manus,nitin4184,abisheka,hugewarriors,chandanagrawal23&need=3&low=1400&high=1600 my application crashes(it is handled with error handled now) due to 503 from codeforces side.

Is there a rate limit on codeforces API? I will use different server side caching strategies in future but currently to create a naive application I m using no caching.

Tags api, codeforces api

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English generalpy 2022-10-31 13:05:50 1033 Initial revision (published)