PHP code to avoid rate limits on API calls
- or -
Post a project like this- Posted:
- Proposals: 29
- Remote
- #4179190
- Awarded
Description
However, we are hitting rate limits i.e. 429 errors because we are calling this API too frequently.
We need a solution to use different IP's to make the API calls so that we don't hit the rate limits.
Right now, we are looking at Storm Proxies for this (but are open to other suggestions).
I need someone to generate the code (in PHP) to make the calls using the proxy.
We have some code but it doesn't appear to be working.
This is a fairly quick thing for someone who has the knowledge.
We have implemented some code on the curl to apply the proxy i.e.
curl_setopt($ch, CURLOPT_PROXY, $proxy);
but its not working.
Zunaid K.
100% (4)New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hi Zunaid,
Please let me know if still available? I can think here that you can adjust your API call as per their limit. I mean to say if they have any specific limit of calling in hour so that You can send that much request and Even other options are available as well. Please confirm me about this job so that I will discuss with you further. -
Hi Zunaid
What is the API?
Based on your functionality, do you need to call API daily or you can setup a scheduler to only call API once or twice per day, details please? For accurate quote
-
If your API calls are authenticated, sending API calls through a proxy won't make ANY difference if there is rate limiting in place.
The rate limit is there for a reason and, even if you could bypass it, it would be against the API's terms of service.